Changeset 519 for BAORadio/AmasNancay/proc_script.sh
- Timestamp:
- Sep 15, 2011, 2:13:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/proc_script.sh
r518 r519 205 205 #for GAIN the reference cycle takes the middle of the run 206 206 # 207 #nwinmean donne le nombre de fenetre tspwin utilise pour faire calculer la moyenne des medianes de chaque fenetre 208 #This is the nimber of paquets of the time window which change according to processing type 207 209 $ECHO "DEBUG (${scriptName}): START switch on $typeofproc" 208 210 # … … 212 214 ingain="" 213 215 freqfilter="-freqfilter -" 216 nwinmean="1" 214 217 tspwin="5120" 215 218 dirName="Off" … … 226 229 ingain="-gain gain_${dateDAQ}_${srclower}.fits" 227 230 freqfilter="-freqfilter 16" 228 tspwin="25000" 231 nwinmean="5" 232 tspwin="5120" 229 233 dirName="On" 230 234 cyclebasename="datacycle" … … 239 243 ingain="-gain gain_${dateDAQ}_${srclower}.fits" 240 244 freqfilter="-freqfilter 16" 241 tspwin="25000" 245 nwinmean="5" 246 tspwin="5120" 242 247 dirName="Off" 243 248 cyclebasename="datacycle" … … 252 257 ingain="-gain gain_${dateDAQ}_${srclower}.fits" 253 258 freqfilter="-freqfilter 16" 259 nwinmean="1" 254 260 tspwin="1024" 255 261 dirName="On" … … 265 271 ingain="-gain gain_${dateDAQ}_${srclower}.fits" 266 272 freqfilter="-freqfilter 16" 273 nwinmean="1" 267 274 tspwin="1024" 268 275 dirName="Off" … … 351 358 #force single channel 352 359 forceSingle="-singlechan" 353 #nwinmean donne le nombre de fenetre tspwin utilise pour faire calculer la moyenne des medianes de chaque fenetre354 #This is the nimber of paquets of the time window which change according to processing type355 nwinmean="1"356 360 #debug 357 361 prtlevel="1" … … 390 394 # 25sec/signal_file * empirical_conversion_factor (=50) 391 395 cpu=`expr ${nFiles} \* 25 \* 50` 392 #Virtual Memory (MB) 396 #Virtual Memory (MB) Nb: at CCIN2P3 the reasonable max is 1GB 393 397 virtualmem=1000 394 398 #Job and batch names … … 403 407 # 404 408 $CAT > ${jobScriptName} <<EOF 405 #!/bin/sh 409 #!/bin/sh -xvf 406 410 # jobBatchName=$jobBatchName 407 411 # jobScriptName=$jobScriptName … … 456 460 outDir=\${curDir}/${dirName}/${cycle} 457 461 $MKDIR -p \${outDir} 462 463 # 464 # where ami... 465 # 466 $ECHO "We are here \`pwd\` to send the batch" 467 $LS -lrth 468 $FIND . -name "igetStatus.*" | $XARGS -i $CAT {} 469 $LS ./Fiber1 | $WC -l 470 $LS ./Fiber2 | $WC -l 471 $LS -lR \${outDir} 472 458 473 #Note: here act=gain means only that specmfib will use median-like algorithms (not only for gains...) 459 474 $prg -act gain $forceSingle $freqfilter -prt $prtlevel -out \${outDir} -nmean $nwinmean $ingain $tmproc -tspwin ${tspwin},0,0 -in $infiles \${fibfile} 460 475 461 476 $ECHO \${outDir} 462 $LS -lrt \${outDir} /*477 $LS -lrt \${outDir} 463 478 464 479 #save results to Irods (use option -f ONLY to force override)
Note: See TracChangeset
for help on using the changeset viewer.