Changeset 19523
- Timestamp:
- 05/28/19 11:43:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxMagic.sh
r19484 r19523 108 108 printprocesslog "INFO getting information from DB for "$rawfile 109 109 # get information from DB 110 query="SELECT fRunTypeName FROM RunInfo LEFT JOIN RunType USING(fRunTypeKey) WHERE fNight="$runnumber" AND fRunID="$filenum111 runtype=`sendquery`112 110 query="SELECT Mjd(fRunStart)-40587 FROM RunInfo WHERE fNight="$runnumber" AND fRunID="$filenum 113 111 tstart=`sendquery` … … 131 129 # continue 132 130 #fi 133 runtype=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep RUNTYPE | grep -E -o "['][a-z-]+[']" | sed -e "s/'//g"`134 131 mjdrefraw=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'MJDREF' | grep -E -o '[0-9]{5}'` 135 132 tstarti=`$factpath/fitsdump -h $rawfile 2>/dev/null | grep 'TSTARTI' | grep -E -o '[0-9]{5}'` … … 155 152 tstop=`echo " $tstopi + $tstopf " | bc -l` 156 153 fi 157 #echo `date`": processing file number "$runnumber"_"`printf %03d $filenum` " "$runtype154 #echo `date`": processing file number "$runnumber"_"`printf %03d $filenum` 158 155 fi 159 156
Note:
See TracChangeset
for help on using the changeset viewer.