-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 new netcdf4 1.6.0 compression arguments #6929
Comments
I think you just need to add xarray/xarray/backends/netCDF4_.py Lines 236 to 245 in 63d7eb9
We'll want a test too in |
Thank you @dcherian. I opened a pull request, please take a look. I added "compression" to the list, but it will be removed if a version of netCDF4 below 1.6.0 is detected. It may be a good idea also to check for the latest versions of netcdf-c. |
Is your feature request related to a problem?
When using the netcdf4 engine, I am not able to use the new "compression" argument to choose a compression scheme different from zlib in the encoding.
Furthermore, according to the release notes of 1.6.0, zlib argument is to be deprecated:
I am using the last versions
Describe the solution you'd like
Update the netcdf4 backend to support these arguments. Should not be too difficult.
Describe alternatives you've considered
No response
Additional context
I can try to do this myself, it does not look hard.
The text was updated successfully, but these errors were encountered: