A script to establish the files "BaseDir" and "Date", which provide information on how to reach HET-specific data directories. For a more detailed description:
% wheredata --helpIf you are running on mcs (as astronomer), then wheredata is built to accept simple returns and sets the BaseDir and Date contents to accptable default values (i.e. /hetdata/data and the date of your current nightly working directory). However, I often use other machines to reduce HET data. In fact, this was the motivation for building wheredata! A typical example of a run on a machine other than mcs is shown below:
% wheredata Usage: wheredata Y arg1 = run in verbose mode (Y/N): No BaseDir file, enter base path (/hetdata/data):/home/sco/HET_work/acm_nights No Date file, enter date desired (20160816): Enter response: 20180114 20180114 % cat BaseDir /home/sco/HET_work/acm_nights % cat Date 20180114
Sometimes I set an environmental variable for these two quantities when I reduce data. For instance, the first script I will usually run in a reduction sequence is acm_list. This script wants to know the date and base data directory I want to reduce. Here is what I might do:
% color=red>cat BaseDir Date /home/sco/HET_work/acm_nights 20180114 % setenv basedir /home/sco/HET_work/acm_nights % setenv date 20180114 # then it is easy to run acm_list the sam way every time % acm_list $date $basedir
Want to know what acm_list is? It is a routine that makes a summary pass at the contents of your acm (acm = Acquisition camera) directory. You can read about acm_list. A faster (and better!) way to get such a summary list is to use acm_table_markII.