next up previous contents
Next: Installing this software Up: Examples of data reduction Previous: Example 2 - using   Contents

Example 3 - automated data reduction

It is possible to set up a script that will reduce images automatically at the end of the night. A good way to do this would be to write a small shell script, then run that script as a cron job on blackbox.

The filesystem that will be used at the RCT is more or less unknown at this time, but suppose for example that the data is always written into a directory called /data/. Suppose that a user wants to put reduced data in a few directories created under /home/bob/reduced/. If Bob keeps parameter files for the script in /home/bob/rct_params/, the shell script might call rctnight 3 times and look like this:

#!/usr/csh
rctnight /data /home/bob/reduced/biases /home/bob/rct_params/bias.par a
rctnight /data /home/bob/reduced/flats /home/bob/rct_params/flat.par a
rctnight /data /home/bob/reduced /home/bob/rct_params/object.par a
It is work for the future to figure out a good filesystem and file naming convention.

Louis-Gregory Strolger 2012-01-09