Commit 4dabc9a8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Docu update

parent 6cb75f90
......@@ -58,7 +58,6 @@ case "${HOSTNAME}" in
if [ "$SGE_MODE" = "off" ] ; then
${CONFPATH}configure --prefix=$HOME/local --exec_prefix=$HOME/local/etch-x64 \
--with-netcdf=/sw/etch-x64/netcdf-3.6.1 \
--with-hdf5=/sw/etch-x64/hdf5-1.8.0-b3-openmpi \
--with-szlib=/sw/etch-x64/szip-2.1 \
--with-proj=$HOME/local/etch-x64/proj-4.6.1 \
CC=gcc CFLAGS="-g -D_REENTRANT -O2 -Wall"
......
No preview for this file type
......@@ -79,14 +79,14 @@ Here is an example for the {\CDO} description of a curvilinear grid.
xvals/yvals describes the position of the 6x5 quadrilateral grid cells.
The first 4 values of xbounds/ybounds are the corners of the first grid cell.
\begin{lstlisting}[frame=single, backgroundcolor=\color{zebg}, basicstyle=\footnotesize]
gridtype : curvilinear
gridsize : 30
xsize : 6
ysize : 5
xvals : -21 -11 0 11 21 30 -25 -13 0 13
gridtype = curvilinear
gridsize = 30
xsize = 6
ysize = 5
xvals = -21 -11 0 11 21 30 -25 -13 0 13
25 36 -31 -16 0 16 31 43 -38 -21
0 21 38 52 -51 -30 0 30 51 64
xbounds : -23 -14 -17 -28 -14 -5 -6 -17 -5 5 6 -6
xbounds = -23 -14 -17 -28 -14 -5 -6 -17 -5 5 6 -6
5 14 17 6 14 23 28 17 23 32 38 28
-28 -17 -21 -34 -17 -6 -7 -21 -6 6 7 -7
6 17 21 7 17 28 34 21 28 38 44 34
......@@ -96,10 +96,10 @@ xbounds : -23 -14 -17 -28 -14 -5 -6 -17 -5 5 6 -
9 27 35 13 27 41 51 35 41 52 63 51
-51 -35 -51 -67 -35 -13 -21 -51 -13 13 21 -21
13 35 51 21 35 51 67 51 51 63 77 67
yvals : 29 32 32 32 29 26 39 42 42 42
yvals = 29 32 32 32 29 26 39 42 42 42
39 35 48 51 52 51 48 43 57 61
62 61 57 51 65 70 72 70 65 58
ybounds : 23 26 36 32 26 27 37 36 27 27 37 37
ybounds = 23 26 36 32 26 27 37 36 27 27 37 37
27 26 36 37 26 23 32 36 23 19 28 32
32 36 45 41 36 37 47 45 37 37 47 47
37 36 45 47 36 32 41 45 32 28 36 41
......@@ -122,13 +122,13 @@ Here is an example of the {\CDO} description for unstructured grid cells.
xvals/yvals describes the position of 30 independent hexagonal grid cells.
The first 6 values of xbounds/ybounds are the corners of the first grid cell.
\begin{lstlisting}[frame=single, backgroundcolor=\color{zebg}, basicstyle=\footnotesize]
gridtype : cell
gridsize : 30
nvertex : 6
xvals : -36 36 0 -18 18 108 72 54 90 180
gridtype = cell
gridsize = 30
nvertex = 6
xvals = -36 36 0 -18 18 108 72 54 90 180
144 126 162 -108 -144 -162 -126 -72 -90 -54
0 72 36 144 108 -144 180 -72 -108 -36
xbounds : 339 0 0 288 288 309 21 51 72 72 0 0
xbounds = 339 0 0 288 288 309 21 51 72 72 0 0
0 16 21 0 339 344 340 0 -0 344 324 324
20 36 36 16 0 0 93 123 144 144 72 72
72 88 93 72 51 56 52 72 72 56 36 36
......@@ -143,10 +143,10 @@ xbounds : 339 0 0 288 288 309 21 51 72 72 0 0
92 87 108 129 124 108 180 180 252 252 231 201
164 159 180 201 196 180 252 252 324 324 303 273
236 231 252 273 268 252 308 303 324 345 340 324
yvals : 58 58 32 0 0 58 32 0 0 58
yvals = 58 58 32 0 0 58 32 0 0 58
32 0 0 58 32 0 0 32 0 0
-58 -58 -32 -58 -32 -58 -32 -58 -32 -32
ybounds : 41 53 71 71 53 41 41 41 53 71 71 53
ybounds = 41 53 71 71 53 41 41 41 53 71 71 53
11 19 41 53 41 19 -19 -7 11 19 7 -11
-19 -11 7 19 11 -7 41 41 53 71 71 53
11 19 41 53 41 19 -19 -7 11 19 7 -11
......
......@@ -11,7 +11,7 @@ First go to the \href{http://www.mpimet.mpg.de/cdo}{\tt download} page
if you do not have it yet.
To take full advantage of {\CDO} features the following additional
libraries should be installed.
libraries should be installed:
\begin{itemize}
\item Unidata \href{http://www.unidata.ucar.edu/packages/netcdf}{netCDF} library
......
......@@ -59,10 +59,14 @@ int genBoxGrid(int gridID1, int xinc, int yinc)
gridtype = gridInqType(gridID1);
gridsize1 = gridInqSize(gridID1);
if ( ! circular )
fprintf(stderr, "grid is not circular\n");
else
fprintf(stderr, "grid is circular\n");
if ( cdoVerbose )
{
if ( ! circular )
fprintf(stderr, "grid is not circular\n");
else
fprintf(stderr, "grid is circular\n");
}
if ( xinc < 1 || yinc < 1 )
cdoAbort("xinc and yinc must not be smaller than 1");
......
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