docs on how to build hdf5 with compression tool other than szip?

Hi,

sorry if this is a stupid question (i looked on the website and googled but
couldn't find much):

is it possible to use compression tool other than szip for hdf5 files? If so
is there documentation on how this is accomplished?

thanks
matt

Hi Matt,

Hi,

sorry if this is a stupid question (i looked on the website and googled but
couldn't find much):

is it possible to use compression tool other than szip for hdf5 files?

Yes.

If so
is there documentation on how this is accomplished?

I guess I looked at the source code for the szip compressor H5Zszip.c

Ref. manual on H5Zregister() was useful too.

···

On Tue, 2010-07-13 at 16:15 -0700, Matt Funk wrote:

thanks
matt

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

--
Mark C. Miller, Lawrence Livermore National Laboratory
================!!LLNL BUSINESS ONLY!!================
miller86@llnl.gov urgent: miller86@pager.llnl.gov
T:8-6 (925)-423-5901 M/W/Th:7-12,2-7 (530)-753-8511

A Wednesday 14 July 2010 01:15:28 Matt Funk escrigué:

Hi,

sorry if this is a stupid question (i looked on the website and googled but
couldn't find much):

is it possible to use compression tool other than szip for hdf5 files? If
so is there documentation on how this is accomplished?

I don't think this is documented extensively, but you can always have a look
at existing wrappers. Here it is one example for Blosc:

http://blosc.pytables.org/trac/browser/trunk/hdf5/blosc_filter.c

and here for LZO and bzip2:

http://www.pytables.org/trac/browser/trunk/src/H5Zlzo.c
http://www.pytables.org/trac/browser/trunk/src/H5Zbzip2.c

all three are registered by THG, so you can use them as-is and don't be afraid
that their IDs would be overwritten by other filters in the future.

···

--
Francesc Alted