Hello,
I compile and package HDF5 for Cray Inc. customers, but am not as familiar with 
using HDF5 as I perhaps should be.  A user noticed that with all versions of 
hdf5 equal to or greater than version 1.8.9 h5dump --ouput doesn't direct 
output in  " DATA {} " to a file. Is this a bug with HDF5; was the 
functionality intentionally changed? Thanks for any help/information.

Sean B.

Heres the output:

~> which h5dump
/opt/cray/hdf5/1.8.9/bin/h5dump
seanb@guana:~/tmp> h5dump -d "IntArray[ 1, 1 ; 1, 1]" --output=test.h5.189 
SDS.h5
HDF5 "SDS.h5" {
DATASET "IntArray" {
   DATATYPE  H5T_STD_I32LE
   DATASPACE  SIMPLE { ( 5, 6 ) / ( 5, 6 ) }
   SUBSET {
      START ( 1, 1 );
      STRIDE ( 1, 1 );
      COUNT ( 1, 1 );
      BLOCK ( 1, 1 );
      DATA {
      (1,1): 2
      }
   }
}
}
~> which h5dump
/opt/cray/hdf5/1.8.8/bin/h5dump
~> h5dump -d "IntArray[ 1, 1 ; 1, 1]" --output=test.h5.188 SDS.h5
HDF5 "SDS.h5" {
DATASET "IntArray" {
   DATATYPE  H5T_STD_I32LE
   DATASPACE  SIMPLE { ( 5, 6 ) / ( 5, 6 ) }
   SUBSET {
      START ( 1, 1 );
      STRIDE ( 1, 1 );
      COUNT ( 1, 1 );
      BLOCK ( 1, 1 );
      DATA {

      }
   }
}
}

~> ls -l test.h5.18*
-rw-r--r-- 1 seanb criemp 14 2013-05-17 13:21 test.h5.188
-rw-r--r-- 1 seanb criemp  0 2013-05-17 13:17 test.h5.189
~> cat test.h5.188
      (1,1): 2

Attachment: SDS.h5
Description: SDS.h5

Attachment: h5_write.c
Description: h5_write.c

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

Reply via email to