| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, I got a problem with .h5 files and IDL. I am currently trying to read data from my .h5 files into a GUI i created using IDL. May i know what routines i could use for this? My .h5 file is of a matrix of 200x 200x60. |
|
#2
| |||
| |||
| Shawn writes: > I got a problem with .h5 files and IDL. I am currently trying to read > data from my .h5 files into a GUI i created using IDL. May i know what > routines i could use for this? My .h5 file is of a matrix of 200x > 200x60. I think you will have better luck if you describe your problem more explicitly. Otherwise, it looks like a quagmire. :-) http://www.catb.org/~esr/faqs/smart-questions.html 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.") |
|
#3
| |||
| |||
| On Wed, 27 Aug 2008 06:10:46 -0700 (PDT), Shawn <shawnyeo_m@hotmail.com> wrote: >Hi all, > >I got a problem with .h5 files and IDL. I am currently trying to read >data from my .h5 files into a GUI i created using IDL. May i know what >routines i could use for this? My .h5 file is of a matrix of 200x >200x60. Depends on how your .h5 file is structured and whether you know the structure on beforehand. This is the simplest case: file_id = H5F_OPEN(file) ; You know e.g. that the data is in the "groupname" ; group and the dataset is called "dataname" data_id = H5D_OPEN(file_id, '/groupname/dataname') data = H5D_READ(data_id) H5D_CLOSE, data_id H5F_CLOSE, file_id Check IDL's help for examples. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.