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?
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. 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.jackson@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?
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.
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.jackson@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?
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.
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.jackson@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 for the suggestion, unfortunately, most of the data in the file is,
apparently, "Vdata with column storage order", which h4mapwriter can't
handle
I think, with all of the suggestions that I've gotten, I've got enough now
to figure it all out and should hopefully have my problem worked out by
the weekend, as long as we don't the next foot of snow we're supposed to
get Wednesday...
Bruce
···
On Mon, 25 Feb 2013 09:54:12 -0600, H. Joe Lee wrote:
Hi, Bruce,
You may also want to try "h4mapwriter" tool.
Please take a look at sample XML outputs from the HDF4 files and see the
map writer fits your purpose:
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.
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.jackson@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?