KPG1_FIGRx

Sets each element in a n-dimensional array to its grid co-ordinate

Description:

This routine sets each pixel in an n-dimensional array to its grid co-ordinate.

Invocation

CALL KPG1_FIGRx( NDIMS, DIMS, EL, ARRAY, STATUS )

Arguments

NDIM = INTEGER (Given)
Number of array dimensions.
DIMS( NDIM ) = INTEGER (Given)
Array of dimension sizes for each array dimension.
EL = INTEGER (Given)
First dimension of the array of grid co-ordinates. It must be at least the total number of elements, i.e. the product of the DIMS dimensions.
ARRAY( EL, NDIM ) = ? (Returned)
The array containing the grid co-ordinates of each element given by the supplied dimensions. The values are stored such that the first co-ordinate for all pixels is then followed by second co-ordinate for all pixels and so on.
STATUS = INTEGER (Given & Returned)
Global status value

Notes: