Hello,
I'm working with HDF5.net and C# (VS2012) for a couple of days now and I can't figure out on how to use/enable SZIP compression. Anyone could give me a hint or an example? The one's provided in the downloaded files from HDF5.net don't show it.
Kamil, how are you? There's not much in terms of support for
SZIP compression in HDF5DotNet. For reading SZIP compressed
datasets, all you need is a unmanaged HDF5 library (hdf5.dll) which was
compiled with SZIP enabled. You just call H5Dread and the right things
should happen for you.
For writing SZIP compressed datasets, you'd need to wrap the H5Pset_szip
call http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetSzip
and create and pass an appropriate property list to H5D.create.
Wrapping this call is not particularly difficult (you can probably do it yourself
or get in touch with us to support the development), but has not been a priority.
Hello,
I'm working with HDF5.net and C# (VS2012) for a couple of days now and I can't figure out on how to use/enable SZIP compression. Anyone could give me a hint or an example? The one's provided in the downloaded files from HDF5.net don't show it.