2 Wesley Overview

 2.1 Running Wesley
 2.2 Wesley Options

2.1 Running Wesley

Wesley makes use of your current ORAC-DR environment to configure an instrument and locate files. Therefore before running Wesley, you should first set up ORAC-DR as normal. Then you can use any of ORAC-DR’s options to specify observations for pre-processing. Wesley will write a list of the pre-processed files which can then be used with ORAC-DR’s --files option. The name of this file listing is normally automatically generated, and reported by Wesley at the end of processing each observation, but it can be specified via the recipe parameter WESLEY_FILE_LIST. For example, observation 20 of the current night can be pre-processed and then reduced as follows:

  $ oracdr_scuba2_850 --cwd
  $ wesley --list 20 --recpars="WESLEY_FILE_LIST=preproc.lis" INSERT_JCMT_WVM_DATA
  $ oracdr --files preproc.lis

2.2 Wesley Options

Wesley accepts the same command line options as ORAC-DR (see SUN/230 for more information). However it is always necessary to specify the recipe name.

Some common command line options are as follows:

--log sf

Write text output to the terminal (s) and to a log file (f). Other options are an X-window (x) or an HTML log file (h).

--nodisplay

Do not open graphical display windows.

--recpars file_name

Recipes requiring additional information can be controlled via a recipe parameters file, in INI format with one block per recipe name.

Parameters can also be given directly in place of a file name, for example:
--recpars="JCMT_WVM_FILE=wvm.txt,WESLEY_FILE_LIST=out.lis".