Changeset 597 for BAORadio


Ignore:
Timestamp:
Nov 10, 2011, 10:03:19 AM (13 years ago)
Author:
torrento
Message:

Increase expected number of files per cycle

Location:
BAORadio/AmasNancay/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/etude_gain.pic

    r595 r597  
    11set user "AST"
    22set toppath "/sps/baoradio/AmasNancay/${user}"
    3 set source "Abell85"
    4 set srclower "abell85"
    5 set date   "20110812"
     3set source "Abell1205"
     4set srclower "abell1205"
     5set date   "20110924"
    66set saveplot "1"
    77
     
    2222if ( $saveplot == "1" ) then
    2323  echo "saving plot"
    24   w2eps ${toppath}/${source}/eps/gain/gain_${date}_${srclower}.eps
     24#  w2eps ${toppath}/${source}/eps/gain/gain_${date}_${srclower}.eps
    2525endif
    2626
     
    4242settitle "Gain monitor $source ${date} Ch 0 (blue) Ch 1 (red)"
    4343if ( $saveplot == "1" ) then
    44 #  w2eps ${toppath}/${source}/eps/gain/gain_monitor_${date}_${srclower}.eps
     44  w2eps ${toppath}/${source}/eps/gain/gain_monitor_${date}_${srclower}.eps
    4545endif
    4646
  • BAORadio/AmasNancay/trunk/proc_specmfib.sh

    r595 r597  
    407407$ECHO "DEBUG (${scriptName}): END cat ${OUT}"
    408408#
    409 $ECHO "DEBUG (${scriptName}): START filling cylceArrayBis timeArray"
     409$ECHO "DEBUG (${scriptName}): START filling cycleArrayBis timeArray"
    410410#
    411411declare -a cycleArrayBis
     
    567567
    568568#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
    570575#
    571576#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  
    9999fi
    100100
    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
     103guessFiles=40
    102104if [ "<${firstCycle}>" != "<>" -a "<${lastCycle}>" != "<>" ]; then
    103105    jobBatchName="procspecmfib-${sourceRadio}${dateJob}${type}-${fcycle}-${lcycle}"
    104106    nFiles=`expr ${lcycle} - ${fcycle} + 1`
    105     nFiles=`expr ${nFiles} \* 20`
     107    nFiles=`expr ${nFiles} \* ${guessFiles}`
    106108else
    107109    jobBatchName="procspecmfib-${sourceRadio}${dateJob}${type}-All"
    108110    #assume 30 cycles maxi!
    109     nFiles=`expr 20 \* 30`
     111    nFiles=`expr ${guessFiles} \* 30`
    110112
    111113fi
     
    116118tspwin="5120"
    117119#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`
     120nSpectra=`expr ${guessFiles} \* 25600 /  ${tspwin}`
     121scratchSize=`expr  ${guessFiles} \* 500 + ${nSpectra} \* 200 / 1000 + 5`
    120122
    121123#le cpu total tient compte de l'emsemble des ficheirs a traiter
Note: See TracChangeset for help on using the changeset viewer.