- Timestamp:
- 10/17/06 09:04:57 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8079 r8080 18 18 19 19 -*-*- 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 20 27 21 28 2006/10/17 Daniela Dorner -
trunk/MagicSoft/Mars/datacenter/scripts/processmcsequences
r7982 r8080 56 56 for sequfile in ${sequfiles[@]} 57 57 do 58 sequno=`echo $sequfile | cut -c 36-43`58 sequno=`echo $sequfile | cut -c 42-49` 59 59 no=`echo $sequno | cut -c 0-4` 60 60 date=`grep Night $sequfile | cut -c 18-29 | sed -e 's/-/\//g'` … … 62 62 makedir $caloutpath >> $scriptlog 2>&1 63 63 64 # continue with next sequence , if sequence is already processed65 # or processingof sequence is just running64 # continue with next sequence if sequence is already processed 65 # or processing of sequence is just running 66 66 if ls $caloutpath/.done >> $scriptlog 2>&1 67 67 then … … 79 79 if [ -e $caloutpath/callisto.rc ] 80 80 then 81 echo "found callisto.rc in $caloutpath -> using this 81 echo "found callisto.rc in $caloutpath -> using this" >> $scriptlog 2>&1 82 82 callistorcseq=$caloutpath/callisto.rc 83 83 else … … 93 93 case $check1 in 94 94 0) echo " check1=$check1 -> everything ok..." >> $scriptlog 2>&1 95 printprocesslog "INFO calibrated mc sequen de $sequno successfully"95 printprocesslog "INFO calibrated mc sequence $sequno successfully" 96 96 touch $caloutpath/.done 97 97 rm $caloutpath/.doing … … 99 99 makedir $imgoutpath >> $scriptlog 2>&1 100 100 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 101 102 ./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 102 103 check2=$? 103 104 104 case $check2 in 105 case $check2 in 105 106 0) echo " check2=$check2 -> everything ok..." >> $scriptlog 2>&1 106 printprocesslog "INFO run star successfully for mc sequen de $sequno"107 printprocesslog "INFO run star successfully for mc sequence $sequno" 107 108 touch $imgoutpath/.done 108 109 ;; 109 110 *) echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 110 printprocesslog "ERROR star failed for mc sequen de $sequno"111 printprocesslog "ERROR star failed for mc sequence $sequno" 111 112 ;; 112 113 esac 113 114 ;; 114 115 *) echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 115 printprocesslog "ERROR callisto failed for mc sequen de $sequno"116 printprocesslog "ERROR callisto failed for mc sequence $sequno" 116 117 ;; 117 118 esac
Note:
See TracChangeset
for help on using the changeset viewer.