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

Change help info format

parent 9e2347d5
......@@ -5,6 +5,8 @@
* New operator: abs (Math) [request: Reiner Schnur]
* enlarge: update for zonal and meridional data [request: Wolfgang Mueller]
* gradsdes: bug fix for unsorted GRIB data [report: Stefan Bauer]
* change help info format
* extent macro UNCHANGED_RECORD to cdoDefaultDataType and cdoDefaultByteorder
* Version 0.9.12 released
2006-03-08 Uwe Schulzweida <schulzweida@dkrz.de>
......
......@@ -15,6 +15,12 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
*/
#include <string.h>
#include "cdi.h"
......
......@@ -15,6 +15,13 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
Writerandom writerandom
*/
#include <string.h>
#include <math.h>
......@@ -23,23 +30,6 @@
#include "cdo_int.h"
#include "pstream.h"
/*
@BeginDoc
@BeginModule
@Name = Writerandom
@Title = Write random
@Section = Manipulating the header/field
@Class = Manipulation
@Arguments = ifile ofile
@Operators = writerandom
@EndModule
@EndDoc
*/
void *Writerandom(void *argument)
{
......
......@@ -2,7 +2,7 @@
This file is part of CDO. CDO is a collection of Operators to
manipulate and analyse Climate model Data.
Copyright (C) 2003-2005 Uwe Schulzweida, schulzweida@dkrz.de
Copyright (C) 2003-2006 Uwe Schulzweida, schulzweida@dkrz.de
See COPYING file for copying and redistribution conditions.
This program is free software; you can redistribute it and/or modify
......@@ -15,6 +15,17 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
Ydaystat ydaymin Multi-year daily minimum
Ydaystat ydaymax Multi-year daily maximum
Ydaystat ydaymean Multi-year daily mean
Ydaystat ydayavg Multi-year daily average
Ydaystat ydaystd Multi-year daily standard deviation
*/
#include <stdio.h>
#include <math.h>
......@@ -25,142 +36,6 @@
#include "field.h"
#include "dmemory.h"
/*
@BeginDoc
@BeginModule
@Name = Ydaystat
@Title = Multi-year daily statistics
@Section = Statistical description of the data
@Class = Statistic
@Arguments = ifile ofile
@Operators = ydaymin ydaymax ydaymean ydayavg ydaystd
@EndModule
@BeginOperator_ydaymin
@Title = Multi-year daily minimum
@BeginDescription
@IfMan
o(001,x) = min{i(t,x), day(i(t)) = 001}
...
o(366,x) = min{i(t,x), day(i(t)) = 366}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{001},x) = \mbox{\bf min}\{i(t,x), \mbox{day}(i(t)) = \mbox{001}\} \\
\vdots \\
o(\mbox{366},x) = \mbox{\bf min}\{i(t,x), \mbox{day}(i(t)) = \mbox{366}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ydaymax
@Title = Multi-year daily maximum
@BeginDescription
@IfMan
o(001,x) = max{i(t,x), day(i(t)) = 001}
...
o(366,x) = max{i(t,x), day(i(t)) = 366}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{001},x) = \mbox{\bf max}\{i(t,x), \mbox{day}(i(t)) = \mbox{001}\} \\
\vdots \\
o(\mbox{366},x) = \mbox{\bf max}\{i(t,x), \mbox{day}(i(t)) = \mbox{366}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ydaymean
@Title = Multi-year daily mean
@BeginDescription
@IfMan
o(001,x) = mean{i(t,x), day(i(t)) = 001}
...
o(366,x) = mean{i(t,x), day(i(t)) = 366}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{001},x) = \mbox{\bf mean}\{i(t,x), \mbox{day}(i(t)) = \mbox{001}\} \\
\vdots \\
o(\mbox{366},x) = \mbox{\bf mean}\{i(t,x), \mbox{day}(i(t)) = \mbox{366}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ydayavg
@Title = Multi-year daily average
@BeginDescription
@IfMan
o(001,x) = avg{i(t,x), day(i(t)) = 001}
...
o(366,x) = avg{i(t,x), day(i(t)) = 366}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{001},x) = \mbox{\bf avg}\{i(t,x), \mbox{day}(i(t)) = \mbox{001}\} \\
\vdots \\
o(\mbox{366},x) = \mbox{\bf avg}\{i(t,x), \mbox{day}(i(t)) = \mbox{366}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ydaystd
@Title = Multi-year daily standard deviation
@BeginDescription
@IfMan
o(001,x) = sqrt{var{i(t,x), day(i(t)) = 001}}
...
o(366,x) = sqrt{var{i(t,x), day(i(t)) = 366}}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{001},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{day}(i(t)) = \mbox{001}\}} \\
\vdots \\
o(\mbox{366},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{day}(i(t)) = \mbox{366}\}} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@EndDoc
*/
#define NDAY 373
......
......@@ -15,6 +15,16 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
Ymonarith ymonadd Add multi-year monthly time averages
Ymonarith ymonsub Subtract multi-year monthly time averages
Ymonarith ymonmul Multiply multi-year monthly time averages
Ymonarith ymondiv Divide multi-year monthly time averages
*/
#include <string.h>
#include "cdi.h"
......@@ -22,66 +32,6 @@
#include "cdo_int.h"
#include "pstream.h"
/*
@BeginDoc
@BeginModule
@Name = Ymonarith
@Title = Multi-year monthly arithmetic
@Section = Arithmetic
@Class = Arithmetic
@Arguments = ifile1 ifile2 ofile
@Operators = ymonadd ymonsub ymonmul ymondiv
@EndModule
@BeginOperator_ymonadd
@Title = Add multi-year monthly time averages
@BeginDescription
Add a time series and a multi-year monthly time averages.
@EndDescription
@EndOperator
@BeginOperator_ymonsub
@Title = Subtract multi-year monthly time averages
@BeginDescription
Subtract a time series and a multi-year monthly time averages.
@EndDescription
@EndOperator
@BeginOperator_ymonmul
@Title = Multiply multi-year monthly time averages
@BeginDescription
Multiply a time series and a multi-year monthly time averages.
@EndDescription
@EndOperator
@BeginOperator_ymondiv
@Title = Divide multi-year monthly time averages
@BeginDescription
Divide a time series and a multi-year monthly time averages.
@EndDescription
@EndOperator
@EndDoc
*/
#define MAX_MON 20
......
......@@ -2,7 +2,7 @@
This file is part of CDO. CDO is a collection of Operators to
manipulate and analyse Climate model Data.
Copyright (C) 2003-2005 Uwe Schulzweida, schulzweida@dkrz.de
Copyright (C) 2003-2006 Uwe Schulzweida, schulzweida@dkrz.de
See COPYING file for copying and redistribution conditions.
This program is free software; you can redistribute it and/or modify
......@@ -15,6 +15,17 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
Ymonstat ymonmin Multi-year monthly minimum
Ymonstat ymonmax Multi-year monthly maximum
Ymonstat ymonmean Multi-year monthly mean
Ymonstat ymonavg Multi-year monthly average
Ymonstat ymonstd Multi-year monthly standard deviation
*/
#include <stdio.h>
#include <math.h>
......@@ -25,142 +36,6 @@
#include "field.h"
#include "dmemory.h"
/*
@BeginDoc
@BeginModule
@Name = Ymonstat
@Title = Multi-year monthly statistics
@Section = Statistical description of the data
@Class = Statistic
@Arguments = ifile ofile
@Operators = ymonmin ymonmax ymonmean ymonavg ymonstd
@EndModule
@BeginOperator_ymonmin
@Title = Multi-year monthly minimum
@BeginDescription
@IfMan
o(01,x) = min{i(t,x), month(i(t)) = 01}
...
o(12,x) = min{i(t,x), month(i(t)) = 12}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{01},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{01}\} \\
\vdots \\
o(\mbox{12},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{12}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ymonmax
@Title = Multi-year monthly maximum
@BeginDescription
@IfMan
o(01,x) = max{i(t,x), month(i(t)) = 01}
...
o(12,x) = max{i(t,x), month(i(t)) = 12}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{01},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{01}\} \\
\vdots \\
o(\mbox{12},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{12}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ymonmean
@Title = Multi-year monthly mean
@BeginDescription
@IfMan
o(01,x) = mean{i(t,x), month(i(t)) = 01}
...
o(12,x) = mean{i(t,x), month(i(t)) = 12}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{01},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{01}\} \\
\vdots \\
o(\mbox{12},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{12}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ymonavg
@Title = Multi-year monthly average
@BeginDescription
@IfMan
o(01,x) = avg{i(t,x), month(i(t)) = 01}
...
o(12,x) = avg{i(t,x), month(i(t)) = 12}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{01},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{01}\} \\
\vdots \\
o(\mbox{12},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{12}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_ymonstd
@Title = Multi-year monthly standard deviation
@BeginDescription
@IfMan
o(01,x) = sqrt{var{i(t,x), month(i(t)) = 01}}
...
o(12,x) = sqrt{var{i(t,x), month(i(t)) = 12}}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{01},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{01}\}} \\
\vdots \\
o(\mbox{12},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{12}\}} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@EndDoc
*/
#define NMONTH 17
......
......@@ -2,7 +2,7 @@
This file is part of CDO. CDO is a collection of Operators to
manipulate and analyse Climate model Data.
Copyright (C) 2003-2005 Uwe Schulzweida, schulzweida@dkrz.de
Copyright (C) 2003-2006 Uwe Schulzweida, schulzweida@dkrz.de
See COPYING file for copying and redistribution conditions.
This program is free software; you can redistribute it and/or modify
......@@ -15,6 +15,17 @@
GNU General Public License for more details.
*/
/*
This module contains the following operators:
Yseasstat yseasmin Multi-year seasonally minimum
Yseasstat yseasmax Multi-year seasonally maximum
Yseasstat yseasmean Multi-year seasonally mean
Yseasstat yseasavg Multi-year seasonally average
Yseasstat yseasstd Multi-year seasonally standard deviation
*/
#include <stdio.h>
#include <math.h>
......@@ -25,152 +36,6 @@
#include "field.h"
#include "dmemory.h"
/*
@BeginDoc
@BeginModule
@Name = Yseasstat
@Title = Multi-year seasonally statistics
@Section = Statistical description of the data
@Class = Statistic
@Arguments = ifile ofile
@Operators = yseasmin yseasmax yseasmean yseasavg yseasstd
@EndModule
@BeginOperator_yseasmin
@Title = Multi-year seasonally minimum
@BeginDescription
@IfMan
o(1,x) = min{i(t,x), month(i(t)) = 12, 01, 02}
o(2,x) = min{i(t,x), month(i(t)) = 03, 04, 05}
o(3,x) = min{i(t,x), month(i(t)) = 06, 07, 08}
o(4,x) = min{i(t,x), month(i(t)) = 09, 10, 11}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{1},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{12, 01, 02}\} \\
o(\mbox{2},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{03, 04, 05}\} \\
o(\mbox{3},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{06, 07, 08}\} \\
o(\mbox{4},x) = \mbox{\bf min}\{i(t,x), \mbox{month}(i(t)) = \mbox{09, 10, 11}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_yseasmax
@Title = Multi-year seasonally maximum
@BeginDescription
@IfMan
o(1,x) = max{i(t,x), month(i(t)) = 12, 01, 02}
o(2,x) = max{i(t,x), month(i(t)) = 03, 04, 05}
o(3,x) = max{i(t,x), month(i(t)) = 06, 07, 08}
o(4,x) = max{i(t,x), month(i(t)) = 09, 10, 11}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{1},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{12, 01, 02}\} \\
o(\mbox{2},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{03, 04, 05}\} \\
o(\mbox{3},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{06, 07, 08}\} \\
o(\mbox{4},x) = \mbox{\bf max}\{i(t,x), \mbox{month}(i(t)) = \mbox{09, 10, 11}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_yseasmean
@Title = Multi-year seasonally mean
@BeginDescription
@IfMan
o(1,x) = mean{i(t,x), month(i(t)) = 12, 01, 02}
o(2,x) = mean{i(t,x), month(i(t)) = 03, 04, 05}
o(3,x) = mean{i(t,x), month(i(t)) = 06, 07, 08}
o(4,x) = mean{i(t,x), month(i(t)) = 09, 10, 11}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{1},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{12, 01, 02}\} \\
o(\mbox{2},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{03, 04, 05}\} \\
o(\mbox{3},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{06, 07, 08}\} \\
o(\mbox{4},x) = \mbox{\bf mean}\{i(t,x), \mbox{month}(i(t)) = \mbox{09, 10, 11}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_yseasavg
@Title = Multi-year seasonally average
@BeginDescription
@IfMan
o(1,x) = avg{i(t,x), month(i(t)) = 12, 01, 02}
o(2,x) = avg{i(t,x), month(i(t)) = 03, 04, 05}
o(3,x) = avg{i(t,x), month(i(t)) = 06, 07, 08}
o(4,x) = avg{i(t,x), month(i(t)) = 09, 10, 11}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{1},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{12, 01, 02}\} \\
o(\mbox{2},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{03, 04, 05}\} \\
o(\mbox{3},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{06, 07, 08}\} \\
o(\mbox{4},x) = \mbox{\bf avg}\{i(t,x), \mbox{month}(i(t)) = \mbox{09, 10, 11}\} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@BeginOperator_yseasstd
@Title = Multi-year seasonally standard deviation
@BeginDescription
@IfMan
o(1,x) = sqrt{var{i(t,x), month(i(t)) = 12, 01, 02}}
o(2,x) = sqrt{var{i(t,x), month(i(t)) = 03, 04, 05}}
o(3,x) = sqrt{var{i(t,x), month(i(t)) = 06, 07, 08}}
o(4,x) = sqrt{var{i(t,x), month(i(t)) = 09, 10, 11}}
@EndifMan
@IfDoc
@BeginMath
\begin{array}{c}
o(\mbox{1},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{12, 01, 02}\}} \\
o(\mbox{2},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{03, 04, 05}\}} \\
o(\mbox{3},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{06, 07, 08}\}} \\
o(\mbox{4},x) = \sqrt{\mbox{\bf var}\{i(t,x), \mbox{month}(i(t)) = \mbox{09, 10, 11}\}} \\
\end{array}
@EndMath
@EndifDoc
@EndDescription
@EndOperator
@EndDoc
*/
#define NSEAS 4
......
......@@ -15,100 +15,25 @@
GNU General Public License for more details.
*/