NDF_BAD

Determine if an NDF array component may contain bad pixels

Description:

The routine returns a logical value indicating whether an array component of an NDF may contain bad pixels for which checks must be made when the array’s values are processed. Only if the returned value is .FALSE. can such checks be omitted. If the CHECK argument to this routine is set .TRUE., then it will also perform an explicit check (if necessary) to see whether bad pixels are actually present.

Invocation

CALL NDF_BAD( INDF, COMP, CHECK, BAD, STATUS )

Arguments

INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER ∗ ( ∗ ) (Given)
Name of the NDF array component: ’DATA’, ’QUALITY’ or ’VARIANCE’.
CHECK = LOGICAL (Given)
Whether to perform an explicit check to see whether bad pixels are actually present.
BAD = LOGICAL (Returned)
Whether it is necessary to check for bad pixels when processing the array’s values.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: