comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: HDF5 compound data structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: HDF5 compound data structure [message #59250] Thu, 13 March 2008 11:17 Go to next message
David Fanning is currently offline  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 #59275 is a reply to message #59250] Tue, 18 March 2008 00:55 Go to previous messageGo to next message
Giorgio is currently offline  Giorgio
Messages: 31
Registered: March 2008
Member
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?

Best wishes,

Giorgio
Re: HDF5 compound data structure [message #59419 is a reply to message #59275] Tue, 18 March 2008 06:37 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Embedded formatting: !M single-symbol tag misbehaving?
Next Topic: how to draw streamline

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 00:39:01 PDT 2025

Total time taken to generate the page: 0.16331 seconds