Reading .h5 files into IDL [message #62568] |
Sun, 14 September 2008 20:07 |
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
|
|
|