Skip to content

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

Merged
jswhit merged 23 commits intomasterfrom
compression
Apr 3, 2022
Merged

deprecate zlib kwarg to createVariable, replace with compression kwarg#1149
jswhit merged 23 commits intomasterfrom
compression

Conversation

@jswhit
Copy link
Copy Markdown
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
Copy Markdown

jswhit2 commented Feb 18, 2022

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

@jswhit
Copy link
Copy Markdown
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