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

Home » Public Forums » archive » H5D_Read on compound type (GDL)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
H5D_Read on compound type (GDL) [message #88430] Thu, 24 April 2014 06:58 Go to previous message
rjp23 is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: solve cubic polynomial for dummies?
Next Topic: Incrementing an element multiple times without a loop?

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

Current Time: Wed Oct 08 13:36:05 PDT 2025

Total time taken to generate the page: 0.00641 seconds