next up previous 121
Next: Looping schemes
Up: Running ORAC-DR
Previous: Selecting a UT date


Choosing the observations

In many cases only a subset of the data in ORAC_DATA_IN are to be processed. ORAC-DR provides a number of ways of specifying observations either as a range of observation numbers or as a list.

The options are:

-from

Specify the number of the first observation to be processed. This option defaults to `1' if this option is omitted but the -to is present.

-to

Specify the number of the last observation to be processed. If the -from option is present but no -to option, then all the data will be processed starting from -from.

-list

Specify a list of observations. This list should be comma-separated. Colons can be used to indicate a range. For example, -list 1,2,3,5:10,15 would process observations 1,2,3,5,6,7,8,9,10 and 15.

-file

Specify a file containing names of files to be processed. This is useful for procesing data taken on different nights.

Here are some examples of selecting observations using ORAC-DR:

% oracdr -from 5
Start at observation 5 and continue incrementing the observation number until no more files are available.
% oracdr -from 5 -to 20
% oracdr -list 5:20
Start at observation 5 and finish at observation 20.

% oracdr -to 20
Start at observation 1 and finish at observation 20.

% oracdr -list 1,2,3,4,5,20:25,30:32
Process observations 1,2,3,4,5,20,21,22,23,24,25,30,31 and 32.

% oracdr -file myfile.dat

Process observations lists in textttmyfile.dat.



next up previous 121
Next: Looping schemes
Up: Running ORAC-DR
Previous: Selecting a UT date

ORAC-DR -- SCUBA Pipeline Data Reduction
Starlink User Note 231
Tim Jenness, Frossie Economou
Joint Astronomy Centre, Hilo, Hawaii
June 2004
E-mail:ussc@star.rl.ac.uk

Copyright © 2004 Particle Physics and Astronomy Research Council