Next: NDF_GTDLT - Get compression details for a DELTA compressed NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_FORM - Obtain the storage form of an NDF array component
NDF_FTYPE
- Obtain the full type of an NDF array component
- Description:
- The routine returns the full data type of one of the array
components of an NDF as an upper-case character string (e.g.
'_REAL' or 'COMPLEX_BYTE').
- Invocation:
- CALL NDF_FTYPE( INDF, COMP, FTYPE, STATUS )
- Arguments:
-
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER
(
) (Given)
-
Name of the NDF array component whose type is required: 'DATA',
'QUALITY' or 'VARIANCE'.
-
FTYPE = CHARACTER
(
) (Returned)
-
Full data 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 full data type to which the values held in 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__SZFTP may be used for declaring the
length of a character variable to hold the full data type of an
NDF array component. This constant is defined in the include file
NDF_PAR.
Next: NDF_GTDLT - Get compression details for a DELTA compressed NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_FORM - Obtain the storage form of an NDF array component
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