-
Notifications
You must be signed in to change notification settings - Fork 39
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
Idea for extract_levels check #262
Conversation
) | ||
for coordinate in table_entry.coordinates.values(): | ||
if coordinate.axis == 'Z': | ||
break |
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.
careful here with generic coordinates like olevel
or alevel
-> are they mapped to eg coord name plev
at this stage? Can't remember @jvegasbsc
@bouweandela do you have any intentions to further work on this for v2.5? |
I just had another look at this PR and it seems that it's not necessary anymore. We already have a check for the existence of a ESMValCore/esmvalcore/preprocessor/_regrid.py Lines 972 to 1025 in 7d43072
Please re-open if necessary. |
The advantage of this check was that it does not need to open the file containing the data when parsing the recipe, it checks if the level is in the CMOR table instead. So I think this would still be useful (especially considering #430). |
Makes sense. As I said, please re-open if necessary. Do you think this is something for v2.5? |
This adds an extra check on extract_levels settings
Before you start, please read CONTRIBUTING.md.
Tasks
yamllint
to check that your YAML files do not contain mistakesIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes {Link to corresponding issue}