Commit edfd394b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Docu update

parent 845d0d9c
No preview for this file type
......@@ -63,7 +63,8 @@
\usepackage{longtable}
\usepackage{color}
\definecolor{pyellow}{rgb}{1, 0.98, 0.86}
\definecolor{pgreen}{rgb}{0.92, 1, 0.91}
\definecolor{pgreen}{rgb}{1, 0.925, 0.70}
%\definecolor{pgreen}{rgb}{0.92, 1, 0.91}
%\usepackage{ae} % fuer die "almost european" computer modern fonts
%\usepackage{url} % Standard-Paket fuer WWW-Adressen
......
\definecolor{pyellow}{rgb}{1, 0.98, 0.86}
\definecolor{pgreen}{rgb}{1, 0.925, 0.70}
%\definecolor{pgreen}{rgb}{0.92, 1, 0.91}
\newcommand{\CDO}{{\bfseries\sffamily CDO\ }}
\newcommand{\cdologo}{\includegraphics{logo/cdo_logo}}
\vspace*{0mm}
......@@ -33,7 +37,7 @@
\vspace*{2mm}
\subsection*{Options}
\noindent
\begin{tabular*}{3.95in}{|>{\columncolor[gray]{.9}}l>{\columncolor[gray]{.95}}l|} \hline
\begin{tabular*}{3.95in}{|>{\columncolor{pyellow}}ll|} \hline
\makebox[0.85in][l]{{\bf{-a}} } & \makebox[2.76in][l]{Generate an absolute time axis} \\ \hline
\makebox[0.85in][l]{{\bf{-b}} $<\!nbits\!>$ } & \makebox[2.76in][l]{Set the number of bits for the output precision} \\
& (I8/I16/I32/F32/F64 for nc,nc2,nc4; \\
......
......@@ -179,10 +179,10 @@ with respect to the different grid types.
\vspace{2mm}
\hspace{2cm}
\begin{tabular}[c]{|>{\columncolor[gray]{.95}}l|c|c|c|c|}
\begin{tabular}[c]{|>{\columncolor{pyellow}}l|c|c|c|c|}
\hline
\rowcolor[gray]{.9}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
gridtype & lonlat & gaussian & curvilinear & unstructured \\
\hline
gridsize & xsize*ysize & xsize*ysize & xsize*ysize & {\bf ncell} \\
......
......@@ -91,6 +91,7 @@ if ( $threecols == 1 ) {
print TRCARD "\n";
print TRCARD "\\usepackage{graphics}\n";
print TRCARD "\\usepackage{array,colortbl}\n";
print TRCARD "\\usepackage{color}\n";
print TRCARD "\n";
print TRCARD "% A4 29.7x21.0cm 11.7x8.26\n";
print TRCARD "\\setlength{\\hoffset}{-0.8in}\n";
......@@ -278,7 +279,7 @@ while (<MOFILE>) {
print TRCARD "\\noindent\n";
print TRCARD "\\hspace*{0.5in}\n";
print TRCARD "\\begin{tabular*}{2.8in}{|l|l|} \\hline\n";
print TRCARD "\\rowcolor[gray]{.9}\n";
print TRCARD "\\rowcolor{pgreen}\n";
print TRCARD "\\makebox[1.8in][c]{Available statistical functions} &\n";
print TRCARD "\\makebox[0.65in][c]{\$<\\!stat\\!>\$} \\\\ \\hline\n";
print TRCARD "minimum & {\\bf min} \\\\ \n";
......@@ -360,7 +361,7 @@ while (<MOFILE>) {
if ( $refskip == 0 ) {
print TRCARD "\\noindent\n";
print TRCARD "\\begin{tabular*}{$len1}{|>{\\columncolor[gray]{.9}}l>{\\columncolor[gray]{.95}}l|} \\hline\n";
print TRCARD "\\begin{tabular*}{$len1}{|>{\\columncolor{pyellow}}ll|} \\hline\n";
}
print HELPFILE " \"NAME\",\n";
......@@ -629,11 +630,11 @@ while (<MOFILE>) {
if ( "$otitle" ne "" ) {
if ( $refskip == 0 && $xopercnt > 1 && "$oparameter" ne "$operpara" ) {
# print TRCARD "\\rowcolor[gray]{.9}\n";
print TRCARD "\\makebox[$len2][r]{\\cellcolor[gray]{.8}Syntax} ";
print TRCARD "\\multicolumn{2}{|>{\\columncolor{pgreen}}l|}";
if ( $xopercnt == 2 ) {
print TRCARD "& \\cellcolor[gray]{.85} \\hspace*{0mm}{\\bf $opernamex}{\\sl $operpara} \ {\\tt $marguments} ";
print TRCARD "{{\\bf $opernamex}{\\sl $operpara} \ {\\tt $marguments}} ";
} else {
print TRCARD "& \\cellcolor[gray]{.85} \\hspace*{0mm}{\$<\\!operator\\!>\$}{\\sl $operpara} \ {\\tt $marguments} ";
print TRCARD "{{\$<\\!operator\\!>\$}{\\sl $operpara} \ {\\tt $marguments}} ";
}
print TRCARD "\\\\ \\hline \n";
$xopercnt = 1;
......@@ -990,8 +991,8 @@ while (<MOFILE>) {
print TRLIST "\n";
if ( $refskip == 0 ) {
print TRCARD "\\rowcolor[gray]{.9}\n";
print TRCARD "\\makebox[$len2][r]{\\cellcolor[gray]{.8}Syntax} ";
# print TRCARD "\\rowcolor[gray]{.9}\n";
print TRCARD "\\multicolumn{2}{|>{\\columncolor{pgreen}}l|}";
}
if ( "$opername" eq "selpctl" ) {
$marguments =~ s/ifile/in/og;
......@@ -1001,9 +1002,9 @@ while (<MOFILE>) {
$opernamex =~ s/_/\\_/g;
if ( $refskip == 0 ) {
if ( $xopercnt == 1 ) {
print TRCARD "& \\cellcolor[gray]{.85} \\hspace*{0mm}{\\bf $opernamex}{\\sl $operpara} \ {\\tt $marguments} ";
print TRCARD "{{\\bf $opernamex}{\\sl $operpara} \ {\\tt $marguments}} ";
} else {
print TRCARD "& \\cellcolor[gray]{.85} \\hspace*{0mm}{\$<\\!operator\\!>\$}{\\sl $operpara} \ {\\tt $marguments} ";
print TRCARD "{{\$<\\!operator\\!>\$}{\\sl $operpara} \ {\\tt $marguments}} ";
}
print TRCARD "\\\\ \\hline \n";
......
......@@ -24,11 +24,11 @@ value results in $0$.
%\ifpdf
%\begin{longtable}[t]{|c||c|c|c|}
%\else
\begin{tabular}[t]{|>{\columncolor[gray]{.95}}c|c|c|c|}
\begin{tabular}[t]{|>{\columncolor{pyellow}}c|c|c|c|}
%\fi
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf addition}& \makebox[2cm]{b} & & \makebox[2cm]{miss} \\
\hline
{a} & $a + b$ & & $miss$ \\
......@@ -41,8 +41,8 @@ value results in $0$.
%
%\begin{tabular}[t]{|c||c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf subtraction}& \makebox[2cm]{b} & & \makebox[2cm]{miss} \\
\hline
{a} & $a - b$ & & $miss$ \\
......@@ -55,8 +55,8 @@ value results in $0$.
%
%\begin{tabular}[b]{|c||c|c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf multiplication} & \makebox[2cm]{b} & \makebox[2cm]{0} & \makebox[2cm]{miss} \\
\hline
{a} & $a * b$ & $0$ & $miss$ \\
......@@ -71,8 +71,8 @@ value results in $0$.
%
%\begin{tabular}[b]{|c||c|c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf division} & \makebox[2cm]{b} & \makebox[2cm]{0} & \makebox[2cm]{miss} \\
\hline
{a} & $a / b$ & $miss$ & $miss$ \\
......@@ -87,8 +87,8 @@ value results in $0$.
%
%\begin{tabular}[b]{|c||c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf maximum} & \makebox[2cm]{b} & & \makebox[2cm]{miss} \\
\hline
{a} & $max(a,b)$ & & $a$ \\
......@@ -101,8 +101,8 @@ value results in $0$.
%
%\begin{tabular}[b]{|c||c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf minimum} & \makebox[2cm]{b} & & \makebox[2cm]{miss} \\
\hline
{a} & $min(a,b)$ & & $a$ \\
......@@ -118,8 +118,8 @@ value results in $0$.
%
%\begin{tabular}[b]{|c||c|c|}
\hline
\rowcolor[gray]{.95}
\cellcolor[gray]{.8}
\rowcolor{pyellow}
\cellcolor{pgreen}
\makebox[2.3cm]{\bf sum} & \makebox[2cm]{b} & & \makebox[2cm]{miss} \\
\hline
{a} & $a + b$ & & $a$ \\
......
......@@ -16,6 +16,7 @@ just its length and ending date are computed.
@EndDescription
@EndModule
@BeginOperator_consecsum
@Title = Consecutive Sum
......@@ -40,7 +41,8 @@ analysis like min, max or mean, everything else is set to misvall.
@BeginExample
For a given time series of daily temperatures, the periods of summer days can be calculated with inplace maskting the input field:
For a given time series of daily temperatures, the periods of summer days can be
calculated with inplace maskting the input field:
@BeginVerbatim
cdo consects -gtc,20.0 ifile1 ofile
@EndVerbatim
......
......@@ -22,7 +22,7 @@ The following options are available for all operators:
\vspace*{1mm}
\hspace*{0cm}\begin{tabular}{|l|l|}
\hline
\rowcolor[gray]{.9}
\rowcolor{pgreen}
\sl $<$format$>$ & \sl $<$nbits$>$ \\
{\tt grb, grb2} & {\tt 1 - 24} \\
{\tt nc, nc2, nc4} & {\tt I8/I16/I32/F32/F64} \\
......@@ -39,7 +39,7 @@ The following options are available for all operators:
\vspace*{1mm}
\hspace*{0cm}\begin{tabular}{|l|l|}
\hline
\rowcolor[gray]{.9}
\rowcolor{pgreen}
{\bf File format} & \sl $<$format$>$ \\
GRIB version 1 & {\tt grb} \\
GRIB version 2 & {\tt grb2} \\
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment