KPG1_NUMBx

Counts the number of elements with values or absolute values above or below a limit

Description:

This routine returns the number of points in the input array that have a value or absolute value greater than or less than the input value.

Invocation

CALL KPG1_NUMBx( BAD, VABS, ABOVE, EL, INARR, VALUE, NUMBER, STATUS )

Arguments

BAD = LOGICAL (Given)
If true testing for bad pixels will be made. This should not be set to false unless there definitely no bad values within the input array.
VABS = LOGICAL (Given)
If true the comparison is performed with the absolute value of each array element.
ABOVE = LOGICAL (Given)
If true the criterion tests for array values greater than the limit; if false the criterion tests for array values less than the limit.
EL = INTEGER (Given)
The dimension of the input array.
INARR( EL ) = ? (Given)
The input data array
VALUE = ? (Given)
Value to test each array value against.
NUMBER = INTEGER (Returned)
The number of elements of the input array greater than the specified value when VABS = FALSE, or the number of elements of the input array whose absolute values are greater than the specified value when VABS = TRUE.
STATUS = INTEGER (Given)
Global status value.

Notes: