next up previous
Next: NDF_ASTYP - Set a new numeric type for an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASSOC - Associate an existing NDF with an ADAM parameter

   
NDF_ASTAT - Determine the state of an NDF axis component (defined or undefined)

Description:
The routine returns a logical value indicating whether a specified NDF axis component has a defined value (or values).

Invocation:
CALL NDF_ASTAT( INDF, COMP, IAXIS, STATE, STATUS )

Arguments:
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER * ( * ) (Given)
Name of the axis component: 'CENTRE', 'LABEL', 'UNITS', 'VARIANCE' or 'WIDTH'.
IAXIS = INTEGER (Given)
Number of the NDF axis for which information is required.
STATE = LOGICAL (Returned)
Whether the specified component is defined.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • A comma-separated list of axis component names may also be given, in which case the routine will return the logical "AND" of the states of the specified components (i.e. a .TRUE. result will be returned only if all the components have defined values).
  • A value of zero may be given for the IAXIS argument, in which case the routine will return the logical "AND" of the results for all the NDF's axes.



next up previous
Next: NDF_ASTYP - Set a new numeric type for an NDF axis array
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ASSOC - Associate an existing NDF with an ADAM 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