When access to an axis array is complete, it should be
unmapped in the usual way (see §). There are a
number
of methods by which this can be done.
Most simply, the cleaning-up action of NDF_END (§
) may be
relied upon to annul an NDF identifier and to unmap any mapped arrays
associated with it as part of this process (§
).
This will correctly deal with any axis arrays which may be mapped.
Alternatively, the routine NDF_UNMAP may be used by specifying a component name of `Axis', as follows:
CALL NDF_UNMAP( INDF, 'Axis', STATUS )
This will unmap all axis arrays which are mapped. (A ``wild-card'' component name of `*' will also affect axis arrays in the same way.)
If axis arrays are to be unmapped individually, then the routine NDF_AUNMP should be used. Thus,
CALL NDF_AUNMP( INDF, 'Width', IAXIS, STATUS )
might be used to unmap a particular axis width array. As usual, a list of axis component names may be supplied to NDF_AUNMP and a ``wild-card'' axis component name of `*' can also be used. In addition, an IAXIS value of zero may be specified to indicate that the unmapping operation is to be applied to all the NDF's axes. Thus,
CALL NDF_AUNMP( INDF, '*', 1, STATUS )
would unmap all the axis arrays for axis 1 of an NDF, while:
CALL NDF_AUNMP( INDF, 'Centre', 0, STATUS )
would unmap the centre array for all of the axes.