-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Default to phony_dims="access" in h5netcdf-backend #10058
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
Conversation
… Warn user about behaviour change.
I'm not sure, if conditionally warning about the change is appropriate, as this will annoy users which are not affected by this (conforming netcdf4 files, no unassigned dimension scales). OTOH, if we switch to either of For future versions we might remove this check, but users won't get notified having "phony_dims" in their data. But this might not be a problem, as netcdf-c/netCDF4-python does not warn either. @flamingbear @eni-awowale What's the best approach from your side? |
Hi @kmuehlbauer,
So use |
@eni-awowale Yes, that's the idea. Should this be done for open_dataset, too? To be more or less congruent here? I could highlight this more in the in the docstrings, then. |
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.
Thanks for jumping on this. I think it looks good.
I had to go understand phony_dims, but I agree that having a default value for the user will ease some of the friction. I didn't see much difference is performance on large ICESat-2 data and it sounds like "access" is a good option. |
Thanks @eni-awowale and @flamingbear for your input. I'll leave this open for another couple of days before merging. |
Thanks @flamingbear and @eni-awowale for the review and approval! |
Thanks @kmuehlbauer for working on this! |
whats-new.rst