You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most current version of xarray only seems to support the "least_significant_digit" compression. As of version 1.6.0. of netcdf4-python, thee option to specify "significant_digits" is available. This allows specifying the total number of digits rather than the digits after the the decimal point and is therefore independent of magnitude. https://unidata.github.io/netcdf4-python/#Variable.quantization
Describe the solution you'd like
Allow
ncoding={myvar:{'dtype':'float32', 'zlib': True, 'complevel':5, 'significant_digit':7},
'time':{'units': 'days since 1800-01-01'}}
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
we don't usually assign issues, so you're free to just submit a pull request (don't forget to add tests that verify the new encoding actually works, though)
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem?
The most current version of xarray only seems to support the "least_significant_digit" compression. As of version 1.6.0. of netcdf4-python, thee option to specify "significant_digits" is available. This allows specifying the total number of digits rather than the digits after the the decimal point and is therefore independent of magnitude.
https://unidata.github.io/netcdf4-python/#Variable.quantization
Describe the solution you'd like
Allow
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: