-
Notifications
You must be signed in to change notification settings - Fork 129
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
Various changes (unit tests, scripts from private repositories) #1012
Various changes (unit tests, scripts from private repositories) #1012
Conversation
…on2_diag_scripts_shared_tests
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.
Please see the comments below. Also, I think it is more important to add unit tests for the preprocessor (i.e. fixes and derive functions) than for diagnostic code, so it would be good if you could add that too.
ValueError | ||
Given coordinate differs for the input cubes. | ||
|
||
""" | ||
coord = None | ||
if isinstance(cubes, dict): |
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.
Same comment here
…on2_diag_scripts_shared_tests
I addressed all comments, added units tests for the preprocessor and fix files and removed the fixes for the CMIP6 models (see discussion in #983). |
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.
Code looks good, but I have not tested running this.
This PR contains several changes:
esmvaltool.diag_scripts.shared.io
andesmvaltool.diag_scripts.shared.iris_helpers
recipe_flato13ipcc
with recent CMIP6 models.