Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
deb03f48
Commit
deb03f48
authored
Jun 20, 2008
by
Uwe Schulzweida
Browse files
docu update
parent
f1c87a87
Changes
129
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
deb03f48
...
...
@@ -12,6 +12,7 @@
* remapeta: add missing value support
* setpartab: add parameter LTYPE [request: Stefan Petri]
* Settime: change TIME_CONSTANT to TIME_VARIABLE if ntstep = 0
* yseasmean: bug fix for datasets with missing values [report: Hans-Jrgen Panitz]
* ntime: bug fix for datasets with time constant parameters only [report: David Wang]
(also affected: ndate, nmon, nyear, showdate, showtime, showmon, showyear)
* Version 1.2.0 released
...
...
doc/tex/cdo_int.tex
View file @
deb03f48
\chapter
{
Introduction
}
The Climate Data Operators (
{
\CDO
}
) software
is
a collection of many operators
The Climate Data Operators (
{
\CDO
}
) software
are
a collection of many operators
for standard processing of climate and forecast model output.
The operators include simple statistical and arithmetic functions, data selection
and subsampling tools, and spatial interpolation.
...
...
@@ -16,8 +16,8 @@ independent access to GRIB and netCDF datasets.
The local data formats SERVICE, EXTRA and IEG are also supported.
There are some limitations for GRIB and netCDF datasets.
A GRIB dataset
must
be consistent, similar to netCDF.
That means all time steps
must
have the same variables, and
A GRIB dataset
has to
be consistent, similar to netCDF.
That means all time steps
need to
have the same variables, and
within a time step each variable may occur only once.
NetCDF datasets are supported only with 2-dimensional, 3-dimensional and 4-dimensional
variables and the attributes should follow the
...
...
doc/tex/cdo_ref.tex
View file @
deb03f48
...
...
@@ -2,7 +2,7 @@
%\chapter{\label{refman}Reference manual for all operators}
This section gives a description of all operators.
Similar
operators are grouped to modules.
Related
operators are grouped to modules.
For easier description all single input files are named
{
\tt
ifile
}
or
{
\tt
ifile1
}
,
{
\tt
ifile2
}
, etc.,
and an unlimited number of input files are named
{
\tt
ifiles
}
.
All output files are named
{
\tt
ofile
}
or
{
\tt
ofile1
}
,
{
\tt
ofile2
}
, etc.
...
...
doc/tex/cdoprog.tex
View file @
deb03f48
...
...
@@ -35,7 +35,7 @@
\noindent
\begin{tabular*}
{
3.95in
}{
|l|l|
}
\hline
\makebox
[0.85in][l]
{{
\bf
{
-a
}}
}
&
\makebox
[2.76in][l]
{
Convert from a relative to 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
}
\\
\makebox
[0.85in][l]
{{
\bf
{
-b
}}
$
<
\!
nbits
\!
>
$
}
&
\makebox
[2.76in][l]
{
Set the number of bits for output precision
}
\\
&
(32/64 for nc,nc2,nc4,srv,ext,ieg; 1 - 32 for grb)
\\
\hline
\makebox
[0.85in][l]
{{
\bf
{
-f
}}
$
<
\!
format
\!
>
$
}
&
\makebox
[2.76in][l]
{
Output file format (grb,nc,nc2,nc4,srv,ext,ieg)
}
\\
\hline
\makebox
[0.85in][l]
{{
\bf
{
-g
}}
$
<
\!
grid
\!
>
$
}
&
\makebox
[2.76in][l]
{
Grid name or file
}
\\
...
...
doc/tex/grid.tex
View file @
deb03f48
...
...
@@ -21,13 +21,13 @@ The following pre-defined grid names are available:
{
\tt
r<NX>x<NY>
}
defines a global regular grid.
The number of the longitudes
{
\tt
<NX>
}
and the latitudes
{
\tt
<NY>
}
can be selected at will.
The longitudes start
s
at 0
$^
\circ
$
with an increment of (360/
{
\tt
<NX>
}
)
$^
\circ
$
.
The longitudes start at 0
$^
\circ
$
with an increment of (360/
{
\tt
<NX>
}
)
$^
\circ
$
.
The latitudes go from south to north with an increment of (180/
{
\tt
<NY>
}
)
$^
\circ
$
.
\subsection*
{
Global gaussian grid:
{
\tt
t<RES>grid
}}
{
\tt
t<RES>grid
}
defines a global gaussian grid.
Each valid triangular resolution can be used for
{
\tt
<RES>
}
.
The longitudes start
s
at 0
$^
\circ
$
with an increment of (360/nlon)
$^
\circ
$
.
The longitudes start at 0
$^
\circ
$
with an increment of (360/nlon)
$^
\circ
$
.
The gaussian latitudes go from north to south.
%\subsection*{Spherical harmonics: t$<$RES$>$spec}
...
...
@@ -51,10 +51,10 @@ the first variable will be used.
\subsection
{
SCRIP grids
}
SCRIP is a Spherical Coordinate Remapping and Interpolation Package.
It
is using
a common grid description in netCDF.
It
uses
a common grid description in netCDF.
You can use it to describe curvilinear grids or unstructured grid cells.
For more information about this format see
\cite
{
SCRIP
}
.
Th
is
grid description format is only available if the program was compiled
Th
at
grid description format is only available if the program was compiled
with netCDF support.
\vspace
{
2mm
}
...
...
@@ -121,7 +121,7 @@ PINGO grid description example of a T21 gaussian grid:
\subsection
{
CDO grids
}
All supported grids can
be
also described with the
{
\CDO
}
description
ASCII formatted file
.
All supported grids can also
be
described with the
{
\CDO
}
grid
description.
%The {\CDO} grid description is an ASCII formatted file.
%It is a common grid description for all available grids.
The following keywords can be used to describe a grid:
...
...
@@ -153,8 +153,8 @@ Keyword & Datatype & Description \\ \hline
\vspace
{
4mm
}
Which keywords are necessary depends on the gridtype.
The following table gives an overview of the default values or the size
for the different
grid types.
The following table gives an overview of the default values or the size
with respect to the different
grid types.
%\vspace{2mm}
%\begin{tabular}[b]{|c|c|c|c|c|c|c|c|c|}
...
...
@@ -216,7 +216,7 @@ ybounds & 2*ysize & 2*ysize & 4*gridsize & nv*gridsize \\
\vspace
{
3mm
}
The keywords nvertex, xbounds and ybounds are optional if
the
area weights are not needed.
The keywords nvertex, xbounds and ybounds are optional if area weights are not needed.
\vspace
{
2mm
}
...
...
doc/tex/install.tex
View file @
deb03f48
\section
{
Building from sources
}
This section describes how to build
{
\CDO
}
from the sources on a UNIX system.
{
\CDO
}
uses the GNU configure and build system
to
compil
e the source code
.
{
\CDO
}
uses the GNU configure and build system
for
compil
ation
.
The only requirement is a working ANSI C compiler.
%First go to the \href{http://www.mpimet.mpg.de/cdo/download.html}{\tt download} page
%({\tt http://www.mpimet.mpg.de/\\,cdo/download.html}) to get the latest distribution,
First go to the
\href
{
http://www.mpimet.mpg.de/cdo
}{
\tt
download
}
page
(
{
\tt
http://www.mpimet.mpg.de/cdo
}
) to get the latest distribution,
if you do not
already
have it.
if you do not have it
yet
.
To take full advantage of
{
\CDO
}
features the following additional
library should be installed.
...
...
@@ -30,10 +30,10 @@ library should be installed.
\subsection
{
Compilation
}
Compilation is
now
done by performing the following steps:
Compilation is done by performing the following steps:
\begin{enumerate}
\item
Unpack the archive, if you haven't
already
done that:
\item
Unpack the archive, if you haven't done that
yet
:
\begin{verbatim}
gunzip cdo-
$
VERSION.tar.gz # uncompress the archive
...
...
doc/tex/mod/Arith
View file @
deb03f48
...
...
@@ -9,7 +9,9 @@
@BeginDescription
This module performs simple arithmetic of two datasets.
The header and date information in @file{ofile} is the same as in @file{ifile1}.
The number of fields in @file{ifile1} should be the same as in @file{ifile2}.
One of the input files can contain only one time step or one field.
The fields in @file{ofile} inherit the meta data from @file{ifile1} or @file{ifile2}.
@EndDescription
@EndModule
...
...
doc/tex/mod/Arithc
View file @
deb03f48
...
...
@@ -9,7 +9,7 @@
@BeginDescription
This module performs simple arithmetic with all field elements of a dataset and
a constant. The
header and date information in @file{ofile} is the same as in
@file{ifile}.
a constant. The
fields in @file{ofile} inherit the meta data from
@file{ifile}.
@EndDescription
@EndModule
...
...
doc/tex/mod/Change
View file @
deb03f48
...
...
@@ -60,7 +60,7 @@ Changes one level of a user given code number.
@Parameter = name oldlev newlev
@BeginDescription
Changes one level of a user given variable.
Changes one level of a user given variable
name
.
@EndDescription
@EndOperator
...
...
doc/tex/mod/Comp
View file @
deb03f48
...
...
@@ -9,9 +9,11 @@
@BeginDescription
This module compares two datasets field by field. The resulting
field is a mask with 1 if the comparison is true and 0 if the
comparison is false. The type of the comparison depends on the
actual operator.
field is a mask containing 1 if the comparison is true and 0 if not.
The number of fields in @file{ifile1} should be the same as in @file{ifile2}.
One of the input files can contain only one time step or one field.
The fields in @file{ofile} inherit the meta data from @file{ifile1} or @file{ifile2}.
The type of comparison depends on the actual operator.
@EndDescription
@EndModule
...
...
@@ -155,8 +157,8 @@ o(t,x) = \left\{
@BeginExample
To create a mask
with
1 if the elements of two fields are the same and
0 if the elements are different
,
use:
To create a mask
containing
1 if the elements of two fields are the same and
0 if the elements are different use:
@BeginVerbatim
cdo eq ifile1 ifile2 ofile
@EndVerbatim
...
...
doc/tex/mod/Compc
View file @
deb03f48
...
...
@@ -8,9 +8,9 @@
@Operators = eqc nec lec ltc gec gtc
@BeginDescription
This module compares all fields of dataset with a constant. The resulting
field is a mask
with
1 if the comparison is true and 0 if
the comparison
is false.
The type of
the
comparison depends on the actual operator.
This module compares all fields of
a
dataset with a constant. The resulting
field is a mask
containing
1 if the comparison is true and 0 if
not.
The type of comparison depends on the actual operator.
@EndDescription
@EndModule
...
...
@@ -88,7 +88,7 @@ o(t,x) = \left\{
@BeginOperator_ltc
@Title = Less th
e
n constant
@Title = Less th
a
n constant
@Parameter = c
@BeginDescription
...
...
@@ -136,7 +136,7 @@ o(t,x) = \left\{
@BeginOperator_gtc
@Title = Greater th
e
n constant
@Title = Greater th
a
n constant
@Parameter = c
@BeginDescription
...
...
@@ -166,7 +166,7 @@ FLOAT Constant
@BeginExample
To create a mask
with
1 if the field element is greater than 273.15 and 0 if not
,
use:
To create a mask
containing
1 if the field element is greater than 273.15 and 0 if not use:
@BeginVerbatim
cdo gtc,273.15 ifile ofile
@EndVerbatim
...
...
doc/tex/mod/Cond
View file @
deb03f48
...
...
@@ -7,9 +7,12 @@
@Operators = ifthen ifnotthen
@BeginDescription
This module
conditional
selects field elements from @file{ifile2} and writes them
This module selects field elements from @file{ifile2}
with respect to @file{ifile1}
and writes them
to @file{ofile}. The fields in @file{ifile1} are handled as a mask. A value
not equal to zero is treated as "true", zero is treated as "false".
The number of fields in @file{ifile1} has either to be the same as in @file{ifile2} or the
same as in one time step of @file{ifile2} or only one.
The fields in @file{ofile} inherit the meta data from @file{ifile2}.
@EndDescription
@EndModule
...
...
@@ -19,16 +22,16 @@ not equal to zero is treated as "true", zero is treated as "false".
@BeginDescription
@IfMan
/ i_2(t,x) if i_1(t,x) NE 0 AND i_1(t,x) NE miss
/ i_2(t,x) if i_1(
[
t,
]
x) NE 0 AND i_1(
[
t,
]
x) NE miss
o(t,x) =
\ miss if i_1(t,x) EQ 0 OR i_1(t,x) EQ miss
\ miss if i_1(
[
t,
]
x) EQ 0 OR i_1(
[
t,
]
x) EQ miss
@EndifMan
@IfDoc
@BeginMath
o(t,x) = \left\{
\begin{array}{cll}
i_2(t,x) & \mbox{if} \;\; i_1(t,x) \neq 0 & \wedge \;\; i_1(t,x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(t,x) = 0 & \vee \;\; i_1(t,x) = \mbox{miss} \\
i_2(t,x) & \mbox{if} \;\; i_1(
[
t,
]
x) \neq 0 & \wedge \;\; i_1(
[
t,
]
x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(
[
t,
]
x) = 0 & \vee \;\; i_1(
[
t,
]
x) = \mbox{miss} \\
\end{array} \right.
@EndMath
@EndifDoc
...
...
@@ -41,16 +44,16 @@ o(t,x) = \left\{
@BeginDescription
@IfMan
/ i_2(t,x) if i_1(t,x) EQ 0 AND i_1(t,x) NE miss
/ i_2(t,x) if i_1(
[
t,
]
x) EQ 0 AND i_1(
[
t,
]
x) NE miss
o(t,x) =
\ miss if i_1(t,x) NE 0 OR i_1(t,x) EQ miss
\ miss if i_1(
[
t,
]
x) NE 0 OR i_1(
[
t,
]
x) EQ miss
@EndifMan
@IfDoc
@BeginMath
o(t,x) = \left\{
\begin{array}{cll}
i_2(t,x) & \mbox{if} \;\; i_1(t,x) = 0 & \wedge \;\; i_1(t,x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(t,x) \neq 0 & \vee \;\; i_1(t,x) = \mbox{miss} \\
i_2(t,x) & \mbox{if} \;\; i_1(
[
t,
]
x) = 0 & \wedge \;\; i_1(
[
t,
]
x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(
[
t,
]
x) \neq 0 & \vee \;\; i_1(
[
t,
]
x) = \mbox{miss} \\
\end{array} \right.
@EndMath
@EndifDoc
...
...
@@ -60,7 +63,7 @@ o(t,x) = \left\{
@BeginExample
To select all field elements of @file{ifile2} if the corresponding field
element of @file{ifile1} is greater than 0
,
use:
element of @file{ifile1} is greater than 0 use:
@BeginVerbatim
cdo ifthen ifile1 ifile2 ofile
@EndVerbatim
...
...
doc/tex/mod/Cond2
View file @
deb03f48
...
...
@@ -6,9 +6,13 @@
@Operators = ifthenelse
@BeginDescription
This operator
conditional
selects field elements from @file{ifile2} or @file{ifile3}
and
writes them to @file{ofile}. The fields in @file{ifile1} are handled as a mask.
This operator selects field elements from @file{ifile2} or @file{ifile3}
with respect to
@file{ifile1} and
writes them to @file{ofile}. The fields in @file{ifile1} are handled as a mask.
A value not equal to zero is treated as "true", zero is treated as "false".
The number of fields in @file{ifile1} has either to be the same as in @file{ifile2} or the
same as in one time step of @file{ifile2} or only one.
@file{ifile2} and @file{ifile3} need to have the same number of fields.
The fields in @file{ofile} inherit the meta data from @file{ifile2}.
@EndDescription
@EndModule
...
...
@@ -18,17 +22,19 @@ A value not equal to zero is treated as "true", zero is treated as "false".
@BeginDescription
@IfMan
/ i_2(t,x) if i_1(t,x) NE 0 AND i_1(t,x) NE miss
o(t,x) = < i_3(t,x) if i_1(t,x) EQ 0 AND i_1(t,x) NE miss
\ miss if i_1(t,x) EQ miss
/ i_2(t,x) if i_1([t,]x) NE 0 AND i_1([t,]x) NE miss
o(t,x) = < i_3(t,x) if i_1([t,]x) EQ 0 AND i_1([t,]x) NE miss
\ miss if i_1([t,]x) EQ miss
@EndifMan
@IfDoc
\vspace*{4mm}
@BeginMath
o(t,x) = \left\{
\begin{array}{cll}
i_2(t,x) & \mbox{if} \;\; i_1(t,x) \neq 0 & \wedge \;\; i_1(t,x) \neq \mbox{miss} \\
i_3(t,x) & \mbox{if} \;\; i_1(t,x) = 0 & \wedge \;\; i_1(t,x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(t,x) = \mbox{miss} \\
i_2(t,x) & \mbox{if} \;\; i_1(
[
t,
]
x) \neq 0 & \wedge \;\; i_1(
[
t,
]
x) \neq \mbox{miss} \\
i_3(t,x) & \mbox{if} \;\; i_1(
[
t,
]
x) = 0 & \wedge \;\; i_1(
[
t,
]
x) \neq \mbox{miss} \\
\mbox{miss} & \mbox{if} \;\; i_1(
[
t,
]
x) = \mbox{miss} \\
\end{array} \right.
@EndMath
@EndifDoc
...
...
@@ -38,7 +44,7 @@ o(t,x) = \left\{
@BeginExample
To select all field elements of @file{ifile2} if the corresponding field
element of @file{ifile1} is greater than 0 and from @file{ifile3} otherwise
,
use:
element of @file{ifile1} is greater than 0 and from @file{ifile3} otherwise use:
@BeginVerbatim
cdo ifthenelse ifile1 ifile2 ifile3 ofile
@EndVerbatim
...
...
doc/tex/mod/Condc
View file @
deb03f48
...
...
@@ -8,7 +8,7 @@
@BeginDescription
This module creates fields with a constant value or missing value.
The fields in @file{ifile
1
} are handled as a mask. A value not equal
The fields in @file{ifile} are handled as a mask. A value not equal
to zero is treated as "true", zero is treated as "false".
@EndDescription
@EndModule
...
...
@@ -68,7 +68,7 @@ FLOAT Constant
@BeginExample
To create fields with the constant value 7 if the corresponding field element
of @file{ifile} is greater than 0
,
use:
of @file{ifile} is greater than 0 use:
@BeginVerbatim
cdo ifthenc,7 ifile ofile
@EndVerbatim
...
...
doc/tex/mod/Copy
View file @
deb03f48
...
...
@@ -8,8 +8,8 @@
@Operators = copy cat
@BeginDescription
This module contains operators to copy or concatenate datasets. Each
input
dataset
must
have the same variables with complete time steps.
This module contains operators to copy or concatenate datasets. Each
input
dataset
is required to
have the same variables with complete time steps.
@EndDescription
@EndModule
...
...
@@ -26,7 +26,7 @@ Copies all input datasets to @file{ofile}.
@Title = Concatenate datasets
@BeginDescription
Concatenates all input datasets and append the result to the end
Concatenates all input datasets and append
s
the result to the end
of @file{ofile}. If @file{ofile} does not exist it will be created.
@EndDescription
@EndOperator
...
...
@@ -46,7 +46,7 @@ To concatenate 3 datasets with different time steps of the same variables use:
@BeginVerbatim
cdo copy ifile1 ifile2 ifile3 ofile
@EndVerbatim
If the output dataset already exist and you wish to extend it
If the output dataset already exist
s
and you wish to extend it
with more time steps use:
@BeginVerbatim
cdo cat ifile1 ifile2 ifile3 ofile
...
...
doc/tex/mod/Daypctl
View file @
deb03f48
...
...
@@ -8,15 +8,14 @@
@Operators = daypctl
@BeginDescription
This module computes percentiles over all time steps in @file{ifile1}
of the same day.
This module computes percentiles over all time steps of the same day in @file{ifile1}.
The algorithm uses histograms with minimum and maximum bounds given in
@file{ifile2} and @file{ifile3}, respectively. The default number of
histogram bins is 100. The default can be overridden by defining the
environment variable CDO_PCTL_NBINS. The files @file{ifile2} and
@file{ifile3}
must
be the result of corresponding daymin and daymax
@file{ifile3}
should
be the result of corresponding
@mod{
daymin
}
and
@mod{
daymax
}
operations, respectively.
The date information f
or
a time step in @file{ofile} is the date of the
The date information
o
f a time step in @file{ofile} is the date of the
last contributing time step in @file{ifile1}.
@EndDescription
@EndModule
...
...
@@ -28,12 +27,15 @@ last contributing time step in @file{ifile1}.
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = pth percentile {i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day, it is: \\
\vspace*{1mm}
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
\vspace*{1mm}
@BeginMath
o(t,x) = \mbox{\bf pth percentile} \{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -55,7 +57,7 @@ Sets the number of histogram bins. The default number is 100.
@BeginExample
To compute the daily 90th percentile of a time series
,
use:
To compute the daily 90th percentile of a time series use:
@BeginVerbatim
cdo daymin ifile minfile
cdo daymax ifile maxfile
...
...
doc/tex/mod/Daystat
View file @
deb03f48
...
...
@@ -11,7 +11,7 @@
This module computes statistical values over time steps of the same day.
Depending on the actual operator the minimum, maximum, sum, average, variance
or standard deviation of time steps of the same day is written to @file{ofile}.
The date information f
or
a time step in @file{ofile} is the date of the last
The date information
o
f a time step in @file{ofile} is the date of the last
contributing time step in @file{ifile}.
@EndDescription
@EndModule
...
...
@@ -22,12 +22,12 @@ contributing time step in @file{ifile}.
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = min{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf min}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -41,12 +41,12 @@ o(t,x) = \mbox{\bf min}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = max{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf max}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -60,12 +60,12 @@ o(t,x) = \mbox{\bf max}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = sum{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf sum}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -79,12 +79,12 @@ o(t,x) = \mbox{\bf sum}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = mean{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf mean}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -98,12 +98,12 @@ o(t,x) = \mbox{\bf mean}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = avg{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf avg}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -117,12 +117,12 @@ o(t,x) = \mbox{\bf avg}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = var{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf var}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -136,12 +136,12 @@ o(t,x) = \mbox{\bf var}\{i(t',x), t_1 < t' \leq t_n\}
@BeginDescription
@IfMan
For every adjacent sequence t_1, ...,t_n of time steps of the same day
,
it is
For every adjacent sequence t_1, ...,t_n of time steps of the same day it is
o(t,x) = std{i(t',x), t_1<t'<=t_n}
@EndifMan
@IfDoc
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day
,
it is: \\
For every adjacent sequence \begin{math}t_1, ...,t_n\end{math} of time steps of the same day it is: \\
@BeginMath
o(t,x) = \mbox{\bf std}\{i(t',x), t_1 < t' \leq t_n\}
@EndMath
...
...
@@ -151,7 +151,7 @@ o(t,x) = \mbox{\bf std}\{i(t',x), t_1 < t' \leq t_n\}
@BeginExample
To compute the daily mean of a time series
,
use:
To compute the daily mean of a time series use:
@BeginVerbatim
cdo daymean ifile ofile
@EndVerbatim
...
...
doc/tex/mod/Detrend
View file @
deb03f48
...
...
@@ -41,12 +41,12 @@ o(t,x) = i(t,x) - (a(x) + b(x)t)
@BeginNote
This operator has to keep the fields of all time steps concurrently in the memory.
If not enough memory is available
,
use the operators @mod{trend} and @mod{subtrend}.
If not enough memory is available use the operators @mod{trend} and @mod{subtrend}.
@EndNote
@BeginExample
To detrend the data in @file{ifile} and to store the detrended data in @file{ofile}
,
use:
To detrend the data in @file{ifile} and to store the detrended data in @file{ofile} use:
@BeginVerbatim
cdo detrend ifile ofile
@EndVerbatim
...
...
doc/tex/mod/Diff
View file @
deb03f48
...
...
@@ -9,7 +9,7 @@
@BeginDescription
Compares the contents of two datasets field by field. The input
datasets
must
have the same structure and
the
fields
must
have
datasets
need to
have the same structure and
its
fields
need to
have
the same header information and dimensions.
@EndDescription
@EndModule
...
...
@@ -22,13 +22,13 @@ the same header information and dimensions.
Provides statistics on differences between two datasets.
For each pair of fields the operator prints one line with the following information:
@BeginItemize
@Item =
d
ate and
t
ime
@Item =
c
ode number and
l
evel
@Item =
s
ize of the grid and number of
m
issing values
@Item =
o
ccurrence of coefficient pairs with different signs
@Item =
o
ccurrence of zero values
@Item =
m
axima of absolute difference of coefficient pairs
@Item =
m
axima of relative difference of non-zero coefficient pairs with equal signs
@Item =
D
ate and
T
ime
@Item =
C
ode number and
L
evel
@Item =
S
ize of the grid and number of
M
issing values
@Item =
O
ccurrence of coefficient pairs with different signs
(S)
@Item =
O
ccurrence of zero values
(Z)
@Item =
M
axima of absolute difference of coefficient pairs
@Item =
M
axima of relative difference of non-zero coefficient pairs with equal signs
@EndItemize
@EndDescription
@EndOperator
...
...
doc/tex/mod/EcaCdd
View file @
deb03f48
...
...
@@ -12,7 +12,7 @@ Let @file{ifile} be a time series of daily precipitation amounts RR,
then counted is the largest number of consecutive days where
RR is less than 1 mm. A further output variable is the number of dry
periods of more than 5 days.
The date information f
or
a time step in @file{ofile} is the date of
The date information
o
f a time step in @file{ofile} is the date of
the last contributing time step in @file{ifile}.
@EndDescription
@EndModule
...
...
@@ -24,8 +24,8 @@ the last contributing time step in @file{ifile}.
@BeginExample
To get the largest number of consecutive dry days f
or
a time series
of daily precipitation amounts
,
use:
To get the largest number of consecutive dry days
o
f a time series
of daily precipitation amounts use:
@BeginVerbatim
cdo eca_cdd rrfile ofile
@EndVerbatim
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment