Ignore:
Timestamp:
Oct 14, 2011, 2:49:14 PM (13 years ago)
Author:
campagne
Message:

u_irods_baoradio pour BQS (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/scaextractor.sh

    r575 r576  
    2323#which source to analyse
    2424sourceRadio=$1
     25
     26#force recomputation force=Yes
     27force=$2
    2528
    2629#Path to public backupable path
     
    6669    $ECHO "FATAL (${scriptName}): ${OUT1} has a problem"
    6770    exit 1
    68 #    $ECHO "We should bring the DAQ status more up to date, this take 1 or 2sec..."
    69 #    $RM -f ${tmppublicpath}/statusdaq.finished
    70 #    ${scriptpath}/statusdaq.sh > ${OUT1}
    71 #    while [ ! -f "${tmppublicpath}/statusdaq.finished" ]; do
    72 #       $ECHO "INFO (${scriptName}); waiting for ${tmppublicpath}/statusdaq.finished"
    73 #       date +%T
    74 #       sleep 30
    75 #    done
    76 #    $RM ${tmppublicpath}/statusdaq.finished
    77 #    $ECHO "FATAL (${scriptName}): ${OUT1} is missing or not readable..."
    78 #JEC 29/9/11 avoid finished stuff
    79 #    touch ${tmppublicpath}/scaextractor.finished
    80 #    exit 1
    8171fi
    8272
     
    10494  emptyfile=`$GREP -i "sca.*\.sum\.trans" ${OUT2} | $AWK '{print $4}'`
    10595#  echo "scrutinize directory <$i>: [$nblines] [$scatrans]"
    106   if [ "<${scatrans}>" = "<>" -o "<${emptyfile}>" = "<0>" ]; then
     96  if [ "<${scatrans}>" = "<>" -o "<${emptyfile}>" = "<0>" -o "<${force}>" = "<Yes>" ]; then
    10797      $ECHO "$i may be non prepared for analysis..."
    10898      scafile=`$GREP -i "sca[0-9][0-9]*\.[0-9][0-9]*" ${OUT2} | $AWK '{print $NF}'`
Note: See TracChangeset for help on using the changeset viewer.