|
Obsolete IDL Features: Obsolete Routines |
|
This routine is obsolete and should not be used in new IDL code.
The HDF_DFSD_ADDDATA procedure writes data, as well as all other information set via calls to HDF_DFSD_SETINFO and HDF_DFSD_DIMSET, to an HDF file.
The Data array must have the same dimensions as the array in the file. The new SDS is appended to the file, unless the OVERWRITE keyword is set.
HDF_DFSD_ADDDATA, Filename, Data [, /OVERWRITE] [, SET_DIM=value{must set either this or the DIMS keyword to HDF_DFSD_SETINFO}] [, /SET_TYPE]
A scalar string containing the name of the file to be written.
An expression (typically an array) containing the data to write.
Set this keyword to write Data as the first, and only, SDS in the file. All previously-written scientific data sets in the file are removed.
Set this keyword to make the dimension information for the HDF file based upon the dimensions of Data.
| Note You must set the number of dimensions in the HDF file, either by setting the SET_DIM keyword or using the DIMS keyword to HDF_DFSD_SETINFO. |
Set this keyword to make the data type of the current SDS based on the data type of the Data argument.
IDL Online Help (March 06, 2007)