-
Notifications
You must be signed in to change notification settings - Fork 32
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
Extend HDF5 compression options #332
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #332 +/- ##
==========================================
+ Coverage 67.42% 67.50% +0.08%
==========================================
Files 48 48
Lines 7024 7036 +12
Branches 1596 1595 -1
==========================================
+ Hits 4736 4750 +14
+ Misses 1700 1699 -1
+ Partials 588 587 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Tests the compression option `lzf`, which is not an option for the matlab h5create function, by | ||
comparing written data to a reference matrix | ||
""" | ||
compression_option = 'lzf' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see the test to test all possible compression options.
I think this is a great start, but still needs some work before being merged in. |
Closes #236 by expanding the hdf5 compression options to include
lzf
and alsoszip
in addition to the standardgzip
default options (which are integers for the compression level). As such the variable is renamed from compression_level to compression_option.get_h5_literals
is changed to4
to match that of the h5py library.h5create
can not write withlzf
compression a test is created in h5io_test