IDL2HDS

Convert an IDL variable to a Starlink HDS file.

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

Related Applications

CONVERT: HDS2IDL.