Next: NDF_SBB - Set a bad-bits mask value for the quality component of an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SAME - Enquire if two NDFs are part of the same base NDF
NDF_SBAD
- Set the bad-pixel flag for an NDF array component
- Description:
The routine sets the value of the bad-pixel flag for an NDF array
component. A call to this routine with BAD set to .TRUE. declares
that the specified component may contain bad pixel values for
which checks must be made by algorithms which subsequently
process its values. A call with BAD set to .FALSE. declares that
there are definitely no bad values present and that subsequent
checks for such values may be omitted.
- Invocation:
CALL NDF_SBAD( BAD, INDF, COMP, STATUS )
- Arguments:
-
BAD = LOGICAL (Given)
-
Bad-pixel flag value to be set.
-
INDF = INTEGER (Given)
-
NDF identifier.
-
COMP = CHARACTER * ( * ) (Given)
-
Name of the NDF array component; 'DATA' or 'VARIANCE'.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Notes:
-
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).
Next: NDF_SBB - Set a bad-bits mask value for the quality component of an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SAME - Enquire if two NDFs are part of the same base NDF
Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk
Copyright © 2000 Council for the Central Laboratory of the Research Councils