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

Ignore keys #382

Merged
merged 9 commits into from
Jun 24, 2024
Merged

Ignore keys #382

merged 9 commits into from
Jun 24, 2024

Conversation

EddyCMWF
Copy link
Contributor

Functionality to ignore keys when reading a grib file, this can reduce incompatibility issues of fields which differ on keys that are not important for the task at hand, e.g. typeOfLevel or datatype (see #285 ).

Also allows for dropping the "CF" encoding for the vertical coordinates

closes #285

@EddyCMWF EddyCMWF linked an issue Jun 21, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2024

Codecov Report

Attention: Patch coverage is 91.89189% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@b06ab31). Learn more about missing BASE report.

Files Patch % Lines
cfgrib/dataset.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #382   +/-   ##
=========================================
  Coverage          ?   40.44%           
=========================================
  Files             ?       26           
  Lines             ?     2141           
  Branches          ?      283           
=========================================
  Hits              ?      866           
  Misses            ?     1275           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iainrussell iainrussell merged commit b098bc5 into master Jun 24, 2024
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option ignore_keys (similar to filter_keys)
3 participants