Hi,

On Fri, Aug 28, 2015 at 07:14:37AM -0700, Walter Landry wrote:
> "Rowe, Jim" <[email protected]> wrote:
> > I handled it by simply putting it into a n by 1 byte array DataSet.
> > Essentially treating it like a file and letting my app read and
> > parse the bytes back.  You could do the same in an Attribute--I
> > chose a DataSet because I was storing a rather large file and also
> > wanted to apply hdf compression filters (I was actually using .json,
> > but it is exactly the same for xml).
> 
> Thanks, but I think that is not going to work for me.  I would like it
> to show up in an intelligible format when I use standard tools
> (e.g. h5dump, hdfview).

Then you have answered your own question. You need to prepare the data as an
array and write it as any other data. This is the only way to have the data show
up "normally" in the HDF5 tools.

Metadata is stored in HDF5 attributes:
https://www.hdfgroup.org/HDF5/Tutor/crtatt.html#def

Regards,

Pierre

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

Reply via email to