Changeset 17001 for trunk/DataCheck


Ignore:
Timestamp:
08/12/13 15:20:38 (11 years ago)
Author:
Daniela Dorner
Message:
handle case that time cannot be retrieved from file via ftcopy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillAuxData.sh

    r16998 r17001  
    4444   echo "ftcopy $1'[col Time]' - | ftstat - | grep 'mean' | grep -E -o [0-9]+[.] | sed -e 's/[.]//g'" >> $logfile
    4545   timefromfile=`ftcopy $1'[col Time]' - 2>>$logfile | ftstat - 2>>$logfile | grep 'mean' | grep -E -o [0-9]+[.] | sed -e 's/[.]//g'`
     46   echo "here-"$timefromfile"-" >> $logfile
     47   if [ "$timefromfile" == "" ]
     48   then
     49      printprocesslog "WARN couldn't get time from file "$1
     50      echo "WARN couldn't get time from file "$1
     51      continue
     52   fi
    4653   if [ $timefromfile -gt 30000 ]
    4754   then
Note: See TracChangeset for help on using the changeset viewer.