Changeset 576 for BAORadio/AmasNancay/trunk/scaextractor.sh
- Timestamp:
- Oct 14, 2011, 2:49:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/scaextractor.sh
r575 r576 23 23 #which source to analyse 24 24 sourceRadio=$1 25 26 #force recomputation force=Yes 27 force=$2 25 28 26 29 #Path to public backupable path … … 66 69 $ECHO "FATAL (${scriptName}): ${OUT1} has a problem" 67 70 exit 1 68 # $ECHO "We should bring the DAQ status more up to date, this take 1 or 2sec..."69 # $RM -f ${tmppublicpath}/statusdaq.finished70 # ${scriptpath}/statusdaq.sh > ${OUT1}71 # while [ ! -f "${tmppublicpath}/statusdaq.finished" ]; do72 # $ECHO "INFO (${scriptName}); waiting for ${tmppublicpath}/statusdaq.finished"73 # date +%T74 # sleep 3075 # done76 # $RM ${tmppublicpath}/statusdaq.finished77 # $ECHO "FATAL (${scriptName}): ${OUT1} is missing or not readable..."78 #JEC 29/9/11 avoid finished stuff79 # touch ${tmppublicpath}/scaextractor.finished80 # exit 181 71 fi 82 72 … … 104 94 emptyfile=`$GREP -i "sca.*\.sum\.trans" ${OUT2} | $AWK '{print $4}'` 105 95 # echo "scrutinize directory <$i>: [$nblines] [$scatrans]" 106 if [ "<${scatrans}>" = "<>" -o "<${emptyfile}>" = "<0>" ]; then96 if [ "<${scatrans}>" = "<>" -o "<${emptyfile}>" = "<0>" -o "<${force}>" = "<Yes>" ]; then 107 97 $ECHO "$i may be non prepared for analysis..." 108 98 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.