H5D.read
Import data from dataset.
Parameters:
dataset_id | Location or dataset identifier | |
mem_type_id | Target datatype (use H5ML_DEFAULT for automatic conversion) | |
mem_space_id | Imported data dataspace identifier or H5S_ALL | |
file_space_id | Original data dataspace identifier or H5S_ALL | |
xfer_plist_id | Transfer property list identifier or H5P_DEFAULT |
Description:
Only data with atomic HDF5 data types are handled. Unless mem_type_id is specified or different from ’H5ML_DEFAULT’, automatic conversion to Octave representation is as follows:
Corresponding integer type, e.g. H5T_STD_I8BE in file is converted to H5T_NATIVE_INT8 in memory and returned as a int8
class array.
Corresponding floating point type, e.g. H5T_IEEE_F32LE in file is converted to H5T_NATIVE_FLOAT in memory and returned as a single
class array.
Returned as a char array.
Returned as a int64
class array containing the reference identifier(s).
See H5T.dereference
for how to retrieve the actual object identifier.
Returned as a struct with fields corresponding to field names in the compound data type.
Only H5T_STRING base types are handled. Returned as a char array.
See original function at https://portal.hdfgroup.org/display/HDF5/H5D_READ.
See also: H5D.open, H5A.read, H5T.dereference
Source Code: H5D.read