next up previous 237
Next: NDF_XGT0x - Read a scalar value from a component within a named NDF extension
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XDEL - Delete a specified NDF extension


NDF_XIARY - Obtain access to an array stored in an NDF extension

Description:
The routine locates an array stored in an NDF extension and imports it into the ARY_ system, returning an array identifier for it. If necessary, a section of the array will be selected so that it matches pixel-for-pixel with the main data array of the NDF (or NDF section) supplied. The returned array identifier may be used to manipulate the array using the ARY_ routines (see SUN/11).

Invocation:
CALL NDF_XIARY( INDF, XNAME, CMPT, MODE, IARY, STATUS )

Arguments:

INDF = INTEGER (Given)
NDF identifier.
XNAME = CHARACTER $*$ ( $*$ ) (Given)
Name of the extension.
CMPT = CHARACTER $*$ ( $*$ ) (Given)
Name of the array component within the extension.
MODE = CHARACTER $*$ ( $*$ ) (Given)
Mode of access required: 'READ', 'UPDATE' or 'WRITE'.
IARY = INTEGER (Returned)
Array identifier.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_XGT0x - Read a scalar value from a component within a named NDF extension
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_XDEL - Delete a specified NDF extension

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