Changeset 572 for BAORadio/AmasNancay/trunk
- Timestamp:
- Oct 11, 2011, 2:35:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/anacalibmaker.sh
r570 r572 36 36 simulationMode=Off 37 37 while [ $# -gt 0 ] 38 do38 do 39 39 case "$1" in 40 40 -src) sourceRadio=$2; shift;; … … 43 43 -bwd) bwBAOCalib=$2; shift;; 44 44 -sim) simulationMode=On;; 45 46 47 48 49 50 51 45 -h) 46 echo >&2 \ 47 "usage: $0 -src souce -date YYYYMMDD [-freq freq in MHz (default ${freqBAOCalib})] [-bwd bandwidth in MHz (default ${bwBAOCalib})]" 48 exit 1;; 49 *) break;; # terminate while loop 50 esac 51 shift 52 52 done 53 53 … … 293 293 cat > ${logFile} <<EOF 294 294 Ok calibration finished 295 EOF 295 EOF 296 #WARNING: the EOF must start at 1st column overwise the rest of the script is part of the file cat... 296 297 else 297 298 ${scriptpath}/Objs/analyse -act calib -inPath ${iojobpath} -source ${sourceRadio} -date ${dateDAQ} -sca ${scaFile} -specdir calibcycle -numcycle ${firstCycle},${lastCycle} -calibopt mean -debuglev 1 -freqBAOCalib ${freqBAOCalib} -bwBAOCalib ${bwBAOCalib} >& ${logFile} 298 299 fi 300 # 299 301 $ECHO "DEBUG (${scriptName}): analysis finished `date`. Look for errors before saving to Irods" 300 302 rcstatus=`$GREP -i "Ok calibration finished" ${logFile} | $WC -l`
Note: See TracChangeset
for help on using the changeset viewer.