Re: HDF5 compound data structure [message #59250] |
Thu, 13 March 2008 11:17  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Giorgio writes:
> Does anyone knows how to read data saved under a compound data
> structure? I am able to open with H5T_OPEN command and to see its
> components with H5T_GET_NMEMBERS, however I do not know which command
> is able to read them.
The H5_BROWSER is actually quite decent for reading
HDF5 data files. MUCH better than the HDF_BROWSER.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: HDF5 compound data structure [message #59419 is a reply to message #59275] |
Tue, 18 March 2008 06:37  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Giorgio writes:
> Thanks David. I played with the h5_browser and I can not read the h5
> sample data I have. We want to save our experimental data by using the
> table structure available with hdf5 format (which is produced by
> python). However, in IDL we can not read this. I developed a class
> hdf5 following your code ncdf_data__define which performs OK with non-
> structured data, but it can not read tables. Do you know how to read
> this kind of compound data?
No, my experience with HDF5 is extremely limited. I do notice
that in a tutorial for creating tables:
http://hdf.ncsa.uiuc.edu/HDF5/Tutor/h5table.html#01
that a function H5TBread_table is called. Nothing like that
seems to be available in IDL, so perhaps tables are not
supported. A quick look at the IDL documentation doesn't
shed any light.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|