general use of scripts ---------------------- The general format of the runline for a script is like: script_name [-specifier [argument]] ..... [-specifier [argument]] Arguments always have to include a specification of the FOT. For this the switch '-f FOTID' is used where the FOTID is the identifying string. Only in case the files are retrieved from the tape in the same call to w_proc will by default the identifying string extracted from the first line of the Tape Directory. Arguments not recognized by w_proc will be passed on to subsequentky invoked scripts. Some general used switches used by all scripts are: -h Display a concise help on the available switches of the script. It will not show the switches of possible subsequently invoked scripts. -vv # Regulates the output verbosity volume. If 0 a minimal output will occur. If 1 it shows the programs that were active and some info on files produced. Larger value will pruduce more debugging info. -t @ Defines the directory where the input disk files are located In case of files first copied from ...... -d @ defines the destination directory where all subsequent result files will be stored. Examples: Copy a FOT onto disk in directory 'FOTDIR' from default tape-unit > setenv FOT_TOP /disk2/fotdir > w_proc -fot Process a FOT from tape completely with standard options and save the output in a logfile ::: w_proc -fot -all -t FOTDIR > logfile To re-process a selected range (obs 3 thru 5) of observations and store results in different destination directory ::: w_proc -f FOT_ID -clean -t FOTDIR -d DESTDIR -n1 3 -n2 5 To process all relevant files for SPV test. So all observations with modes DIR001, DIR004 and DIR005 ::: w_spv -f FOT_ID -t FOTDIR