next up previous
Next: NDF_AUNMP - Unmap an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASTYP - Set a new numeric type for an NDF axis array

NDF_ATYPE - Obtain the numeric type of an NDF axis array   

Description:
The routine returns the numeric type of an NDF axis array as an upper-case character string (e.g. '_REAL').

Invocation:
CALL NDF_ATYPE( INDF, COMP, IAXIS, TYPE, STATUS )

Arguments:
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER * ( * ) (Given)
Name of the axis array component whose numeric type is required: 'CENTRE', 'VARIANCE' or 'WIDTH'.
IAXIS = INTEGER (Given)
Number of the NDF axis for which information is required.
TYPE = CHARACTER * ( * ) (Returned)
Numeric type of the axis array.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • A comma-separated list of axis array 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 axis arrays can be converted without unnecessary loss of information.
  • A value of zero may be supplied for the IAXIS argument, in which case the routine will combine the results for all the NDF's axes in the same way as described above.
  • 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 axis array. This constant is defined in the include file NDF_PAR.



next up previous
Next: NDF_AUNMP - Unmap an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASTYP - Set a new numeric type for an NDF axis array


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