Changeset 597 for BAORadio/AmasNancay/trunk
- Timestamp:
- Nov 10, 2011, 10:03:19 AM (13 years ago)
- Location:
- BAORadio/AmasNancay/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/etude_gain.pic
r595 r597 1 1 set user "AST" 2 2 set toppath "/sps/baoradio/AmasNancay/${user}" 3 set source "Abell 85"4 set srclower "abell 85"5 set date "20110 812"3 set source "Abell1205" 4 set srclower "abell1205" 5 set date "20110924" 6 6 set saveplot "1" 7 7 … … 22 22 if ( $saveplot == "1" ) then 23 23 echo "saving plot" 24 w2eps ${toppath}/${source}/eps/gain/gain_${date}_${srclower}.eps24 # w2eps ${toppath}/${source}/eps/gain/gain_${date}_${srclower}.eps 25 25 endif 26 26 … … 42 42 settitle "Gain monitor $source ${date} Ch 0 (blue) Ch 1 (red)" 43 43 if ( $saveplot == "1" ) then 44 #w2eps ${toppath}/${source}/eps/gain/gain_monitor_${date}_${srclower}.eps44 w2eps ${toppath}/${source}/eps/gain/gain_monitor_${date}_${srclower}.eps 45 45 endif 46 46 -
BAORadio/AmasNancay/trunk/proc_specmfib.sh
r595 r597 407 407 $ECHO "DEBUG (${scriptName}): END cat ${OUT}" 408 408 # 409 $ECHO "DEBUG (${scriptName}): START filling cy lceArrayBis timeArray"409 $ECHO "DEBUG (${scriptName}): START filling cycleArrayBis timeArray" 410 410 # 411 411 declare -a cycleArrayBis … … 567 567 568 568 #save results to Irods (use option -f ONLY to force override) 569 iput -v -K -r -f ${curDir}/${dirName} /baoradio/data/AmasNancay/${localpath} 569 emptydir=`$FIND ${curDir}/${dirName} -maxdepth 1 -type f | $WC -l` 570 if [ "<${emptydir}>" != "<>" ]; then 571 iput -v -K -r -f ${curDir}/${dirName} /baoradio/data/AmasNancay/${localpath} 572 else 573 $ECHO "DEBUG (${scriptName}): directory ${curDir}/${dirName} is empty" 574 fi 570 575 # 571 576 #clean the signal files which can at the end of the day fill completly the scratch directory of the batch work/AmasNancayer -
BAORadio/AmasNancay/trunk/submit2ge-procspecmfib.sh
r595 r597 99 99 fi 100 100 101 #assume 20 files/cycles cf. 30sec/cycle et 3sec par signal et fact 2 margin 101 #assume 2*10 files/cycles cf. 30sec/cycle et 3sec par signal et fact 2 margin 102 # Test: assume for Abell1205, aout2011, 2*20 files 103 guessFiles=40 102 104 if [ "<${firstCycle}>" != "<>" -a "<${lastCycle}>" != "<>" ]; then 103 105 jobBatchName="procspecmfib-${sourceRadio}${dateJob}${type}-${fcycle}-${lcycle}" 104 106 nFiles=`expr ${lcycle} - ${fcycle} + 1` 105 nFiles=`expr ${nFiles} \* 20`107 nFiles=`expr ${nFiles} \* ${guessFiles}` 106 108 else 107 109 jobBatchName="procspecmfib-${sourceRadio}${dateJob}${type}-All" 108 110 #assume 30 cycles maxi! 109 nFiles=`expr 20\* 30`111 nFiles=`expr ${guessFiles} \* 30` 110 112 111 113 fi … … 116 118 tspwin="5120" 117 119 #calcul du scratch sachant que l'on nettoie apres chaque cycle 118 nSpectra=`expr 20\* 25600 / ${tspwin}`119 scratchSize=`expr 20\* 500 + ${nSpectra} \* 200 / 1000 + 5`120 nSpectra=`expr ${guessFiles} \* 25600 / ${tspwin}` 121 scratchSize=`expr ${guessFiles} \* 500 + ${nSpectra} \* 200 / 1000 + 5` 120 122 121 123 #le cpu total tient compte de l'emsemble des ficheirs a traiter
Note: See TracChangeset
for help on using the changeset viewer.