Ignore:
Timestamp:
Oct 11, 2011, 11:29:33 AM (13 years ago)
Author:
campagne
Message:

prepare new way to process the data: first perform specmfib, second perform post-analysis (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/submit2bqs-gainmaker.sh

    r569 r570  
    33#Process cmd line args: the -src option is mandatory (source name as Abell85)
    44sourceRadio=
     5dateSelected=
    56#use -sim option to simulate processing (debug the script as if...)
    67simulationMode=""
     
    910  case "$1" in
    1011      -src)  sourceRadio=$2; shift;;
     12      -date) dateSelected="-date $2"; dateJob="$2";     shift;;
    1113      -sim) simulationMode="-sim";;
    1214        -h)
    1315            echo >&2 \
    14             "usage: $0 -src souce [-sim]"
     16            "usage: $0 -src souce -date YYYYMMDD [-sim]"
    1517            exit 1;;
    1618        *)  break;;     # terminate while loop
     
    1921done
    2022
    21 jobBatchName="gains-$sourceRadio"
     23if [ "<${sourceRadio}>" = "<>" ]; then
     24    $ECHO "FATAL: You have forgotten to select the source option (-src)"
     25    exit 1
     26fi
     27
     28jobBatchName="anagains-${sourceRadio}${dateJob}"
    2229jobLogName="${jobBatchName}.log.$$"
    2330
    2431qsub -l u_sps_baoradio,u_irods,T=120000,M=1000MB,scratch=500MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu ${LOGNAME}@lal.in2p3.fr <<EOF
    25 /afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/gainmaker.sh  -src ${sourceRadio} ${simulationMode}
     32/afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/anagainmaker.sh  -src ${sourceRadio} ${dateSelected} ${simulationMode}
    2633EOF
Note: See TracChangeset for help on using the changeset viewer.