70 hid_t file_id = H5Fopen(dataset().c_str(),H5F_ACC_RDONLY,H5P_DEFAULT);
72 throw InternalErr(__FILE__,__LINE__,
"Fail to obtain the HDF5 file ID .");
78 dset_id = H5Dopen2(file_id,var_path.c_str(),H5P_DEFAULT);
80 dset_id = H5Dopen2(file_id,name().c_str(),H5P_DEFAULT);
84 throw InternalErr(__FILE__,__LINE__,
"Fail to obtain the datatype .");
94 if (H5Dclose(dset_id) < 0) {
95 throw InternalErr(__FILE__, __LINE__,
"Unable to close the dset.");