georust / netcdf

High-level netCDF bindings for Rust
Apache License 2.0
81 stars 28 forks source link

Add the shuffle option to the compression method #102

Closed richli closed 1 year ago

richli commented 1 year ago

The shuffle parameter to nc_def_var_deflate() is now exposed as a new argument to the compression() method of VariableMut.

The tests were updated to add in the new argument as sometimes true or false in order to ensure both cases get tested.

Closes #100

magnusuMET commented 1 year ago

Thanks for the PR @richli!