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

Home » Public Forums » archive » HDF5 - Group or Dataset?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
HDF5 - Group or Dataset? [message #45773] Wed, 05 October 2005 02:12
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi everybody,

I am again troubled by how IDL deals with HDF5. The problem is that I'd
like to check whether a given name is the name of a dataset within an
HDF5 file or the name of a group. Before IDL 6.1 a statement like

n_members = h5g_get_nmembers(file_id, "/aaa/bbb")

nicely returned 0 if /aaa/bbb was a dataset and the number of the
group's members (> 0) otherwise.

Now, with IDL6.1, I get the error message

% H5G_GET_NMEMBERS: unable to open group: (67108874, "/aaa/bbb") if I
am actually looking at a dataset.

Well, I looked through all those H5* routines in the IDL documentation,
but did not find something like h5g_is_group. I would really like to
solve this using error catching, so I would highly appreciate if
someone has an idea.

Regards,

Peter
[Message index]
 
Read Message
Previous Topic: curvefit question
Next Topic: Re: format integers with place separators

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

Current Time: Wed Oct 08 17:38:02 PDT 2025

Total time taken to generate the page: 0.00409 seconds