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

Home » Public Forums » archive » Reading .h5 files into IDL
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
Reading .h5 files into IDL [message #62568] Sun, 14 September 2008 20:07
Shawn[1] is currently offline  Shawn[1]
Messages: 5
Registered: August 2008
Junior Member
HI All,

I need some help on reading .h5 files.
I am using a GUI to read in a .h5 file.


My dataset is name a CAPPI
This is the routines which i use:

file_ID = H5F_OPEN (file_path)
dataset_ID = H5D_OPEN(file_ID,CAPPI) ----- line 2
data_space = h5d_get_space(dataset_ID)
result_space = h5s_create_simple([200,200,30])
vol_data = H5D_READ( dataset_ID)
h5s_close, result_space
h5s_close, data_space
h5d_close, dataset_ID
h5f_close, file_ID

But whenever i run the program , i cannot seem to get get pass line
2 , It gives me an error mesage saying :H5D_OPEN: String expression
required in this context: CAPPI.

Can someone tell me what mistake or things have i left out.
Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: LEGENDRE problem
Next Topic: Reading .h5 files into IDL

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

Current Time: Thu Oct 09 07:00:31 PDT 2025

Total time taken to generate the page: 0.40233 seconds