The H5D_WRITE procedure writes data to a dataset.

Example


See the example under H5F_CREATE.

Syntax


H5D_WRITE, Dataset_id, Data [, MEMORY_SPACE_ID=value] [, FILE_SPACE_ID=value]

Arguments


Dataset_id

An integer giving the dataset identifier to which to write the data, as created by H5D_CREATE.

Data

The data containing the selection to be written. The table in H5T_IDL_CREATE shows how IDL data types are converted to HDF5 datatypes. Pointers and object references cannot be written to HDF5 datasets. Data passed in via IDL will automatically be converted into the output data type if possible.

Keywords


MEMORY_SPACE_ID

An integer giving the identifier of the dataspace of the dataset. The default is to use the entire dataset.

FILE_SPACE_ID

An integer giving the identifier of dataset’s dataspace in the file. The default is to use the entire dataset.

Version History


6.2

Introduced

See Also


H5D_CREATE, H5S_CREATE_SIMPLE, H5T_IDL_CREATE