Hdf5DotNet & SZIP

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.

Regards,
Kamil

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.

Are you familiar w/ the licensing terms for SZIP?

http://www.hdfgroup.org/doc_resource/SZIP/index.html

Best, G.

ยทยทยท

-----Original Message-----
From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Kamil Lezak
Sent: Wednesday, October 23, 2013 5:07 AM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] Hdf5DotNet & SZIP

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.

Regards,
Kamil

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org