If your data conforms to the directory naming convention of the instrument, type:
setenv ORAC_DATA_ROOT <root data directory> oracdr_<instrument> YYYYMMDD
You can set up this variable by hand or in your own login script before running the oracdr instrument setup script.
For example, the naming convention for UFTI data is ufti_data/YYYYMMDD/raw/ for the location of raw data and ufti_data/YYYYMMDD/reduced/ for the location of reduced data. You can set ORAC_DATA_ROOT to the directory in which the UT directory is found. So if your raw UFTI data is in /home/user/data/UKIRT/ufti_data/YYYYMMDD/raw/ you should type:
setenv ORAC_DATA_ROOT /home/user/data/UKIRT/ oracdr_ufti oracdr [-options] [RECIPE]
in order to reduce your UFTI data.
If your raw and reduced data are in arbitrary directories, type:
oracdr_instrument <YYYYMMDD> setenv ORAC_DATA_IN <raw data directory> setenv ORAC_DATA_OUT <reduced data directory>
e.g.
oracdr_ufti 19990602 setenv ORAC_DATA_IN /home/user/data/patt99/raw/ setenv ORAC_DATA_OUT /scratch/user oracdr [-options] [RECIPE]
Note that ORAC-DR works exclusively in ORAC_DATA_OUT, irrespective of what your current directory is when you invoke it.
ORAC-DR: Overview and General Introduction