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

changing open_cfradial1_datatree engine from 'netcdf4' to 'h5netcdf' #195

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

aladinor
Copy link
Member

Copy link

codecov bot commented Aug 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.99%. Comparing base (482952b) to head (36020cb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #195   +/-   ##
=======================================
  Coverage   91.98%   91.99%           
=======================================
  Files          23       23           
  Lines        4531     4532    +1     
=======================================
+ Hits         4168     4169    +1     
  Misses        363      363           
Flag Coverage Δ
notebooktests 78.17% <100.00%> (+<0.01%) ⬆️
unittests 90.24% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@kmuehlbauer
Copy link
Collaborator

@aladinor I agree, this should be fixed. Could you please add engine as kwarg and use netcdf4 as default engine?

@aladinor
Copy link
Member Author

Sure!

Copy link
Collaborator

@kmuehlbauer kmuehlbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aladinor Thanks, I think this is good to go. Please add a new Development version heading to history.md and list the your issue and your PR over there.

@@ -327,22 +327,26 @@ def open_cfradial1_datatree(filename_or_obj, **kwargs):
Import optional mandatory data and metadata, defaults to ``True``.
site_coords : bool
Attach radar site-coordinates to Dataset, defaults to ``True``.
engine: str
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should work for now. No immediate need for other types, like BackendEntrypoint. 👍

@kmuehlbauer kmuehlbauer merged commit 33d9132 into openradar:main Aug 12, 2024
11 checks passed
@kmuehlbauer
Copy link
Collaborator

Thanks @aladinor for the quick fix.

@mgrover1 Would be great to cut a release, if you find the time. 👍

@mgrover1
Copy link
Collaborator

I can cut a release 👍

rcjackson pushed a commit to rcjackson/xradar that referenced this pull request Aug 23, 2024
…penradar#195)

* changing open_cfradial1_datatree engine from 'netcdf4' to 'h5netcdf'

* passing engine as a kwarg in open_cfradial_datatree function

* running pre-commit

* adding new development version, issue and, and PR to history.md file

* fixing some typos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ValueError when opening cfradial file using fsspec
3 participants