Ignore:
Timestamp:
03/02/14 12:50:49 (11 years ago)
Author:
Daniela Dorner
Message:
give warning about missing files only when rawdata available
File:
1 edited

Legend:

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

    r17585 r17596  
    5959   fi
    6060   
     61   rawdir=$rawdata/$date
     62   # check if raw files are available from that night
     63   if ! [ -d $rawdir ]
     64   then
     65      logtext="INFO"
     66   else
     67      logtext="WARN"
     68   fi
     69
    6170   thresholdfile=$auxdir/$runnumber.RATE_CONTROL_THRESHOLD.fits
    6271   printprocesslog "INFO processing "$thresholdfile
     
    6473   if ! [ -e $thresholdfile ]
    6574   then
    66       printprocesslog "WARN "$thresholdfile" not found."
     75      printprocesslog $logtext" "$thresholdfile" not found."
    6776      continue
    6877   else
     
    7887   if ! [ -e $thresholdfile2 ]
    7988   then
    80       printprocesslog "WARN "$thresholdfile2" not found."
     89      printprocesslog $logtext" "$thresholdfile2" not found."
    8190      continue
    8291   else
Note: See TracChangeset for help on using the changeset viewer.