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

deprecate zlib kwarg to createVariable, replace with compression kwarg #1149

Merged
merged 23 commits into from
Apr 3, 2022

Conversation

jswhit
Copy link
Collaborator

@jswhit jswhit commented Jan 20, 2022

Only compression=None (or False) and compression='zlib' currently allowed. This sets the stage for including other compression algorithms (such as 'zstandard') as they become available in netcdf-c (see Unidata/netcdf-c#2173)

@jswhit2
Copy link
Contributor

jswhit2 commented Feb 18, 2022

Added 'quantize_method' kwarg, default is 'BitGroom', 'GranularBitRound' also supported.

@jswhit
Copy link
Collaborator Author

jswhit commented Mar 9, 2022

added new 'quantize_mode' kwarg to specify quantization method (instead of relying at sign of significant_digits, which assumes there will only ever be two methods).

Waiting on Unidata/netcdf-c#2232 to be merged to add a third method BitRound (in addition to BitGroom and GranularBitRound)

@jswhit jswhit merged commit c274b30 into master Apr 3, 2022
@jswhit jswhit deleted the compression branch April 3, 2022 00:12
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.

2 participants