Changeset 17896
- Timestamp:
- 05/26/14 17:12:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/FillAuxData.sh
r17597 r17896 271 271 272 272 # get information from source_pos file 273 #echo $sourceposfile274 273 if [ -e $sourceposfile ] && [ $sourceposnumerrors -eq 0 ] 275 274 then 276 #sourcename=`${factpath}/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop} 2>/dev/null | tail -1 2>&1 | grep -o -E "['][a-zA-Z0-9\ ]+[']" | sed -e "s/'//g"`277 #sourcename=`/home/fact/FACT++.dbg/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop} 2>/dev/null | tail -1 2>&1 | grep -o -E "['][a-zA-Z0-9\+\-\ ]+[']" | sed -e "s/'//g"`278 275 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"` 279 #echo "$factpath/fitsdump ${sourceposfile} -c Time -c Name --filter='[1]<'${tstop} --filter='[1]>'${sourceposfiletstart} 2>/dev/null | tail -1 2>&1 | grep -o -E \"['][a-zA-Z0-9\ \.\+\-]+[']\" | sed -e \"s/'//g\""280 #echo $sourcename281 276 if [ "$sourcename" == "" ] 282 277 then … … 284 279 else 285 280 query="SELECT fSourceKey FROM Source WHERE fSourceName='"$sourcename"'" 286 #echo $query287 281 sourcekey=`sendquery` 288 282 if [ "$sourcename" == "" ] … … 290 284 printprocesslog "WARN couldn't get sourcekey for source "$sourcename" from DB for "$runnumber"_"$filenum 291 285 fi 292 #echo $sourcekey293 286 fi 294 287 fi
Note:
See TracChangeset
for help on using the changeset viewer.