H5D_Read on compound type (GDL) [message #88430] |
Thu, 24 April 2014 06:58  |
rjp23
Messages: 97 Registered: June 2010
|
Member |
|
|
I was hoping someone could help with this.
I'm converting some code from IDL to GDL. In IDL I normally use h5_parse but as that's not supported in GDL I'm trying to use the H5 procedures individually:
file_id = H5F_OPEN(file)
data_id = H5D_OPEN(file_id, '/path/to/variable/')
variable = H5D_READ(data_id)
H5D_CLOSE, data_id
This works fine for almost all the variables I need to read in.
However, it fails on the "time" variable as this is a "H5T_compound" type:
Dataset: 'Time'
H5T_COMPOUND (12 bytes)
10 elements
When trying this I get:
% H5D_READ: Read failed
Is there another way I should be trying to read this in?
Cheers
Rob
|
|
|
|
|
|