-
Notifications
You must be signed in to change notification settings - Fork 28
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
Enable shuffle filter #100
Comments
That sounds like a great idea. Would you like to open a PR implementing this? |
If we're (well, you're) breaking the API anyway, should this be something like It looks like other compression methods are available (like blosc), but not supported in the bindings. My proposed API is not the easiest to implement, but please ignore that. My point is that shuffling seems (?) to be compression-dependent, so a future compression method might not offer shuffling. |
That could be a good way to do it. I would like to revamp the API as |
Yes, I'd be open to submitting a PR for the simple change, but I don't have time right now for something more involved like the API for a |
I am OK with breaking changes, there is quite a lot of unreleased code since v0.7.0 which requires more substantial updates for the library users. A quick and dirty fix by making |
The
nc_def_var_deflate()
function has an argument to enable the HDF5 shuffle filter, which sometimes help improve compression ratios.This function is called by the
compression()
method for aVariableMut
and currently, theshuffle
value is hard-coded tofalse
. Could this setting be exposed? For example:The text was updated successfully, but these errors were encountered: