--- manual/s_ecco/text/ecco_costfunction.tex	2004/07/08 23:18:08	1.3
+++ manual/s_ecco/text/ecco_costfunction.tex	2006/04/08 01:50:50	1.7
@@ -1,5 +1,10 @@
 \section{The ECCO state estimation cost function DRAFT!!!
 \label{sectioneccocost}}
+\begin{rawhtml}
+<!-- CMIREDIR:ecco_cost: -->
+\end{rawhtml}
+
+Author: Patrick Heimbach
 
 The current ECCO state estimation covers an $nYears = 11$ year
 model trajectory.
@@ -266,30 +271,30 @@
 \hline
 ~&~&~&~\\
 {\it tbar} & {\tt tbarfile} & monthly model mean pot. temperature & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it sbar} & {\tt sbarfile} & monthly model mean salinity & 
 [ppt] \\
 {\it tdat} & {\tt tdatfile} & monthly mean Levitus pot. temperature & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it sdat} & {\tt sdatfile} & monthly mean Levitus salinity & 
 [ppt] \\
 {\it ctdtobs}  & {\tt ctdtfile} & monthly WOCE CTD pot. temperature & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it ctdsobs}  & {\tt ctdsfile} & monthly WOCE CTD salinity & 
 [ppt] \\
 {\it xbtobs} & {\tt xbtfile} & monthly XBT in-situ(!) temperature & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it sstdat}  & {\tt sstdatfile} & monthly Reynolds pot. SST & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it sssdat}  & {\tt sssdatfile} & monthly Reynolds SSS & 
 [ppt] \\
 {\it argotobs}  & {\tt argotfile} & monthly ARGO in-situ(!) temperature & 
-[$^{\circ}$C] \\
+[$^{\circ}\mathrm{C}$] \\
 {\it argosobs}  & {\tt argosfile} & monthly ARGO salinity & 
 [ppt] \\
 {\it wti, wsi} & {\tt data\_errfile} & vert. stdev. profile for $T$, $S$ &
 ~ \\
-{\it wtvar} & {\tt temperrfile} & spatially varying stdev. & [$^{\circ}$C] \\
+{\it wtvar} & {\tt temperrfile} & spatially varying stdev. & [$^{\circ}\mathrm{C}$] \\
 {\it wsvar} & {\tt salterrfile} & spatially varying stdev. & [ppt] \\
 ~&~&~&~\\
 \hline \hline
@@ -328,7 +333,7 @@
 \begin{equation}
 \begin{split}
 cost\_argo\_t(i,j,k) & = \,
-\left[ \, \frac{fac \cdot ratio}{wti^2 + wvar^2} \sum_{\tau=1}^{nMonsRec}
+\left[ \, \frac{fac \cdot ratio}{wti^2 + wtvar^2} \sum_{\tau=1}^{nMonsRec}
 \left\{ Tbar(\tau) \, - \, T2\theta[argoTobs(\tau)] \right\}^2 \, \right](i,j,k)
  \\
 cost\_argo\_s(i,j,k) & = \,
