Writes a Scientific Data Set to an HDF file.
data An array containing values for the Scientific Data Set. The keyword data may be of any PV-WAVE numeric data type or dimension.
Help If present and nonzero, lists the usage for this routine.
Usage If present and nonzero, lists the usage for this routine. (Same as the Help keyword.)
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.