next up previous 237
Next: NDF_STATE - Determine the state of an NDF component (defined or undefined)
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SQMF - Set a new logical value for an NDF's quality masking flag


NDF_SSARY - Create an array section, using an NDF section as a template

Description:
The routine creates a "similar section" from an array (whose ARY_ system identifier is supplied) using an existing NDF section as a template. An identifier for the array section is returned and this may subsequently be manipulated using the ARY_ system routines (SUN/11). The new array section will bear the same relationship to its base array as the NDF template does to its own base NDF. Allowance is made for any pixel-index shifts which may have been applied, so that the pixel-index system of the new array section matches that of the NDF template.

This routine is intended for use when an array which must match pixel-for-pixel with an NDF is stored in an NDF extension; if an NDF section is obtained, then this routine may be used to obtain a pixel-by-pixel matching section from the array.


Invocation:
CALL NDF_SSARY( IARY1, INDF, IARY2, STATUS )

Arguments:

IARY1 = INTEGER (Given)
The ARY_ system identifier for the array, or array section, from which the new section is to be drawn.
INDF = INTEGER (Given)
NDF_ system identifier for the template NDF section (may also be a base NDF).
IARY2 = INTEGER (Returned)
ARY_ system identifier for the new array section.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_STATE - Determine the state of an NDF component (defined or undefined)
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SQMF - Set a new logical value for an NDF's quality masking flag

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