Thanks Peter,

That does the trick!

Bernd

On 11-04-13 16:59, Peter Cao wrote:
> Try the following:
> 1) Call H5Tcommitted() to check is the dataype is a named datatype
> 2) Call H5Iget_name() to get a full path to the named dataype.
> 
> On 4/13/2011 7:40 AM, Bernd Rinn wrote:
>> Hi,
>>
>> Consider I have a dataset that uses a committed (named) datatype, what
>> is the most efficient way to find the path of this datatype in an HDF5
>> file? Looking at the the API calls in H5T, the only way I can see is to
>> scan all groups for committed datasets and calling H5Tequal() on each of
>> them to find out whether this one equals the datatype of the dataset.
>> The scanning might be very inefficient if the HDF5 file contains many
>> groups with many members. Is there a more efficient way of doing that?
>> How does h5dump get the information that it prints in the "DATATYPE"
>> line for a dataset?
>>
>> Bernd
>>
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> [email protected]
>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>>
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to