- Timestamp:
- 04/04/19 17:44:14 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxMagic.sh
r19201 r19484 118 118 query="SELECT Mjd(fRunStop)-40587-0.00011574 FROM RunInfo WHERE fNight="$runnumber" AND fRunID="$filenum 119 119 tstop2=`sendquery` 120 if [ "$tstart" = "" ] || [ "$tstop" = "" ] || [ "$runtype" = "n/a" ] 121 then 122 printprocesslog "WARN: "$rawfile" not available and one of the following information empty in DB: fRunStart("$tstart"), fRunStop("$tstop"), fRunTypeKey("$runtype") " 123 continue 124 fi 120 125 else 121 126 #checkfitsfile=`fverify $rawfile 2>/dev/null | grep '0 error(s)'` … … 160 165 then 161 166 #echo $magicweatherfile" "$tstart" "$tstop 162 #root -q -b -l fact/processing/magicweather.C\("\"$magicweatherfile\""\,$tstart\,$tstop\) | grep "result"167 printprocesslog "DEBUG root -q -b -l fact/processing/magicweather.C\("\"$magicweatherfile\""\,"$tstart"\,"$tstop"\)" 163 168 mtemps=( `root -q -b -l fact/processing/magicweather.C\("\"$magicweatherfile\""\,$tstart\,$tstop\) | grep "result" | grep -E -o '[-]?[0-9]+[.]?[0-9]*'` ) 169 check1=$? 170 case $check1 in 171 0) printprocesslog "INFO got info from "$magicweatherfile 172 ;; 173 *) printprocesslog "WARN getting info from "$magicweatherfile" failed (check1="$check1")." 174 ;; 175 esac 164 176 #echo ${mtemps[@]} 165 177 if [ "${mtemps[0]}" == "" ]
Note:
See TracChangeset
for help on using the changeset viewer.