Writes a Scientific Data Set to an HDF file.
data
Help
Usage
testfile = 'testsdsgen.hdf' data = BINDGEN (11, 7, 5, 3) status = HDFPUTSDS (testfile, data) IF (status EQ FAIL) THEN $ MESSAGE, 'HDFPUTSDS failed for BYTE data.'
data = INDGEN (6, 8, 7) status = HDFPUTSDS (testfile, data, /Append) IF (status EQ FAIL) THEN $ MESSAGE, 'HDFPUTSDS failed for INTEGER'+ ' data.'
Also refer to the following routines in the HDF Reference Manual:
For a complete list of the HDF convenience routines, refer to Chapter 1, Functional Summary of Routines.