next up previous 237
Next: NDF_MAPQL - Map the quality component of an NDF as an array of logical values
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_LOC - Obtain an HDS locator for an NDF


NDF_MAP - Obtain mapped access to an array component of an NDF

Description:
The routine obtains mapped access to an array component of an NDF, returning a pointer to the mapped values and a count of the number of elements mapped.

Invocation:
CALL NDF_MAP( INDF, COMP, TYPE, MMOD, PNTR, EL, STATUS )

Arguments:

INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER $*$ ( $*$ ) (Given)
Name of the NDF array component to be mapped: 'DATA', 'QUALITY' or 'VARIANCE' (or 'ERROR').
TYPE = CHARACTER $*$ ( $*$ ) (Given)
Numeric type to be used for access (e.g. '_REAL').
MMOD = CHARACTER $*$ ( $*$ ) (Given)
Mapping mode for access to the array: 'READ', 'UPDATE' or 'WRITE', with an optional initialisation mode '/BAD' or '/ZERO' appended.
PNTR( $*$ ) = INTEGER (Returned)
Pointer(s) to the mapped values (see the Notes section).
EL = INTEGER (Returned)
Number of elements mapped.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_MAPQL - Map the quality component of an NDF as an array of logical values
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_LOC - Obtain an HDS locator for an NDF

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