Changeset 17596 for trunk/DataCheck


Ignore:
Timestamp:
03/02/14 12:50:49 (11 years ago)
Author:
Daniela Dorner
Message:
give warning about missing files only when rawdata available
Location:
trunk/DataCheck/Processing
Files:
4 edited

Legend:

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

    r17581 r17596  
    5151   #   continue
    5252   #fi
    53 
     53   
    5454   # check if aux files are available from that night
    5555   if ! [ -d $auxdir ]
     
    6060      printprocesslog "INFO processing files in "$auxdir
    6161   fi
    62    
     62
     63   rawdir=$rawdata/$date
     64   # check if raw files are available from that night
     65   if ! [ -d $rawdir ]
     66   then
     67      logtext="INFO"
     68   else
     69      logtext="WARN"
     70   fi
     71
    6372   biasvoltagefile=$auxdir/$runnumber.BIAS_CONTROL_VOLTAGE.fits
    6473   if ! [ -e $biasvoltagefile ]
    6574   then
    66       printprocesslog "WARN "$biasvoltagefile" not found."
     75      printprocesslog $logtext" "$biasvoltagefile" not found."
    6776      continue
    6877   else
     
    7786   if ! [ -e $biascurrentfile ]
    7887   then
    79       printprocesslog "WARN "$biascurrentfile" not found."
     88      printprocesslog $logtext" "$biascurrentfile" not found."
    8089      continue
    8190   else
     
    91100   if ! [ -e $feedbackcalfile ]
    92101   then
    93       printprocesslog "WARN "$feedbackcalfile" not found."
     102      printprocesslog $logtext" "$feedbackcalfile" not found."
    94103      continue
    95104   else
     
    118127   if ! [ -e $calcurrentsfile ]
    119128   then
    120       printprocesslog "WARN "$calcurrentsfile" not found."
     129      printprocesslog $logtext" "$calcurrentsfile" not found."
    121130      continue
    122131   else
  • 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
  • trunk/DataCheck/Processing/FillEffectiveOn.sh

    r17584 r17596  
    4747   auxdir=$auxdata/$date
    4848   runnumber=`echo $date | sed -e 's/\///g'`
    49    
    50 #   if [ $runnumber -lt 20130301 ]
    51 #   then
    52 #      continue
    53 #   fi
    5449#   echo $auxdir" @ "`date`
    5550
     
    6358   fi
    6459   
     60   rawdir=$rawdata/$date
     61   # check if raw files are available from that night
     62   if ! [ -d $rawdir ]
     63   then
     64      logtext="INFO"
     65   else
     66      logtext="WARN"
     67   fi
     68
    6569   ftmcontrolfile=$auxdir/$runnumber.FTM_CONTROL_TRIGGER_RATES.fits
    6670   if ! [ -e $ftmcontrolfile ]
    6771   then
    68       printprocesslog "WARN "$ftmcontrolfile" not found."
     72      printprocesslog $logtext" "$ftmcontrolfile" not found."
    6973      continue
    7074   else
  • trunk/DataCheck/Processing/FillRatescans.sh

    r17093 r17596  
    4444   fi
    4545   
     46   rawdir=$rawdata/$date
     47   # check if raw files are available from that night
     48   if ! [ -d $rawdir ]
     49   then
     50      logtext="INFO"
     51   else
     52      logtext="WARN"
     53   fi
     54
    4655   ratescanfile=$auxdir/$runnumber.RATE_SCAN_DATA.fits
    4756   printprocesslog "INFO processing "$ratescanfile
     
    4958   if ! [ -e $ratescanfile ]
    5059   then
    51       printprocesslog "WARN "$ratescanfile" not found."
     60      printprocesslog $logtext" "$ratescanfile" not found."
    5261      continue
    5362   else
Note: See TracChangeset for help on using the changeset viewer.