KPG1_SGDIM

Determines the number of significant dimensions in an NDF

Description:

This routine finds the number of significant dimensions, i.e. those with greater than one element, in an NDF. If the number found is not equal to a specified number a bad status, SAI_ERROR, is returned. Likewise should there be no significant dimensions. The significant dimensions are recorded and returned.

Invocation

CALL KPG1_SGDIM( NDF, NDIM, DIMV, STATUS )

Arguments

NDF = INTEGER (Given)
The NDF identifier.
NDIM = INTEGER (Given)
The desired number of dimensions.
DIMV( NDIM ) = INTEGER (Returned)
The significant dimensions i.e. the ones that are greater than one.
STATUS = INTEGER (Given and Returned)
The global status.

Prior Requirements