4 * - Name : _MEDdatasetWrite
5 * - Description : writes a HDF dataset
7 * - id (IN) : dataset ID
8 * - val (IN) : datset values
13 hdf_err HDFdatasetWrite(hdf_idt id, void *val)
18 if ((datatype = H5Dget_type(id)) < 0)
21 if ((ret = H5Dwrite(id,datatype,H5S_ALL,H5S_ALL,
22 H5P_DEFAULT, val)) < 0)