Before you can run the pipeline you have to tell ORAC-DR for which instrument you wish to reduce data, the observation date, and the directory containing the raw data, and wher you want the processed data to be written. There are two options.
% setenv ORAC_DATA_ROOT <root_data_directory>
% oracdr_<instrument> <date>
where For example, the standard location for raw UFTI data is raw/ufti/YYYYMMDD/, and reduced/ufti/YYYYMMDD/ for the corresponding reduced data. So if your data are stored in /home/users/abc/data/UKIRT/raw/ufti/20001108/ you should enter the following.
% setenv ORAC_DATA_ROOT /home/users/abc/data/UKIRT/
% oracdr_ufti 20001108
to enable the pipeline for UFTI data taken on 2000 November 8.
Data taken from the AAT is handled differently, as there is no unified directory structure for both raw and reduced data directories. For IRIS2, INGRID, ISAAC, NACO, NIRI, or Classic Cam data the best option is specifying where the raw and reduced data directories are, as shown below. Those with ISAAC and NACO data should see ISAAC and NACO preliminary conversion for a necessary preliminary naming conversion step for each instrument. Classic Cam users need to read Classic Cam preliminary conversion concerning renaming raw data files for the respective instruments.
% oracdr_<instrument> <date>
% setenv ORAC_DATA_IN <raw_data_directory>
% setenv ORAC_DATA_OUT <reduced_data_directory>
The directories can either be given as full paths, or as relative paths to the current working directory. Here is an example for IRCAM data using full paths.
% oracdr_ircam 19990328
% setenv ORAC_DATA_IN /export/data/mjc/asteroid/night1
% setenv ORAC_DATA_OUT /home/scratch/mjc/reduced
ORAC-DR operates in $ORAC_DATA_OUT, irrespective of what your current directory is when you invoke it. Your current directory remains unchanged.
It is highly recommended to work in directories on discs local to
the computer running the pipeline. Processing over NFS-served drives
can many times slower and degrades the performance seen by other users.
Running ORAC-DR on a Linux computer over NFS-served drives can also
lead to erroneous results, crashing of the pipeline, or computer lockups.
ORAC-DR -- imaging data reduction