5 AUTOMATIC REDUCTIONS

The main reduction processes may optionally be performed automatically. Invoking ECHMENU with the TUNE_BATCH=Y parameter will cause the following to be performed automatically by setting the appropriate parameters. During automatic reduction the all the steps in a standard reduction are run in the proper order. The following parameters are used to control the tasks:

The main method of performing automatic reductions is use of the TUNE_AUTOMATE parameter. This parameter specifies the sequence of operations to perform, where the operations are numbered as they would be in an ECHMENU run. Unless the final operation specified is EXIT, then interactive operation is restored after all requested operations have been performed. e.g.:

echmenu TUNE_AUTOMATE="’5,6,7,8,EXIT’"

would do: flat-field, sky, object profile modelling, extract the orders, and finally exit.

Alternatively you can create a script containing the sequence of echomop commands required (e.g. ech_trace, ech_trplt etc.) and then invoke the script from the shell.

On systems where ICL is available, ICL scripts can be used to perform the same operations.

In all cases you should take care to ensure that all the required parameter values are provided if unattended operation is intended.