next up previous 237
Next: NDF_TEMP - Obtain a placeholder for a temporary NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_STATE - Determine the state of an NDF component (defined or undefined)


NDF_STYPE - Set a new type for an NDF array component

Description:
The routine sets a new full type for an NDF array component, causing its storage type to be changed. If the component's values are defined, they will be converted from from the old type to the new one. If they are undefined, then no conversion will be necessary. Subsequent enquiries will reflect the new type. Conversion may be performed between any types supported by the NDF_ routines, including from a non-complex type to a complex type (and vice versa).

Invocation:
CALL NDF_STYPE( FTYPE, INDF, COMP, STATUS )

Arguments:

FTYPE = CHARACTER $*$ ( $*$ ) (Given)
The new full type specification for the NDF component (e.g. '_REAL' or 'COMPLEX_INTEGER').
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER $*$ ( $*$ ) (Given)
Name of the array component whose type is to be set: 'DATA' or 'VARIANCE'.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_TEMP - Obtain a placeholder for a temporary NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_STATE - Determine the state of an NDF component (defined or undefined)

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