-
Notifications
You must be signed in to change notification settings - Fork 131
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
Updated derivation test recipe #1790
Conversation
Do you know if there is a reason why the variables are in separate diagnostics sections? I think they could simply be merged. Or maybe just two diagnostic sections, one for CMIP5 and one for CMIP6? |
I think we had some issues back then when two different derived variables needed the same variables as requirement within the same diagnostic, but I'm not 100% sure. I merged all the diagnostics and the recipe still works, so it is much simpler now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! @mattiarighi Could you please test?
I am running this recipe now and will take a look at the output. |
I ran the recipe_preprocessor_derive_test.yml and as far as I can tell the output looks fine. But I noticed 2 things that look like bugs to me. These two bugs are not related to this PR or ESMValGroup/ESMValCore#754, but would probably be best addressed in ESMValGroup/ESMValCore#754 as it contains already several fixes to other derivation scripts. The 2 bugs are:
@schlunma : Maybe you could briefly look into those two bugs? That does not look like a big thing to fix. Other than that, thumbs up for this PR and ESMValGroup/ESMValCore#754! |
Thanks for testing @axel-lauer! I will include the small changes into ESMValGroup/ESMValCore#754. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks all good, just 1 small suggestion to make testing of variable ohc easier.
esmvaltool/recipes/examples/recipe_preprocessor_derive_test.yml
Outdated
Show resolved
Hide resolved
This was reviewed/tested as part of ESMValGroup/ESMValCore#754. |
@axel-lauer I think this can be merged, right? If so, can you please approve? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thumbs up for merging.
Updated the derivation test recipe with new variables and CMIP6 data for testing of ESMValGroup/ESMValCore#754.
Tasks
yamllint
to check that your YAML files do not contain mistakesRelated to ESMValGroup/ESMValCore#754