Changeset 18661
- Timestamp:
- 11/02/16 03:27:27 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/CheckRawData.sh
r18093 r18661 244 244 # for very old data, but gives problems for newer data 245 245 #runstart=`$factpath/fitsdump -h $file 2>/dev/null | grep DATE | grep -v 'DATE-' | grep -E -o '20[1-9][0-9][\-][01][0-9][\-][0-3][0-9]T[0-2][0-9]:[0-6][0-9]:[0-6][0-9][.][0-9]{6}'` 246 runstart="0000-00-00 00:00:00" 246 #runstart="0000-00-00 00:00:00" 247 runstart= 247 248 else 248 249 runstart=$runstart2 … … 260 261 # for very old data, but gives problems for newer data 261 262 #runstop=`stat $file 2>/dev/null | grep Modify | grep -E -o '20[1-9][0-9][\-][01][0-9][\-][0-3][0-9][ ][0-2][0-9]:[0-6][0-9]:[0-6][0-9][.][0-9]{9}'` 262 runstop="0000-00-00 00:00:00" 263 #runstop="0000-00-00 00:00:00" 264 runstop= 263 265 else 264 266 runstop=$runstop2 … … 320 322 if [ "$filenotclosed" == "no" ] 321 323 then 322 query=$query", fRunStart='"$runstart"', fRunStop='"$runstop"'" 324 if [ "$runstart" == "" ] 325 then 326 query=$query", fRunStart=NULL" 327 else 328 query=$query", fRunStart='"$runstart"'" 329 fi 330 if [ "$runstop" == "" ] 331 then 332 query=$query", fRunStop=NULL" 333 else 334 query=$query", fRunStop='"$runstop"'" 335 fi 323 336 if [ "$numevents" != "" ] 324 337 then
Note:
See TracChangeset
for help on using the changeset viewer.