Changeset 15399 for trunk/DataCheck


Ignore:
Timestamp:
04/21/13 01:47:25 (12 years ago)
Author:
Daniela Dorner
Message:
implemented usage of new version of ganymed.C
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/RunGanymed.sh

    r15304 r15399  
    55printprocesslog "INFO starting $0"
    66
    7 source=$1
    8 dsfile=$2
    9 path=$anapath/$source
     7dsfile=$1
     8ra=$2
     9dec=$3
    1010
    1111outpath=`dirname $dsfile | sed -e 's/datasets/ganymed/'`
     
    1616logfile=$output"-ganymed.log"
    1717
     18mars=/home/fact/Mars
    1819cd $mars
     20# use macro from different mars version until versions are sorted out
     21mars2=/home/fact/SW.automatic.processing/Mars.svn.2013.04.12
     22
    1923
    2024# run ganymed
    2125printprocesslog "INFO starting ganymed.C for dataset "$dsfile
     26#echo "INFO starting ganymed.C for dataset "$dsfile
    2227
    23 check1=`root -q -b $path/ganymed.C\("\"$dsfile\""\,"\"$output\""\) | tee $logfile | intgrep`
     28check1=`root -q -b $mars2/fact/analysis/ganymed.C\("\"$dsfile\""\,"\"$output\""\,$ra\,$dec\) | tee $logfile | intgrep`
    2429
    2530case $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)"
    2732        ;;
    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)"
    2934        ;;
    3035esac
Note: See TracChangeset for help on using the changeset viewer.