Hi Bruce,

The dumper hdp prints out sort of a file structure at the end of the output of dumpvg command. It starts at:

Graphical representation of the file

However, it also shows some internal vgroups and vdatas, so you'll have to look at the names/classes from the output above that, and match up with the indices to figure out which ones internal and can be ignored. You can look at the Reference Manual pages of Vgisinternal and VSisinternal for information about internal vgroups and vdatas.

It is in the work to provide an option for hdp to suppress these internal objects.

Please let us know if you have other questions.

Thanks,
Binh-Minh

Quoting Bruce Bowler <bbow...@bigelow.org>:

Mike,

Thanks.  Looks interesting, but I suppose I forgot to mention (blush), I'm
dealing with HDF4.  Poking around a bit, I see hdfls and friends, but they
don't seem to provide as much detail as h5dump does.  I suppose I could
try and write it as hdf5 and then use h5toh4 and back convert it...

I can probably figure it out, but I was hoping for something like a tree
diagram of what's there etc.  Oh well, I guess I know what I'll be doing
this weekend :-(

Bruce


On Fri, 22 Feb 2013 13:19:14 -0500, Michael Jackson wrote:

h5dump may be what you are looking for. It is part of the standard HDF5
distribution.
___________________________________________________________
Mike Jackson                    Principal Software Engineer BlueQuartz
Software                            Dayton, Ohio
mike.jack...@bluequartz.net
www.bluequartz.net

On Feb 22, 2013, at 10:42 AM, Bruce Bowler wrote:

Hi, I'm a newb at writing HDF files but have a small bit (really small)
of experience reading HDF files in IDL and MATLAB.

I have an HDF file that contains some data.  I need to create a new
file that has different data but has the same "structure" as the extant
file. By "structure", I mean vgroups, vdata, etc.  Ideally I'd be
creating this new file using MATLAB.  It needs to be the same so a bit
of 3rd party software that I don't have the source for can process the
file properly.

Is there a tool that will describe, in a fair bit of detail, the
contents of the extant file such that I can figure out what calls I
need to make to write the new one?

Thanks.
Bruce



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



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





_______________________________________________
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