Changeset 19520 for trunk/DataCheck/QuickLook
- Timestamp:
- 05/28/19 11:37:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/QuickLook/Step1.sh
r19474 r19520 134 134 callistofiles=( `find $calpath -type f -name $date*-calibration.log 2>/dev/null | sort` ) 135 135 136 # get number of dataruns from DB137 query="SELECT Count(*) FROM RunInfo WHERE fNight="$date" AND fRunTypeKey =1"136 # get number of runs from DB 137 query="SELECT Count(*) FROM RunInfo WHERE fNight="$date" AND fRunTypeKey in (1, 18)" # data and grb 138 138 numdataruns=`sendquery` 139 139 query="SELECT Count(*) FROM RunInfo WHERE fNight="$date" AND fRunTypeKey=6" … … 254 254 # treat other files (.fits.fz) 255 255 runtype=`$factpath/fitsdump -h $localfile 2>/dev/null | grep RUNTYPE | grep -E -o "['][a-z0-9._-]+[']" | sed -e "s/'//g" -e "s/_/-/g" -e "s/[.]//g"` 256 if [ "$runtype" != "data" ] 256 if [ "$runtype" != "data" ] && [ "$runtype" != "grb" ] 257 257 then 258 258 # skip a non-data run when it has not 1000 evts … … 283 283 callistolog=$calpath"/"$date"_"$runnum"-calibration.log" 284 284 case $runtype in 285 data ) # treat D-runs285 data|grb) # treat D-runs 286 286 if [ "$fileerror" = "yes" ] 287 287 then
Note:
See TracChangeset
for help on using the changeset viewer.