next up previous
Next: NDF_GTUNE - Obtain the value of an NDF_ system tuning parameter
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 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 up previous
Next: NDF_GTUNE - Obtain the value of an NDF_ system tuning parameter
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_FORM - Obtain the storage form of an NDF array component


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