I created and successfully wrote out a dataset of type H5T_NATIVE_DOUBLE -- if I run h5dump I can verify that the datatype is H5T_IEEE_F64LE, and all of my data is there. If I then try to get the datatype with the following code
... code that created the dataset ... hid_t dtype_id = H5Dget_type( dataset_id ); std::cout << dtype_id << std::endl; std::cout << H5T_IEEE_F64LE << std::endl; the values do not match up. I think I have a conceptual misunderstanding of what H5Dget_type returns. Is there some programatic way I can get the datatype of a dataset, and verify that indeed contains double precision numbers? Thank you for your advice. _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5