CCG_I2WCx

Assigns world co-ordinates to an output array from an input list of indices

Description:

This routine assigns world co-ordinates to an output vector from an input two-dimensional array, corresponding to a a vector for each output element. The world co-ordinates are selected using a list of indices in each world-co-ordinate vector, there being one index per output value. A bad value or a value outside the bounds of the array in the list of indices causes a bad value to be assigned to the output array.

Invocation

CALL CCG_I2WCx( NPIX, NLINES, INDICE, COORDS, RESULT, NBAD, STATUS )

Arguments

NPIX = INTEGER (Given)
The number of pixels in a line of data.
NLINES = INTEGER (Given)
The number of lines of data.
INDICE( NPIX ) = INTEGER (Given)
The indices in the input array that point to the values to be assigned to the output vector.
COORDS( NPIX, NLINES ) = ? (Given)
The world co-ordinates.
RESULT( NPIX ) = ? (Returned)
The vector containing values copied from the input COORDS array.
NBAD = INTEGER (Returned)
The number of bad values in the output array.
STATUS = INTEGER (Given)
The global status.

Notes: