Next: NDF_SECT - Create an NDF section
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SCOPY - Selectively copy NDF components to a new location
NDF_SCTYP
- Obtain the numeric type of a scaled NDF array component
- Description:
- The routine returns the numeric type of a scaled NDF array component
as an upper-case character string (e.g. '_REAL'). The returned type
describes the values stored in the array, before they are unscaled
using the associated scale and zero values. Use NDF_TYPE if you
need the data type of the array after it has been unscaled.
- Invocation:
- CALL NDF_SCTYP( INDF, COMP, TYPE, STATUS )
- Arguments:
-
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER
(
) (Given)
-
Name of the NDF array component whose type is required:
'DATA' or 'VARIANCE'.
-
TYPE = CHARACTER
(
) (Returned)
-
Numeric type of the component.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
- If the array is not stored in SCALED form, then this routine
returns the same type as the ARY_TYPE routine.
- 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 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_SECT - Create an NDF section
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SCOPY - Selectively copy NDF components to a new location
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