# how to get the name for a dtype\_id?

**URL:** <https://forum.hdfgroup.org/t/how-to-get-the-name-for-a-dtype-id/3269>\
**Category:** Hdf-forum archives\
**Created:** [July 22, 2014, 7:46am UTC](https://forum.hdfgroup.org/t/how-to-get-the-name-for-a-dtype-id/3269 "2014-07-22T07:46:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stohr\_Alexander](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@Stohr\_Alexander](https://forum.hdfgroup.org/u/Stohr_Alexander)\
**Post date:** [July 22, 2014, 7:46am UTC](https://forum.hdfgroup.org/t/how-to-get-the-name-for-a-dtype-id/3269/1 "2014-07-22T07:46:34Z")

</div>

Hello,

when walking along a HDF5 file I was doing this:

&nbsp;&nbsp;dtype\_id = H5Dget\_type (dset);

Now I want to get the name string for the retrived dtype\_id.  
But somhow I was not able to fiddle out by means of the documentation sections on H5D.

The best function call I was able to locate until now  
was H5Dopen (...by\_name...) - it is obviousely doing it in the "wrong" direction for me.

Can you please point me out to the function that returns the data type name to me?

Regards, Alex.
