Changeset 510


Ignore:
Timestamp:
Sep 8, 2011, 1:15:19 PM (13 years ago)
Author:
campagne
Message:

change scriptpath (general) + minor things

Location:
BAORadio/AmasNancay
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/calibmaker.sh

    r507 r510  
    100100
    101101#Path of the utility scripts
    102 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     102scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    103103
    104104#get the daq current irod status
  • BAORadio/AmasNancay/gainmaker.sh

    r507 r510  
    9898
    9999#Path of the utility scripts
    100 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     100scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    101101
    102102
  • BAORadio/AmasNancay/getscafiles.sh

    r507 r510  
    6363
    6464#Path of the utility scripts
    65 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     65scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    6666
    6767#look if the run exists
  • BAORadio/AmasNancay/getsignalfiles.sh

    r507 r510  
    6262
    6363#Path of the utility scripts
    64 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     64scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    6565
    6666
  • BAORadio/AmasNancay/hdrfitsextractor.sh

    r507 r510  
    4545
    4646#Path of the utility scripts
    47 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     47scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    4848
    4949
     
    6868
    6969
    70 workDir="headers"
    71 $MKDIR -p ./${workDir}
    72 cd ./${workDir}
     70workArea="headers"
     71$MKDIR -p ./${workArea}
     72cd ./${workArea}
    7373
    7474
  • BAORadio/AmasNancay/proc_script.sh

    r507 r510  
    7575
    7676#Path of the utility scripts
    77 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     77scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    7878
    7979
     
    465465    iput -v -K -r \${curDir}/${dirName} /baoradio/data/AmasNancay/\${localpath}
    466466#
    467 #clean the signal files which can at the end of the day fill completly the scratch directory of the batch worker
     467#clean the signal files which can at the end of the day fill completly the scratch directory of the batch work/AmasNancayer
    468468    $RM -f \${iojobpath}/\${localpath}/Fiber1/signal*.fits
    469469    $RM -f \${iojobpath}/\${localpath}/Fiber2/signal*.fits
  • BAORadio/AmasNancay/scaextractor.sh

    r507 r510  
    5252
    5353#Path of the utility scripts
    54 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     54scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    5555
    5656
  • BAORadio/AmasNancay/select.sh

    r507 r510  
    3939
    4040#Path of the utility scripts
    41 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     41scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    4242
    4343
  • BAORadio/AmasNancay/statuscalib.sh

    r507 r510  
    104104    dateField=`basename ${j}`
    105105    sourceDate="${sourceName}-${dateField}"
     106#look if final calibration files exist
     107    calibOk=`ils ${j} | $GREP -i "calib_" | $WC -l`
    106108    onDirExist=`ils ${j} | $GREP -i "On" | $WC -l`
    107109    if [ ${onDirExist} != 0 ]; then
     
    118120             nFiles=`ils ${j}/On/${c} | $GREP -i "medfiltmtx" | $WC -l`
    119121             if [ ${nFiles} != 0 ]; then
    120                  $ECHO "${sourceDate}/On/${c}: ${nFiles} files"
     122                 $ECHO "${sourceDate}/On/${c}: ${nFiles} spectra (${calibOk} calib)"
    121123             else
    122124                 $ECHO "${sourceDate}/On/${c}: Calibration failed"
  • BAORadio/AmasNancay/submit2bqs-calibmaker.sh

    r507 r510  
    4141
    4242qsub -l u_sps_baoradio,u_irods,T=120000,M=1000MB,scratch=1000MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu campagne@lal.in2p3.fr <<EOF
    43 /afs/in2p3.fr/home/c/campagne/private/work/calibmaker.sh  -src ${sourceRadio} ${freqBAOCalib} ${bwBAOCalib} ${simulationMode}
     43/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/calibmaker.sh  -src ${sourceRadio} ${freqBAOCalib} ${bwBAOCalib} ${simulationMode}
    4444EOF
  • BAORadio/AmasNancay/submit2bqs-gainmaker.sh

    r507 r510  
    2323
    2424qsub -l u_sps_baoradio,u_irods,T=120000,M=1000MB,scratch=500MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu campagne@lal.in2p3.fr <<EOF
    25 /afs/in2p3.fr/home/c/campagne/private/work/gainmaker.sh  -src ${sourceRadio} ${simulationMode}
     25/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/gainmaker.sh  -src ${sourceRadio} ${simulationMode}
    2626EOF
  • BAORadio/AmasNancay/submit2bqs-hdrfitsextractor.sh

    r509 r510  
    2020
    2121qsub -l u_sps_baoradio,u_irods,T=100000,M=256MB,scratch=700MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu campagne@lal.in2p3.fr <<EOF
    22 /afs/in2p3.fr/home/c/campagne/private/work/hdrfitsextractor.sh  $sourceRadio
     22/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/hdrfitsextractor.sh  $sourceRadio
    2323EOF
  • BAORadio/AmasNancay/submit2bqs-scaextractor.sh

    r509 r510  
    4141
    4242#Path of the utility scripts
    43 scriptpath="/afs/in2p3.fr/home/c/campagne/private/work"
     43scriptpath="/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay"
    4444
    4545#the daq current irod status
     
    6363
    6464qsub -l u_sps_baoradio,u_irods,T=100000,M=256MB,scratch=700MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu campagne@lal.in2p3.fr <<EOF
    65 /afs/in2p3.fr/home/c/campagne/private/work/scaextractor.sh  $sourceRadio
     65/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/scaextractor.sh  $sourceRadio
    6666EOF
Note: See TracChangeset for help on using the changeset viewer.