Changeset 15399 for trunk/DataCheck
- Timestamp:
- 04/21/13 01:47:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/RunGanymed.sh
r15304 r15399 5 5 printprocesslog "INFO starting $0" 6 6 7 source=$18 dsfile=$29 path=$anapath/$source 7 dsfile=$1 8 ra=$2 9 dec=$3 10 10 11 11 outpath=`dirname $dsfile | sed -e 's/datasets/ganymed/'` … … 16 16 logfile=$output"-ganymed.log" 17 17 18 mars=/home/fact/Mars 18 19 cd $mars 20 # use macro from different mars version until versions are sorted out 21 mars2=/home/fact/SW.automatic.processing/Mars.svn.2013.04.12 22 19 23 20 24 # run ganymed 21 25 printprocesslog "INFO starting ganymed.C for dataset "$dsfile 26 #echo "INFO starting ganymed.C for dataset "$dsfile 22 27 23 check1=`root -q -b $ path/ganymed.C\("\"$dsfile\""\,"\"$output\""\) | tee $logfile | intgrep`28 check1=`root -q -b $mars2/fact/analysis/ganymed.C\("\"$dsfile\""\,"\"$output\""\,$ra\,$dec\) | tee $logfile | intgrep` 24 29 25 30 case $check1 in 26 0) printprocesslog "INFO ganymed was successful for dataset "$dsfile" (check1=$check1)"31 0) printprocesslog "INFO ganymed was successful for dataset "$dsfile" ra "$ra" dec "$dec" (check1=$check1)" 27 32 ;; 28 *) printprocesslog "ERROR ganymed.C failed for dataset "$dsfile" (check1=$check1)"33 *) printprocesslog "ERROR ganymed.C failed for dataset "$dsfile" ra "$ra" dec "$dec" (check1=$check1)" 29 34 ;; 30 35 esac
Note:
See TracChangeset
for help on using the changeset viewer.