troubles with compressed data

Hi all,
I'm quite a beginner with the hdf format, and I'm having some problems with
compressed datasets: when I try to read them, my program aborts. However, I
suppose that the problem is not in my code, but probably something is
missing in my hdf5 library installation: indeed, the kind of data that gives
troubles to my program, gives an error also when I try to read the .h5 file
with h5dump, that shows me all the contents of the file apart from the
compressed data. For example:

/# h5dump new.h5
HDF5 "new.h5" {
GROUP "/" {
   DATASET "compressed_data" {
      DATATYPE H5T_STD_I32LE
      DATASPACE SIMPLE { ( 2, 3 ) / ( 2, 3 ) }
      DATA {h5dump error: unable to print data

      }
   }
}
}/

On the other hand, if I open the file with HDFView I can see it properly, so
I think the file is ok.
Another detail probably related to this problem: when I run the example
h5_cmpress.c
(http://www.hdfgroup.org/ftp/HDF5/examples/introductory/C/h5_cmprss.c) or
when I try to install the h5check utility I have errors concerning available
filters.

I'm working on a linux platform, but I'm not an expert, so I could have
made some mistakes installing the library, or forgot something... in this
case, I need detailed instructions :slight_smile:

Thanks a lot!

Giovanni Novielli

new.h5 <http://hdf-forum.184993.n3.nabble.com/file/n4025746/new.h5>

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/troubles-with-compressed-data-tp4025746.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Ok, problem solved... I effectively made a wrong installation, I compiled the
source code but zlib was missing.
Now I use the pre-built distribution (that is a better choice, I suppose...)
:slight_smile:

Happy 2013!

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/troubles-with-compressed-data-tp4025746p4025747.html
Sent from the hdf-forum mailing list archive at Nabble.com.