NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
On Tue, 5 Jul 2005, Quincey Koziol wrote: Hold it: A dataset can be a member of more than one group, so the question is somewhat poorly stated. However, the answers are correct: there isn't any way to find any or all ofthe groups the dataset is a member of. Analysing the path is OK, although there may be many different paths to the same dataset. > 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 > -- Robert E. McGrath National Center for Supercomputing Applications University of Illinois, Urbana-Champaign Champaign, Illinois 61820 (217)-333-6549 mcgrath@xxxxxxxxxxxxx
netcdf-hdf
archives: