Commit 801f2e0d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Outputgmt: docu update

parent b1a9775d
......@@ -501,8 +501,8 @@ Operator catalog:
Output outputsrv SERVICE ASCII output
Output outputext EXTRA ASCII output
Outputtab outputtab Table output
Outputgmt outputcenter Output grid center
Outputgmt outputbounds Output grid bounds
Outputgmt gmtxyz GMT xyz format
Outputgmt gmtcells GMT multiple segment format
-------------------------------------------------------------
Miscellaneous
-------------------------------------------------------------
......
......@@ -25,6 +25,13 @@
{Max Planck Institute for Meteorologie}
\bibitem[GMT]{GMT} \ \\
\href{http://gmt.soest.hawaii.edu/gmt4/}
{The Generic Mapping Tool},
from the School of Ocean and Earth Science and Technology
(\href{http://www.soest.hawaii.edu/}{SOEST})
\bibitem[GrADS]{GrADS} \ \\
\href{http://www.iges.org/grads/}
{Grid Analysis and Display System},
......
......@@ -43,7 +43,7 @@ Here is a list of all common plot parameters:
@BeginDescription
The operator @bold{contour} generates the discrete contour lines of the input field values.
The following additional parameters are valid for contour operator,
in addition to the common plot parameters:
modulein addition to the common plot parameters:
@BeginTable
@bold{Keyname} & @bold{Type} & @bold{Description}
......
@BeginModule
@NewPage
@Name = Outputgmt
@Title = Formatted GMT output
@Title = GMT output
@Section = Import/Export
@Arguments = ifiles
@Operators = outputcenter outputbounds
@Arguments = ifile
@Operators = gmtxyz gmtcells
@BeginDescription
This module prints the first field of the input dataset to standard output.
The output can be used to generate 2D Lon/Lat plots with @cite{GMT}.
The format of the output depends on the chosen operator.
@EndDescription
@EndModule
@BeginOperator_outputcenter
@BeginOperator_gmtxyz
@Title = Output grid center
@Title = GMT xyz format
@BeginDescription
The operator exports the first field to the GMT xyz ASCII format.
The output can be used to create contour plots with the GMT module pscontour.
@EndDescription
@EndOperator
@BeginOperator_outputbounds
@BeginOperator_gmtcells
@Title = Output grid bounds
@Title = GMT multiple segment format
@BeginDescription
The operator exports the first field to the GMT multiple segment ASCII format.
The output can be used to create shaded gridfill plots with the GMT module psxy.
@EndDescription
@EndOperator
......@@ -32,7 +40,7 @@
1) GMT shaded contour plot of a global temperature field with a resolution of 4 degree.
The contour interval is 3 with a rainbow color table.
@BeginVerbatim
cdo outputcenter -temp,global_4 > data.gmt
cdo gmtxyz temp > data.gmt
makecpt -T213/318/3 -Crainbow > gmt.cpt
pscontour -K -JQ0/10i -Rd -I -Cgmt.cpt data.gmt > gmtplot.ps
pscoast -O -J -R -Dc -W -B40g20 >> gmtplot.ps
......@@ -48,7 +56,7 @@ The contour interval is 3 with a rainbow color table.
2) GMT shaded gridfill plot of a global temperature field with a resolution of 4 degree.
The contour interval is 3 with a rainbow color table.
@BeginVerbatim
cdo outputbounds -temp,global_4 > data.gmt
cdo gmtcells temp > data.gmt
makecpt -T213/318/3 -Crainbow > gmt.cpt
psxy -K -JQ0/10i -Rd -L -Cgmt.cpt -m data.gmt > gmtplot.ps
pscoast -O -J -R -Dc -W -B40g20 >> gmtplot.ps
......
......@@ -228,9 +228,11 @@ void *Outputgmt(void *argument)
cdoInitialize(argument);
int OUTPUTCENTER = cdoOperatorAdd("gmtxyz", 0, 0, NULL);
int OUTPUTCENTER = cdoOperatorAdd("outputcenter", 0, 0, NULL);
int OUTPUTCENTER2 = cdoOperatorAdd("outputcenter2", 0, 0, NULL);
int OUTPUTCENTERCPT = cdoOperatorAdd("outputcentercpt", 0, 0, NULL);
int OUTPUTBOUNDS = cdoOperatorAdd("gmtcells", 0, 0, NULL);
int OUTPUTBOUNDS = cdoOperatorAdd("outputbounds", 0, 0, NULL);
int OUTPUTBOUNDSCPT = cdoOperatorAdd("outputboundscpt", 0, 0, NULL);
int OUTPUTVECTOR = cdoOperatorAdd("outputvector", 0, 0, NULL);
......
......@@ -369,7 +369,7 @@ void *Maggraph(void *argument);
#define OutputOperators {"output", "outputint", "outputsrv", "outputext", "outputf", "outputts", \
"outputfld", "outputarr", "outputxyz"}
#define OutputtabOperators {"outputtab"}
#define OutputgmtOperators {"outputcenter", "outputcenter2", "outputcentercpt", "outputbounds", \
#define OutputgmtOperators {"gmtxyz", "gmtcells", "outputcenter", "outputcenter2", "outputcentercpt", "outputbounds", \
"outputboundscpt", "outputvector", "outputtri", "outputvrml"}
#define PackOperators {"pack"}
#define PardupOperators {"pardup", "parmul"}
......
......@@ -4246,16 +4246,23 @@ static const char *OutputtabHelp[] = {
static const char *OutputgmtHelp[] = {
"NAME",
" outputcenter, outputbounds - Formatted GMT output",
" gmtxyz, gmtcells - GMT output",
"",
"SYNOPSIS",
" <operator> ifiles",
" <operator> ifile",
"",
"DESCRIPTION",
" This module prints the first field of the input dataset to standard output.",
" The output can be used to generate 2D Lon/Lat plots with GMT.",
" The format of the output depends on the chosen operator.",
"",
"OPERATORS",
" outputcenter Output grid center",
" outputbounds Output grid bounds",
" gmtxyz GMT xyz format",
" The operator exports the first field to the GMT xyz ASCII format.",
" The output can be used to create contour plots with the GMT module pscontour.",
" gmtcells GMT multiple segment format",
" The operator exports the first field to the GMT multiple segment ASCII format.",
" The output can be used to create shaded gridfill plots with the GMT module psxy.",
NULL
};
......@@ -4873,7 +4880,7 @@ static const char *MagplotHelp[] = {
" contour Contour plot",
" The operator contour generates the discrete contour lines of the input field values.",
" The following additional parameters are valid for contour operator,",
" in addition to the common plot parameters:",
" modulein addition to the common plot parameters:",
" ",
" Keyname & Type & Description ",
" colour & STRING & Colour for drawing the contours",
......
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