On 11/07/2013 04:56 PM, Konrad Hinsen wrote:
Richard van Hees writes:

  > "h5ls -v" provides an estimate of the datasets in a file. Is not this
  > what you are looking for?

Babak Behzad writes:

  > "h5dump -p" gives you a per dataset storage_layout information which
  > contains the SIZE and OFFSET of the dataset. I always use it with "-H"
  > command so that it just prints the header of the HDF5 file. For example:

Larry Knox writes:

  > h5dump with the -p option may give you what you want Combining it
  > with -H will rmove the data from the output, or add -d to limit the


Thanks to all of you for these suggestions. Both h5ls -v and h5dump -p
provide the information about the size of the dataset, with h5ls -v
providing more detailed information (allocated size plus real usage).
Unfortunately, both produce tons of other output, requiring serious
postprocessing for extracting just the size information for a large
number of datasets in a large number of files.

Konrad.
Hi Konrad,

It is likely still not what you want, but maybe my suggestions below are of any help:

[omit "-r" in case your files do not have any groups]

  > h5ls -v -r myFile.h5 | egrep 'Dataset|Storage:'

or when you are interested in dataset "myData":

> h5ls -v -r myFile.h5 | egrep 'Dataset|Storage:' | grep -A1 myData | grep -v '\-\-'

Greetings, Richard



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

Reply via email to