Hi,

h5dump has option for those settings as shown below (also in help page).

     -q Q, --sort_by=Q    Sort groups and attributes by index Q
Q - is the sort index type. It can be "creation_order" or "name" (default)

     -z Z, --sort_order=Z Sort groups and attributes by order Z
Z - is the sort order type. It can be "descending" or "ascending" (default)

As you already looked at the code, it currently only support without -n option.

We will file the bug to address the issue!

Thanks for your report!

- HDF5 tool team

On 4/13/2011 3:34 AM, Marc POINOT wrote:

Hi all,

remark report: h5dump doesn't care about creation order when using option -n (print contents).

Function h5trav_print/traverse in lib/trav.c used by h5dump/h5dump.c in dump_fcontents
forces flags H5_INDEX_NAME, H5_ITER_INC instead of taking into account
those set in h5dump.c (which would require fuction interface change).

Maybe it's somewhere in the doc, but the h5dump on-line usage doesn't say about...

-MP-
-----------------------------------------------------------------------
 Marc POINOT [ONERA/DSNA] Tel:+33.1.46.73.42.84  Fax:+33.1.46.73.41.66
 Avertissement/disclaimer http://www.onera.fr/onera-en/emails-terms


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



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

Reply via email to