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 routines 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: