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/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
Note: See TracChangeset for help on using the changeset viewer.