next up previous 237
Next: NDF_CINP - Obtain an NDF character component value via the ADAM parameter system
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CGET - Obtain the value of an NDF character component


NDF_CHUNK - Obtain an NDF section containing a chunk of contiguous pixels

Description:
The routine returns an identifier for an NDF section describing a "chunk" of contiguous pixels selected from an initial NDF. The routine divides the initial NDF logically into a series of such chunks, each of which follows immediately on from the previous chunk, and each of which contains no more than a specified maximum number (MXPIX) of contiguous pixels. The routine's ICHUNK argument allows one of these chunks to be selected; an NDF section for it is then returned.

Invocation:
CALL NDF_CHUNK( INDF1, MXPIX, ICHUNK, INDF2, STATUS )

Arguments:

INDF1 = INTEGER (Given)
Identifier for the initial NDF.
MXPIX = INTEGER (Given)
Maximum number of contiguous pixels required in each chunk.
ICHUNK = INTEGER (Given)
Number of the chunk required (the first chunk is numbered 1).
INDF2 = INTEGER (Returned)
Identifier for an NDF section describing the chunk.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 237
Next: NDF_CINP - Obtain an NDF character component value via the ADAM parameter system
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CGET - Obtain the value of an NDF character component

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