next up previous
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 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 up previous
Next: NDF_UNMAP - Unmap an NDF or a mapped NDF array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_TUNE - Set an NDF_ system tuning parameter


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils