- To: netcdf-hdf@xxxxxxxxxxxxxxxx
- Subject: Re: given dataset id, can I find the group?
- From: Quincey Koziol <koziol@xxxxxxxxxxxxx>
- Date: Tue, 5 Jul 2005 20:34:29 -0500 (CDT)
Hi Ed,
> > Here's a question: if I have a dataset id (of a dimension scale, for
> > example), can I find group id that the dataset is in?
>
> Hmm, no, that's not something we support.
Robb Matzke just mentioned another possible solution to this problem:
you could call the H5Iget_name() routine on the dataset ID and strip off the
last component of the name (the dataset) to get the group name; and then open
that group.
Quincey
- Follow-Ups:
- Re: given dataset id, can I find the group?
- From: Robert E. McGrath
- Re: given dataset id, can I find the group?
- References:
- Re: given dataset id, can I find the group?
- From: Quincey Koziol
- Re: given dataset id, can I find the group?