KPG_LR2Ax

Converts a sparse form of a two-dimensional array into its two-dimensional counterpart

Description:

A list of single-precision x-y positions and values are converted to a complete two-dimensional array. Missing elements take the bad value.

Invocation

CALL KPG_LR2Ax( NX, NY, SX, SY, NBIN, X, Y, Z, ARRAY, STATUS )

Arguments

NX = INTEGER (Given)
The first dimension of the two-dimensional array.
NY = INTEGER (Given)
The second dimension of the two-dimensional array.
SX = REAL (Given)
The co-ordinate scale factor (i.e. the length of a pixel) in the x direction. It is used to determine which pixel a given x-y position lies. Normally, it will have the value 1.
SY = REAL (Given)
The co-ordinate scale factor (i.e. the length of a pixel) in the y direction. It is used to determine which pixel a given x-y position lies. Normally, it will have the value 1.
NBIN = INTEGER (Given)
The number of bins in the pixel list.
X( NBIN ) = REAL (Given)
The x position of the pixel in the list.
Y( NBIN ) = REAL (Given)
The y position of the pixel in the list.
Z( NBIN ) = REAL (Given)
The value of the pixel in the list.
ARRAY( NX, NY ) = ? (Returned)
The expanded two-dimensional array formed from the list.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: