Changeset 8080


Ignore:
Timestamp:
10/17/06 09:04:57 (18 years ago)
Author:
snruegam
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8079 r8080  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2006/10/17 Stefan Ruegamer
     21
     22   * datacenter/scripts/processmcsequences
     23     - fixed a bug preventing the script from finding the sequence
     24       files, fixed a typo and added the star command to the logfile
     25
     26
    2027
    2128 2006/10/17 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences

    r7982 r8080  
    5656for sequfile in ${sequfiles[@]}
    5757do
    58    sequno=`echo $sequfile | cut -c 36-43`
     58   sequno=`echo $sequfile | cut -c 42-49`
    5959   no=`echo $sequno | cut -c 0-4`
    6060   date=`grep Night $sequfile | cut -c 18-29 | sed -e 's/-/\//g'`
     
    6262   makedir $caloutpath >> $scriptlog 2>&1
    6363   
    64    # continue with next sequence, if sequence is already processed
    65    #  or processing of sequence is just running
     64   # continue with next sequence if sequence is already processed
     65   # or processing of sequence is just running
    6666   if ls $caloutpath/.done >> $scriptlog 2>&1
    6767   then
     
    7979   if [ -e $caloutpath/callisto.rc ]
    8080   then
    81       echo "found callisto.rc in $caloutpath -> using this " >> $scriptlog 2>&1
     81      echo "found callisto.rc in $caloutpath -> using this" >> $scriptlog 2>&1
    8282      callistorcseq=$caloutpath/callisto.rc
    8383   else
     
    9393   case $check1 in
    9494      0)   echo " check1=$check1 -> everything ok..." >> $scriptlog 2>&1
    95            printprocesslog "INFO calibrated mc sequende $sequno successfully"
     95           printprocesslog "INFO calibrated mc sequence $sequno successfully"
    9696           touch $caloutpath/.done
    9797           rm $caloutpath/.doing
     
    9999           makedir $imgoutpath >> $scriptlog 2>&1
    100100           
     101           echo "./star -b -q -v4 -f -mc --log=$imgoutpath/star$sequno.log --html=$imgoutpath/star$sequno.html --ind=$caloutpath --out=$imgoutpath $sequfile  2>> $scriptlog> /dev/null" >> $scriptlog 2>&1
    101102           ./star -b -q -v4 -f -mc --log=$imgoutpath/star$sequno.log --html=$imgoutpath/star$sequno.html --ind=$caloutpath --out=$imgoutpath $sequfile  2>> $scriptlog> /dev/null
    102103           check2=$?
    103104           
    104            case $check2 in 
     105           case $check2 in
    105106              0)   echo " check2=$check2 -> everything ok..." >> $scriptlog 2>&1
    106                    printprocesslog "INFO run star successfully for mc sequende $sequno"
     107                   printprocesslog "INFO run star successfully for mc sequence $sequno"
    107108                   touch $imgoutpath/.done
    108109                   ;;
    109110              *)   echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    110                    printprocesslog "ERROR star failed for mc sequende $sequno"
     111                   printprocesslog "ERROR star failed for mc sequence $sequno"
    111112                   ;;
    112113           esac
    113114           ;;
    114115      *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    115            printprocesslog "ERROR callisto failed for mc sequende $sequno"
     116           printprocesslog "ERROR callisto failed for mc sequence $sequno"
    116117           ;;
    117118   esac
Note: See TracChangeset for help on using the changeset viewer.