Next: NDF_UNMAP - Unmap an NDF or a mapped NDF array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_TUNE - Set an NDF_ system tuning parameter
NDF_TYPE
- Obtain the numeric type of an NDF array component
- Description:
- The routine returns the numeric type of one of the array
components of an NDF as an upper-case character string (e.g.
'_REAL').
- Invocation:
- CALL NDF_TYPE( INDF, COMP, TYPE, STATUS )
- Arguments:
-
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER
(
) (Given)
-
Name of the NDF array component whose type is required:
'DATA', 'QUALITY' or 'VARIANCE'.
-
TYPE = CHARACTER
(
) (Returned)
-
Numeric type of the component.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- A comma-separated list of component names may also be supplied
to this routine. In this case the result returned will be the
lowest precision numeric type to which all the specified
components can be converted without unnecessary loss of
information.
- The numeric type of a scaled array is determined by the numeric
type of the scale and zero terms, not by the numeric type of the
underlying array elements.
- The value returned for the QUALITY component is always
'_UBYTE'.
- The symbolic constant NDF__SZTYP may be used for declaring the
length of a character variable which is to hold the numeric type
of an NDF array component. This constant is defined in the
include file NDF_PAR.
Next: NDF_UNMAP - Unmap an NDF or a mapped NDF array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_TUNE - Set an NDF_ system tuning parameter
NDF [1ex
Starlink User Note 33
R.F. Warren-Smith & D.S. Berry
16th July 2012
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council