- Timestamp:
- 07/19/19 18:53:55 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxData.sh
r19522 r19563 75 75 if [ "$evaluation" = "" ] 76 76 then 77 if [ $runtypekey -eq 1 ] || [ $runtypekey -eq 18 ] #|| [ $sourcekey -gt 0 ] #doesn't work as sourcekey can be empty 78 then 79 printprocesslog "WARN empty evaluation of statistic ("$@") for run "$date" file "$rawfile 80 else 81 printprocesslog "DEBUG empty evaluation of statistic ("$@") for run "$date" file "$rawfile 82 fi 77 printprocesslog "DEBUG empty evaluation of statistic ("$@") for run "$date" file "$rawfile 78 # if [ $runtypekey -eq 1 ] || [ $runtypekey -eq 18 ] #|| [ $sourcekey -gt 0 ] #doesn't work as sourcekey can be empty 79 # then 80 # printprocesslog "WARN empty evaluation of statistic ("$@") for run "$date" file "$rawfile 81 # else 82 # printprocesslog "DEBUG empty evaluation of statistic ("$@") for run "$date" file "$rawfile 83 # fi 83 84 fi 84 85 min=`echo $evaluation | grep -E -o 'Min:\ [-]?[0-9]+[.]?[0-9]*' | sed -e 's/Min:\ //'` … … 121 122 if [ "$doupdate" = "no" ] 122 123 then 123 query=$query" AND ISNULL(fRightAscension) "124 query=$query" AND (ISNULL(fRightAscension) OR (ISNULL(fSourceKey) AND fRunTypeKey=1)) " 124 125 fi 125 126 printprocesslog "DEBUG get filenumbers from DB: QUERY: "$query … … 162 163 printprocesslog "INFO processing file number "$runnumber"_"`printf %03d $filenum` 163 164 echo `date`": processing file number "$runnumber"_"`printf %03d $filenum` >> $logfile 2>&1 164 #echo `date`": processing file number "$runnumber"_"`printf %03d $filenum` 165 165 if [ "$certaindate" != "" ] 166 then 167 echo `date`": processing file number "$runnumber"_"`printf %03d $filenum` 168 fi 169 166 170 # get information from rawfile 167 171 rawfile=`ls $rawdir/$runnumber"_"\`printf %03d $filenum\`.fits* 2>/dev/null` … … 224 228 if [ -e $sourceposfile ] 225 229 then 226 sourcename=`$factpath/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop}' && [1]>'${sourceposfiletstart} 2>/dev/null | tail -1 2>&1 | grep -o -E "['][a-zA-Z0-9\ \.\+\-]+[']" | sed -e "s/'//g"` 230 sourcename=`$factpath/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop}' && [1]>'${sourceposfiletstart} 2>/dev/null | tail -1 2>&1 | grep -o -E "['][a-zA-Z0-9\#\_\ \.\+\-]+[']" | sed -e "s/'//g"` 231 printprocesslog "DEBUG $factpath/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop}' && [1]>'${sourceposfiletstart} 2>/dev/null | tail -1 2>&1 | grep -o -E \"['][a-zA-Z0-9\#\_\ \.\+\-]+[']\" | sed -e \"s/'//g\" " 227 232 if [ "$sourcename" == "" ] 228 233 then
Note:
See TracChangeset
for help on using the changeset viewer.