CCG_CLIPx

Sets any data outside a given value range BAD

Description:

This generic routine loops over all entries in RA. If any values are outside the range RMIN to VMAX then they are set BAD.

Invocation

CALL CCG_CLIPR( VMIN, VMAX, EL, ARRAY, NGOOD, STATUS )

Arguments

VMIN = ? (Given)
The minimum allowed value. All values below this are set BAD.
VMAX = ? (Given)
The maximum allowed value. All values above this are set BAD.
EL = INTEGER (Given)
The number of entries in ARRAY.
ARRAY( EL ) = ? (Given and Returned)
The list of values to be clipped within the given range. On output this contains the clipped list.
NGOOD = INTEGER (Returned)
The number of values left after rejection.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: