The CCDPACK routine DEBIAS allows regions to be defined as having poor quality by two basic methods, by use of an image whose data component values are set bad (either explicitly or by use of the NDF quality component and the badbits flag — see SUN/33) or by interpreting bad-region commands within an ordinary text file (an ASCII region definition file — ARD file).
Setting regions of an image to bad can be done graphically using the GAIA display tool (SUN/214) which can also create an ARD file to describe these regions. Alternatively KAPPA (SUN/95) also provides applications for this task (see ZAPLIN, SEGMENT ARDGEN and ARDMASK).
The capabilities of the ARD option (which uses considerably less disk space than the “image with bad regions” option and hence could form part of a ‘database’) are described below (for more details see SUN/183).
The shapes of regions which can be defined are specified by the following KEYWORDS:
Regions are specified using the keywords suffixed by the following information:
The angles are measured X through Y positive.
A sample ARD description follows:
But you should use the ARDGEN application to produce these files.