Commit afaddd39 authored by Uwe Schulzweida's avatar Uwe Schulzweida

Gridboxstat: added docu

parent c5d2b5a9
......@@ -109,6 +109,7 @@ doc/tex/mod/Fillmiss -text
doc/tex/mod/Fldstat -text
doc/tex/mod/Genweights -text
doc/tex/mod/Gradsdes -text
doc/tex/mod/Gridboxstat -text
doc/tex/mod/Gridcell -text
doc/tex/mod/Hi -text
doc/tex/mod/Histogram -text
......
2010-03-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* Released module Gridboxstat
2010-03-03 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* inputsrv: added level information (bug fix) [report: Simon Blessing]
......
......@@ -222,6 +222,13 @@ Operator catalog:
Merstat mervar Meridional variance
Merstat merstd Meridional standard deviation
Merstat merpctl Meridional percentiles
Gridboxstat gridboxmin Gridbox minimum
Gridboxstat gridboxmax Gridbox maximum
Gridboxstat gridboxsum Gridbox sum
Gridboxstat gridboxmean Gridbox mean
Gridboxstat gridboxavg Gridbox average
Gridboxstat gridboxvar Gridbox variance
Gridboxstat gridboxstd Gridbox standard deviation
Vertstat vertmin Vertical minimum
Vertstat vertmax Vertical maximum
Vertstat vertsum Vertical sum
......
......@@ -57,4 +57,4 @@ Porting:
Contact:
Send questions, comments and bug reports to Uwe.Schulzweida@zmaw.de
Send questions, comments and bug reports to <http://code.zmaw.de/projects/cdo>
......@@ -11,7 +11,7 @@ License: GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Group: Productivity/Graphics/Visualization/Other
Requires: netcdf
Autoreqprov: on
URL: http://www.mpimet.mpg.de/fileadmin/software/cdo/
URL: http://code.zmaw.de/projects/cdo
Source0: cdo-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
......@@ -27,7 +27,7 @@ Authors:
Uwe Schulzweida, Uwe.Schulzweida@zmaw.de, is the main author.
Luis Kornblueh, Luis.Kornblueh@zmaw.de
Ralf Quast, Ralf.Quast@brockmann-consult.de
Send questions, comments and bug reports to Uwe.Schulzweida@zmaw.de
Send questions, comments and bug reports to <http://code.zmaw.de/projects/cdo>
%prep
......
......@@ -2,7 +2,7 @@
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for cdo 1.4.3.1.
#
# Report bugs to <Uwe.Schulzweida@zmaw.de>.
# Report bugs to <http://code.zmaw.de/projects/cdo>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
......@@ -576,7 +576,7 @@ PACKAGE_NAME='cdo'
PACKAGE_TARNAME='cdo'
PACKAGE_VERSION='1.4.3.1'
PACKAGE_STRING='cdo 1.4.3.1'
PACKAGE_BUGREPORT='Uwe.Schulzweida@zmaw.de'
PACKAGE_BUGREPORT='http://code.zmaw.de/projects/cdo'
# Factoring default headers for most tests.
ac_includes_default="\
......@@ -1352,7 +1352,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <Uwe.Schulzweida@zmaw.de>.
Report bugs to <http://code.zmaw.de/projects/cdo>.
_ACEOF
ac_status=$?
fi
......@@ -6035,9 +6035,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -6639,9 +6639,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -6784,9 +6784,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -6929,9 +6929,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -7596,9 +7596,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -7815,9 +7815,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -8877,9 +8877,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......@@ -9149,9 +9149,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
## -------------------------------------- ##
## Report this to Uwe.Schulzweida@zmaw.de ##
## -------------------------------------- ##
## ----------------------------------------------- ##
## Report this to http://code.zmaw.de/projects/cdo ##
## ----------------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
......
# Process this file with autoconf to produce a configure script.
AC_INIT(cdo, 1.4.3.1, Uwe.Schulzweida@zmaw.de)
AC_INIT([cdo], [1.4.3.1], [http://code.zmaw.de/projects/cdo])
CONFIG_ABORT=yes
......
......@@ -42,6 +42,7 @@ Ensstat Statistical values
Fldstat Statistical values
Zonstat Statistical values
Merstat Statistical values
Gridboxstat Statistical values
Vertstat Statistical values
Timselstat Statistical values
Timselpctl Statistical values
......
......@@ -180,7 +180,7 @@ INTEGER Percentile number in {1, ..., 99}
@c @BeginNote
@c Use CDO option '-v' in order to get the geographic position of the
@c Use CDO option '-v' in order to print the geographic position of the
@c minimum and maximum to stdout.
@c @EndNote
......
@BeginModule
@NewPage
@Name = Gridboxstat
@Title = Statistical values over grid boxes
@Section = Statistical values
@Class = Statistic
@Arguments = ifile ofile
@Operators = gridboxmin gridboxmax gridboxsum gridboxmean gridboxavg gridboxvar gridboxstd
@BeginDescription
This module computes statistical values over surrounding grid boxes.
According to the chosen operator the minimum, maximum, sum, average,
variance, or standard deviation of the neighboring grid boxes is written to @file{ofile}.
All gridbox operators only works on quadrilateral curvilinear grids.
@EndDescription
@EndModule
@BeginOperator_gridboxmin
@Title = Gridbox minimum
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxmax
@Title = Gridbox maximum
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxsum
@Title = Gridbox sum
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxmean
@Title = Gridbox mean
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxavg
@Title = Gridbox average
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxvar
@Title = Gridbox variance
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginOperator_gridboxstd
@Title = Gridbox standard deviation
@Parameter = nx, ny
@BeginDescription
@EndDescription
@EndOperator
@BeginParameter
@Item = nx
INTEGER Number of grid boxes in x direction
@Item = ny
INTEGER Number of grid boxes in y direction
@EndParameter
@BeginExample
To compute the mean over 10x10 grid boxes of the input field use:
@BeginVerbatim
cdo gridboxmean,10,10 ifile ofile
@EndVerbatim
@EndExample
......@@ -495,7 +495,7 @@ static modules_t Modules[] =
{ Fourier, NULL, FourierOperators, CDI_COMP, 1, 1 },
{ Gengrid, NULL, GengridOperators, CDI_REAL, 2, 1 },
{ Gradsdes, GradsdesHelp, GradsdesOperators, CDI_REAL, 1, 0 },
{ Gridboxstat, NULL, GridboxstatOperators, CDI_REAL, 1, 1 },
{ Gridboxstat, GridboxstatHelp, GridboxstatOperators, CDI_REAL, 1, 1 },
{ Gridcell, GridcellHelp, GridcellOperators, CDI_REAL, 1, 1 },
{ Harmonic, NULL, HarmonicOperators, CDI_REAL, 1, 1 },
{ Histogram, HistogramHelp, HistogramOperators, CDI_REAL, 1, 1 },
......
......@@ -1227,7 +1227,8 @@ static char *ArithdaysHelp[] = {
"",
"DESCRIPTION",
" This module multiplies or divides each time step of a dataset with the corresponding",
" days per month or days per year.",
" days per month or days per year. The result of these functions depends on the used",
" calendar of the input data.",
"",
"OPERATORS",
" muldpm Multiply with days per month",
......@@ -1440,6 +1441,35 @@ static char *MerstatHelp[] = {
NULL
};
static char *GridboxstatHelp[] = {
"NAME",
" gridboxmin, gridboxmax, gridboxsum, gridboxmean, gridboxavg, gridboxvar, ",
" gridboxstd - Statistical values over grid boxes",
"",
"SYNOPSIS",
" <operator>,nx,,ny ifile ofile",
"",
"DESCRIPTION",
" This module computes statistical values over surrounding grid boxes.",
" According to the chosen operator the minimum, maximum, sum, average, ",
" variance, or standard deviation of the neighboring grid boxes is written to ofile.",
" All gridbox operators only works on quadrilateral curvilinear grids.",
"",
"OPERATORS",
" gridboxmin Gridbox minimum",
" gridboxmax Gridbox maximum",
" gridboxsum Gridbox sum",
" gridboxmean Gridbox mean",
" gridboxavg Gridbox average",
" gridboxvar Gridbox variance",
" gridboxstd Gridbox standard deviation",
"",
"PARAMETER",
" nx INTEGER Number of grid boxes in x direction",
" ny INTEGER Number of grid boxes in y direction",
NULL
};
static char *VertstatHelp[] = {
"NAME",
" vertmin, vertmax, vertsum, vertmean, vertavg, vertvar, vertstd - ",
......@@ -3580,8 +3610,8 @@ static char *EcaGslHelp[] = {
" Let ifile1 be a time series of daily mean temperatures TG,",
" and ifile2 be a land-water mask.",
" Within a period of 12 months, the thermal growing season length is officially defined as the number of days between:",
" - frist occurrence of at least nday consecutive days with TG > T within the first 6 months",
" - first occurrence of at least nday consecutive days with TG < T within the last 6 months",
" - frist occurrence of at least nday consecutive days with TG $>$ T within the first 6 months",
" - first occurrence of at least nday consecutive days with TG $<$ T within the last 6 months",
" On northern hemispere, this period corresponds with the regular year, whereas",
" on southern hemispere, it starts at july $1^{st}$. Please note, that this",
" definition may lead to weird results concerning values TG = T: In the first",
......
Markdown is supported
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