Description:
This IDL procedure will
create a Starlink HDS file corresponding to the IDL variable, which may be a scalar, array or structure.
Usage:
IDL> idl2hds, IDL_struct, filename
Arguments
IDL_struct
The IDL variable to be written.
filename
A string expression specifying name of the HDS file to be written. The HDS structure is not
necessarily identical to the IDL structure (see "
Notes"
).
Notes:
Examples:
IDL> idl2hds, data_struct, ’my_file’
Assuming
data_struct
is an IDL structure, this creates the HDS file ’my_file.sdf
’ with a corresponding
structure. Deficiencies
- It is not possible to obtain an identical structure in all cases
(see
"
Notes"
). - It is not possible to produce HDS components of type _UWORD or _BYTE.
- Complex values are not handled.
- IDL arrays of more than 1 structure are not handled.
- Only a complete HDS file can be written.
Related Applications
Copyright © 2015 Science and Technology Research Council