Set the bad-pixel flag for an NDF array component NDF_SBAD
’
DATA’
or ’
VARIANCE’
. A comma-separated list of component names may also be supplied, in which case the bad-pixel flag will be set to the same value for each component in turn.
If a component is mapped for access when this routine is called, then the bad-pixel flag will be associated with the mapped values. This information will only be transferred to the actual data object when the component is unmapped (but only if it was mapped for UPDATE or WRITE access). The value transferred may be modified if conversion errors occur during the unmapping process.
This routine has no effect on components which are in an undefined state; the bad-pixel flag for such components always remains set to .TRUE. (or .FALSE. in the case of the QUALITY component).