-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support for the grid mapping attribute and variable #449
Conversation
for more information, see https://pre-commit.ci
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.
Thank you for your patience, and contribution, @RondeauG! This looks good to me 👍🏽
@RondeauG, I also noticed this is your first PR here. Welcome to intake-esm! |
@andersy005 Sorry to tag you with this, but I just wanted to know if you have an ETA on this PR? Is there something missing and/or anything that I could do to help you with it? Thanks! |
More general detection of informational variables Co-authored-by: Anderson Banihirwe <[email protected]>
Thank you for this contribution and your patience, @RondeauG! |
The
grid_mapping
attribute is used in CF Conventions to link a variable to its grid properties in the case of non-regular grids. These grids are very common for regional climate models. However, the current behaviour of_open_dataset()
drops the grid_mapping variable (e.g.rotated_pole
), since it is not recognized as arequested_variables
This small modification searches for the
grid_mapping
attribute within therequested_variables
and if found, adds the related variable to the output.