This procedure writes a new dataset to either a new or existing HDF5 file.
Note: Because HDF5 does not at this time provide a mechanism to remove a dataset from a file, it is not possible to put a dataset into a file if the ID to that dataset already exists.
Examples
H5_PUT, 'temp.h5', 'group1/mydata', data
Syntax
H5_PUT, Filename, ID, data
Arguments
Filename
A string denoting the name of the target HDF5 file to which IDL will write the dataset.
ID
The full identifier giving the path to the new dataset within the file. If any groups in the path do not currently exist, IDL will create them along with the new dataset.
Data
Any IDL variable containing the data to be written to the dataset.
Keywords
None
Version History
See Also
H5_FETCH, H5_LIST,