9 Processing specific sub-instruments

By default all sub-instruments are processed by the pipeline. In some cases, e.g. where there is no hope of detecting anything at 450 microns, this is undesirable since this doubles the time required by the pipeline to process each observation. To overcome this the recipe can be edited to select specific sub-instruments as follows:

(1)
Copy the recipe you are interested in to ORAC_RECIPE_DIR (create this directory and set the environment variable if necessary). For example, for scan maps copy SCUBA_EM2SCAN from ORAC_DIR/recipes/SCUBA to ORAC_RECIPE_DIR
(2)
Change the _EXTINCTION_CORRECT_ line to ‘_EXTINCTION_CORRECT_ SUBS=long’ to only process the LONG sub-instrument. The SUBS argument can take a comma-separated list (e.g. P2000,LONG to select 2mm and LONG).

A modified recipe may look something like:

  _PRE_PROCESS_
  _FLAT_FIELD_
  _SET_BAD_PIXELS_
  _DESPIKE_SCAN_
  _EXTINCTION_CORRECT_ SUBS=long
  _REMOVE_SCAN_BASELINE_
  _REMOVE_SKY_NOISE_SCAN_
  _REBIN_FRAME_ PIXEL_SIZE=3.0 REBIN_METHOD=GAUSSIAN
  _REBIN_EM2_GROUP_ PIXEL_SIZE=1.0 REBIN_METHOD=GAUSSIAN