KPG1_DCLIx

Determines a linear transformation from pixel to NDF-axis co-ordinates

Description:

This routine obtains a data co-ordinate system from the NDF axes, and determines whether all the axes are linear. If they are linear transformations between pixel co-ordinates and data co-ordinates are derived. A warning message is reported for each individual non-linear axis.

Invocation

CALL KPG1_DCLIx( NDIM, NDF, DALBND, DAUBND, SCALE, OFFSET, LINEAR, STATUS )

Arguments

NDIM = INTEGER (Given)
The number of contiguous axes. If it is negative, it indicates that not all the dimensions need be significant.
NDF = INTEGER (Given)
The identifier of the NDF whose axes are to provide the data co-ordinates. It must have at least NDIM dimensions, though this is not checked.
DALBND( NDIM ) = ? (Returned)
The lower bounds of the data co-ordinates obtained from the NDF s axes. Note that this gives the data co-ordinate at the lower side of the array element, and not at its centre.
DAUBND( NDIM ) = ? (Returned)
The upper bounds of the data co-ordinates obtained from the NDF s axes. Note that this gives the data co-ordinate at the upper side of the array element, and not at its centre.
SCALE( NDIM ) = ? (Returned)
The scale factors in the linear transformations from world to data co-ordinates. They should be ignored if LINEAR is false.
OFFSET( NDIM ) = ? (Returned)
The offsets in the linear transformations from world to data co-ordinates. They should be ignored if LINEAR is false.
LINEAR = LOGICAL (Returned)
If true the NDF axes are all linear and different from world co-ordinates.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: