Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to data time cycling to support multiple models and multiple case studies or trials #765

Merged
merged 92 commits into from
Oct 24, 2024

Conversation

jfrost-mo
Copy link
Member

@jfrost-mo jfrost-mo commented Jul 30, 2024

Fixes #750

WIP in title is just to stop accidental merge before all three reviews.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change. Documentation for data time cycling #814
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

GitHub Copilot was used in the PR.

@jfrost-mo jfrost-mo added the enhancement New feature or request label Jul 30, 2024
@jfrost-mo jfrost-mo self-assigned this Jul 30, 2024
Copy link
Contributor

github-actions bot commented Jul 30, 2024

Coverage

@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 875fb6b to e89544e Compare August 1, 2024 08:23
@jfrost-mo jfrost-mo linked an issue Aug 1, 2024 that may be closed by this pull request
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 053fe11 to 9567afb Compare August 6, 2024 09:58
@jfrost-mo jfrost-mo changed the title Switch to datetime cycling, support multiple models, etc. Switch to data time cycling, support multiple models, etc. Aug 8, 2024
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 6f8722f to 20a014d Compare August 12, 2024 12:45
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch 3 times, most recently from 2133d21 to d6b08fe Compare August 22, 2024 09:53
@jfrost-mo jfrost-mo changed the base branch from main to 614_robust_plot_index_writing August 22, 2024 14:53
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 8db71ca to 3eafb43 Compare August 22, 2024 14:56
Base automatically changed from 614_robust_plot_index_writing to main August 23, 2024 06:45
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from c48d075 to 2636cf0 Compare August 23, 2024 06:53
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch 4 times, most recently from b1d6ab6 to 62ec811 Compare August 23, 2024 15:47
@jfrost-mo jfrost-mo changed the title Switch to data time cycling, support multiple models, etc. Switch to data time cycling to support multiple models and multiple case studies or trials Aug 23, 2024
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 104765a to 8a1a8fe Compare August 27, 2024 08:14
@jfrost-mo jfrost-mo marked this pull request as ready for review August 27, 2024 15:33
@jfrost-mo
Copy link
Member Author

This work is now ready to be reviewed.

This prevents needing to rely on external hosts for these. I did need to drop
the example commands to fetch the resources via curl, but they were probably
confusing anyway.
They are not implemented yet, and can be re-added when they are.
The operator now requires all arguments to either be numbers, or all be None
if you don't want to constrain the area.

The test has been mildly improved, so at least it checks for both of the
named functions on the coordinates, though it still doesn't test that they
do anything.
It is invalid rose syntax. Also use !! to disable showing the option
in the GUI.
@jfrost-mo jfrost-mo force-pushed the 750_data_time_cycling branch from 28a9e02 to 64da0c0 Compare September 27, 2024 03:38
Copy link
Collaborator

@JorgeBornemann JorgeBornemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice change. No concerns from the portability point of view, the simplification of the workflow and the hardening of the code in the includes setting the default as false will help with portability.
Though not related with portability, note the comment about the changes required for the METPlus side of the workflow to run. But this can be dealt with with in a separate issue.
Will also need an issue in the CSET-WORKFLOW repo to update the niwa optional configuration to pick up the new environment variables and do a bit of clean-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request full_review Requires a technical, scientific, and portability review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cycle over data time
4 participants