Commit 425be745 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Upgrade outdated tex format.

parent 6cbd7793
......@@ -80,13 +80,13 @@ The following table describes the environment variables that affect {\CDO}.
\hline
\rowcolor{pcolor2}
%\cellcolor{pcolor2}
{\bf Variable name} & {\bf Default} & {\bf Description} \\ \hline
\textbf{Variable name} & \textbf{Default} & \textbf{Description} \\ \hline
CDO\_FILE\_SUFFIX & None & Default file suffix. This suffix will be added to the output file \\
& & name instead of the filename extension derived from the file \\
& & format. NULL will disable the adding of a file suffix. \\ \hline
CDO\_HISTORY\_INFO & 1 & Append NetCDF global attribute histroy \\ \hline
CDO\_PCTL\_NBINS & 101 & Number of histogram bins. \\ \hline
CDO\_RESET\_HISTORY & 0 & Set to 1 to reset the NetCDF {\it history} global attribute.\\ \hline
CDO\_RESET\_HISTORY & 0 & Set to 1 to reset the NetCDF \textit{history} global attribute.\\ \hline
CDO\_REMAP\_NORM & fracarea & Choose the normalization for the conservative interpolation \\ \hline
CDO\_GRIDSEARCH\_RADIUS & 180 & Grid search radius in degree. Used by the operators \\
& & setmisstonn, remapdis and remapnn. \\ \hline
......@@ -108,7 +108,7 @@ The following CF standard names are supported by {\CDO}.
\hline
\rowcolor{pcolor2}
%\cellcolor{pcolor2}
{\bf CF standard name} & Units & {\bf GRIB 1 code} & {\bf variable name} \\ \hline
\textbf{CF standard name} & \textbf{Units} & \textbf{GRIB 1 code} & \textbf{variable name} \\ \hline
surface\_geopotential & m2 s-2 & 129 & geosp \\ \hline
air\_temperature & K & 130 & ta \\ \hline
specific\_humidity & 1 & 133 & hus \\ \hline
......
......@@ -98,8 +98,8 @@ keepaspectratio]{cdo_libdep.pdf}}%
%cat > cdo.ist << 'EOF'
%delim_0 "{\\idxdotfill} "
%headings_flag 1
%heading_prefix "{\\centerline {\\Large \\bf "
%heading_suffix "}}"
%heading_prefix "{\\centerline {\\Large \\textbf{"
%heading_suffix "}}}"
%EOF
%makeindex -s cdo.ist cdo.idx
%pdflatex cdo
......@@ -188,7 +188,7 @@ keepaspectratio]{cdo_libdep.pdf}}%
\begin{titlepage}
\vspace*{50mm}
%\vspace*{25mm}
{\Huge{\CDO}} \ {\Huge\bf User's Guide}
{\Huge{\CDO}} \ {\Huge \textbf{User's Guide}}
\setlength{\unitlength}{1cm}
\begin{picture}(16,0.4)
......@@ -198,15 +198,12 @@ keepaspectratio]{cdo_libdep.pdf}}%
\end{picture}
\begin{flushright}
\large\bf{Climate Data Operators \\ Version 1.8.0 \\ October 2016}
\large \textbf{Climate Data Operators \\ Version 1.8.0 \\ January 2017}
\end{flushright}
\vfill
\Large{\bf Uwe Schulzweida -- \sl MPI for Meteorology}
%\Large{\bf Uwe Schulzweida, Luis Kornblueh -- \sl MPI for Meteorology}
%\Large{\bf Ralf Quast -- \sl Brockmann Consult}
\Large{\textbf{Uwe Schulzweida} -- \textsl{MPI for Meteorology}}
\begin{picture}(16,1)
\linethickness{1.0mm}
......
......@@ -80,8 +80,8 @@
%cat > cdo.ist << 'EOF'
%delim_0 "{\\idxdotfill} "
%headings_flag 1
%heading_prefix "{\\centerline {\\Large \\bf "
%heading_suffix "}}"
%heading_prefix "{\\centerline {\\Large \\textbf{"
%heading_suffix "}}}"
%EOF
%makeindex -s cdo.ist cdo.idx
%pdflatex cdo
......@@ -168,7 +168,7 @@
\begin{titlepage}
\vspace*{50mm}
{\Huge{\bf CMOR support in \CDO}}
{\Huge\textbf{CMOR support in \CDO}}
\setlength{\unitlength}{1cm}
\begin{picture}(16,0.4)
......@@ -177,18 +177,18 @@
\put(0,0.1){\line(1,0){16.3}}
\end{picture}
\begin{flushright}
\large\bf{CMORizing of climate model data \\ October 2016}
\large\textbf{CMORizing of climate model data \\ January 2017}
\end{flushright}
\vfill
\Large{\bf Karl--Hermann Wieners, Uwe Schulzweida}
\Large\textbf{Karl--Hermann Wieners, Uwe Schulzweida}
\Large{\sl Max Planck Institute for Meteorology}
\Large\textsl{Max Planck Institute for Meteorology}
\Large{\bf Mathis Rosenhauer}
\Large\textbf{Mathis Rosenhauer}
\Large{\sl Deutsches Klimarechenzentrum (DKRZ)}
\Large\textsl{Deutsches Klimarechenzentrum (DKRZ)}
\begin{picture}(16,1)
\linethickness{1.0mm}
......
......@@ -80,8 +80,8 @@
%cat > cdo.ist << 'EOF'
%delim_0 "{\\idxdotfill} "
%headings_flag 1
%heading_prefix "{\\centerline {\\Large \\bf "
%heading_suffix "}}"
%heading_prefix "{\\centerline {\\Large \\textbf{"
%heading_suffix "}}}"
%EOF
%makeindex -s cdo.ist cdo.idx
%pdflatex cdo
......@@ -168,7 +168,7 @@
\begin{titlepage}
\vspace*{50mm}
{\Huge{\bf Climate indices with \CDO}}
{\Huge{\textbf{Climate indices with \CDO}}}
\setlength{\unitlength}{1cm}
\begin{picture}(16,0.4)
......@@ -177,14 +177,14 @@
\put(0,0.1){\line(1,0){16.3}}
\end{picture}
\begin{flushright}
\large\bf{Climate indices of daily temperature and precipitation extremes \\ October 2015}
\large\textbf{Climate indices of daily temperature and precipitation extremes \\ October 2015}
\end{flushright}
\vfill
\Large{\bf Uwe Schulzweida -- \sl MPI for Meteorology}
\Large{\textbf{Uwe Schulzweida} -- \textsl{MPI for Meteorology}}
\Large{\bf Ralf Quast -- \sl Brockmann Consult}
\Large{\textbf{Ralf Quast} -- \textsl{Brockmann Consult}}
\begin{picture}(16,1)
\linethickness{1.0mm}
......
......@@ -80,8 +80,8 @@
%cat > cdo.ist << 'EOF'
%delim_0 "{\\idxdotfill} "
%headings_flag 1
%heading_prefix "{\\centerline {\\Large \\bf "
%heading_suffix "}}"
%heading_prefix "{\\centerline {\\Large \\textbf{ "
%heading_suffix "}}}"
%EOF
%makeindex -s cdo.ist cdo.idx
%pdflatex cdo
......@@ -168,7 +168,7 @@
\begin{titlepage}
\vspace*{50mm}
{\Huge{\bf Magics support in \CDO}}
{\Huge\textbf{Magics support in \CDO}}
\setlength{\unitlength}{1cm}
\begin{picture}(16,0.4)
......@@ -177,14 +177,14 @@
\put(0,0.1){\line(1,0){16.3}}
\end{picture}
\begin{flushright}
\large\bf{Creating of contour, vector and graph plots \\ January 2016}
\large\textbf{Creating of contour, vector and graph plots \\ January 2016}
\end{flushright}
\vfill
\Large{\bf Kameswarrao Modali, Ralf M\"uller, Uwe Schulzweida}
\Large\textbf{Kameswarrao Modali, Ralf M\"uller, Uwe Schulzweida}
\Large{\sl Max Planck Institute for Meteorology}
\Large\textsl{Max Planck Institute for Meteorology}
\begin{picture}(16,1)
\linethickness{1.0mm}
......
......@@ -12,7 +12,7 @@ The following {\CDO} operators are parallelized with OpenMP:
\hline
\rowcolor{pcolor2}
%\cellcolor{pcolor2}
{\bf Module} & {\bf Operator} & {\bf Description} \\ \hline
\textbf{Module} & \textbf{Operator} & \textbf{Description} \\ \hline
Detrend & detrend & Detrend \\ \hline
Ensstat & ensmin & Ensemble minimum \\ \hline
Ensstat & ensmax & Ensemble maximum \\ \hline
......
......@@ -2,19 +2,19 @@
%\chapter{\label{refman}Reference manual for all operators}
This section gives a description of all operators. 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 arbitrary number of input files are named {\tt ifiles}.
All output files are named {\tt ofile} or {\tt ofile1}, {\tt ofile2}, etc.
For easier description all single input files are named \texttt{ifile} or \texttt{ifile1}, \texttt{ifile2}, etc.,
and an arbitrary number of input files are named \texttt{ifiles}.
All output files are named \texttt{ofile} or \texttt{ofile1}, \texttt{ofile2}, etc.
Further the following notion is introduced:
\begin{defalist}{{\em o(t,x)}}
\item[\(i(t)\)\hfill]
Timestep \(t\) of {\tt ifile}
Timestep \(t\) of \texttt{ifile}
\item[\(i(t,x)\)\hfill]
Element number \(x\) of the field at timestep \(t\) of {\tt ifile}
Element number \(x\) of the field at timestep \(t\) of \texttt{ifile}
\item[\(o(t)\)\hfill]
Timestep \(t\) of {\tt ofile}
Timestep \(t\) of \texttt{ofile}
\item[\(o(t,x)\)\hfill]
Element number \(x\) of the field at timestep \(t\) of {\tt ofile}
Element number \(x\) of the field at timestep \(t\) of \texttt{ofile}
\end{defalist}
%A field is a horizontal slice of a variable on a spezific level.
......
......@@ -5,8 +5,8 @@
\newcommand{\CDO}{{\bfseries\sffamily CDO\ }}
\newcommand{\cdologo}{\includegraphics{logo/cdo_logo}}
\vspace*{0mm}
{\LARGE\CDO \bf Reference Card}
%{\raisebox{-2.5mm}{\scalebox{0.25}{\cdologo}}}{\LARGE\bf{\ Reference Card}}
{\LARGE\CDO \textbf{Reference Card}}
%{\raisebox{-2.5mm}{\scalebox{0.25}{\cdologo}}}{\LARGE\textbf{\ Reference Card}}
\setlength{\unitlength}{1in}
\begin{picture}(3.95,0.0)
......@@ -14,7 +14,7 @@
\put(0,0.0){\line(1,0){3.95}}
\end{picture}
\begin{flushright}
{\small{Climate Data Operators \\ Version 1.8.0 \\ October 2016}}
{\small{Climate Data Operators \\ Version 1.8.0 \\ January 2017}}
\end{flushright}
\vspace*{0mm}
......@@ -31,34 +31,34 @@
\vspace*{2mm}
\subsection*{Syntax}
\framebox[3.95in][l]{
{\bf{cdo \ \ [Options] \ \ Operator1 [ --Operator2 [ --OperatorN ] ]}}
{\textbf{cdo \ \ [Options] \ \ Operator1 [ --Operator2 [ --OperatorN ] ]}}
}
\vspace*{2mm}
\subsection*{Options}
\noindent
\begin{tabular*}{3.95in}{|>{\columncolor{pcolor2}}l>{\columncolor{pcolor1}}l|} \hline
\makebox[0.85in][l]{{\bf{-a}} } & \makebox[2.76in][l]{Generate 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]{{\textbf{-a}} } & \makebox[2.76in][l]{Generate an absolute time axis} \\ %\hline
\makebox[0.85in][l]{{\textbf{-b}} $<\!nbits\!>$ } & \makebox[2.76in][l]{Set the number of bits for the output precision} \\
& (I8/I16/I32/F32/F64 for nc1,nc2,nc4,nc4c; \\
& F32/F64 for grb2,srv,ext,ieg; 1-24 for grb1,grb2) \\
& Add L or B for Little or Big endian byteorder\\ %\hline
\makebox[0.85in][l]{{\bf{-f}} $<\!format\!>$ } & \makebox[2.76in][l]{Outputformat: grb1,grb2,nc1,nc2,nc4,nc4c,srv,ext,ieg} \\ %\hline
\makebox[0.85in][l]{{\bf{-g}} $<\!grid\!>$ } & \makebox[2.76in][l]{Grid or file name} \\
& Grid names: {\tt r<NX>x<NY>}, {\tt n<N>}, {\tt gme<NI>} \\ %\hline
\makebox[0.85in][l]{{\bf{-h}} } & \makebox[2.76in][l]{Help information for the operators} \\ %\hline
\makebox[0.85in][l]{{\bf{-M}} } & \makebox[2.76in][l]{Indicate that the I/O streams have missing values} \\ %\hline
\makebox[0.85in][l]{{\bf{-m}} $<\!missval\!>$ } & \makebox[2.76in][l]{Set the default missing value (default: {\tt-9e+33})} \\ %\hline
\makebox[0.85in][l]{{\bf{-O}} } & \makebox[2.76in][l]{Overwrite existing output file, if checked} \\ %\hline
\makebox[0.85in][l]{{\bf{-R}} } & \makebox[2.76in][l]{Convert GRIB1 data from reduced to regular grid} \\ %\hline
\makebox[0.85in][l]{{\bf{-r}} } & \makebox[2.76in][l]{Generate a relative time axis} \\ %\hline
\makebox[0.85in][l]{{\bf{-s}} } & \makebox[2.76in][l]{Silent mode} \\ %\hline
\makebox[0.85in][l]{{\bf{-t}} $<\!table\!>$ } & \makebox[2.76in][l]{Set the parameter table name or file} \\
\makebox[0.85in][l]{{\textbf{-f}} $<\!format\!>$ } & \makebox[2.76in][l]{Outputformat: grb1,grb2,nc1,nc2,nc4,nc4c,srv,ext,ieg} \\ %\hline
\makebox[0.85in][l]{{\textbf{-g}} $<\!grid\!>$ } & \makebox[2.76in][l]{Grid or file name} \\
& Grid names: \texttt{r<NX>x<NY>}, \texttt{n<N>}, \texttt{gme<NI>} \\ %\hline
\makebox[0.85in][l]{{\textbf{-h}} } & \makebox[2.76in][l]{Help information for the operators} \\ %\hline
\makebox[0.85in][l]{{\textbf{-M}} } & \makebox[2.76in][l]{Indicate that the I/O streams have missing values} \\ %\hline
\makebox[0.85in][l]{{\textbf{-m}} $<\!missval\!>$ } & \makebox[2.76in][l]{Set the default missing value (default: {\tt-9e+33})} \\ %\hline
\makebox[0.85in][l]{{\textbf{-O}} } & \makebox[2.76in][l]{Overwrite existing output file, if checked} \\ %\hline
\makebox[0.85in][l]{{\textbf{-R}} } & \makebox[2.76in][l]{Convert GRIB1 data from reduced to regular grid} \\ %\hline
\makebox[0.85in][l]{{\textbf{-r}} } & \makebox[2.76in][l]{Generate a relative time axis} \\ %\hline
\makebox[0.85in][l]{{\textbf{-s}} } & \makebox[2.76in][l]{Silent mode} \\ %\hline
\makebox[0.85in][l]{{\textbf{-t}} $<\!table\!>$ } & \makebox[2.76in][l]{Set the parameter table name or file} \\
& Predefined tables: echam4 echam5 mpiom1 \\ %\hline
\makebox[0.85in][l]{{\bf{-V}} } & \makebox[2.76in][l]{Print the version number} \\ %\hline
\makebox[0.85in][l]{{\bf{-v}} } & \makebox[2.76in][l]{Print extra details for some operators} \\ %\hline
\makebox[0.85in][l]{{\bf{-z}} szip } & \makebox[2.76in][l]{SZIP compression of GRIB1 records} \\ \hline
% \makebox[0.85in][l]{{\bf{\ \ }} jpeg } & \makebox[2.76in][l]{JPEG compression of GRIB2 records} \\ %\hline
% \makebox[0.85in][l]{{\bf{\ \ }} zip } & \makebox[2.76in][l]{Deflate compression of NetCDF4 variables} \\ %\hline
\makebox[0.85in][l]{{\textbf{-V}} } & \makebox[2.76in][l]{Print the version number} \\ %\hline
\makebox[0.85in][l]{{\textbf{-v}} } & \makebox[2.76in][l]{Print extra details for some operators} \\ %\hline
\makebox[0.85in][l]{{\textbf{-z}} szip } & \makebox[2.76in][l]{SZIP compression of GRIB1 records} \\ \hline
% \makebox[0.85in][l]{{\textbf{\ \ }} jpeg } & \makebox[2.76in][l]{JPEG compression of GRIB2 records} \\ %\hline
% \makebox[0.85in][l]{{\textbf{\ \ }} zip } & \makebox[2.76in][l]{Deflate compression of NetCDF4 variables} \\ %\hline
\end{tabular*}
......@@ -39,8 +39,8 @@ installation, otherwise the operator cmor will possibly not working correctly.
\section{Compilation}
First go to the {\CDO} \href{https://code.zmaw.de/projects/cdo}{\tt download} page
({\tt https://code.zmaw.de/projects/cdo}) to get the latest distribution,
First go to the {\CDO} \href{https://code.zmaw.de/projects/cdo}{\texttt{download}} page
(\texttt{https://code.zmaw.de/projects/cdo}) to get the latest distribution,
if you do not have it yet.
Compilation is done by performing the following steps:
......@@ -77,19 +77,19 @@ For an overview of other configuration options use
\end{enumerate}
The program should compile without problems and the binary ({\tt cdo})
should be available in the {\tt src} directory of the distribution.
The program should compile without problems and the binary (\texttt{cdo})
should be available in the \texttt{src} directory of the distribution.
\section{Installation}
After the compilation of the source code do a {\tt make install},
After the compilation of the source code do a \texttt{make install},
possibly as root if the destination permissions require that.
\begin{verbatim}
make install
\end{verbatim}
The binary is installed into the directory {\tt $<$prefix$>$/bin}.
{\tt $<$prefix$>$} defaults to {\tt /usr/local} but can be changed with
the {\tt --prefix} option of the configure script.
The binary is installed into the directory \texttt{$<$prefix$>$/bin}.
\texttt{$<$prefix$>$} defaults to \texttt{/usr/local} but can be changed with
the \texttt{--prefix} option of the configure script.
......@@ -2,9 +2,9 @@
This section gives a description of all {\CDO} operators to generate plots.
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 arbitrary number of input files are named {\tt ifiles}.
All output files are named {\tt ofile} or {\tt ofile1}, {\tt ofile2}, etc.
For easier description all single input files are named \texttt{ifile} or \texttt{ifile1}, \texttt{ifile2}, etc.,
and an arbitrary number of input files are named \texttt{ifiles}.
All output files are named \texttt{ofile} or \texttt{ofile1}, \texttt{ofile2}, etc.
\hspace{3mm}
......
......@@ -3,19 +3,19 @@
This section gives a description of all {\CDO} operators to compute the climate indices of daily temperature and precipitation extreme.
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 arbitrary number of input files are named {\tt ifiles}.
All output files are named {\tt ofile} or {\tt ofile1}, {\tt ofile2}, etc.
For easier description all single input files are named \texttt{ifile} or \texttt{ifile1}, \texttt{ifile2}, etc.,
and an arbitrary number of input files are named \texttt{ifiles}.
All output files are named \texttt{ofile} or \texttt{ofile1}, \texttt{ofile2}, etc.
Further the following notion is introduced:
\begin{defalist}{{\em o(t,x)}}
\item[\(i(t)\)\hfill]
Timestep \(t\) of {\tt ifile}
Timestep \(t\) of \texttt{ifile}
\item[\(i(t,x)\)\hfill]
Element number \(x\) of the field at timestep \(t\) of {\tt ifile}
Element number \(x\) of the field at timestep \(t\) of \texttt{ifile}
\item[\(o(t)\)\hfill]
Timestep \(t\) of {\tt ofile}
Timestep \(t\) of \texttt{ofile}
\item[\(o(t,x)\)\hfill]
Element number \(x\) of the field at timestep \(t\) of {\tt ofile}
Element number \(x\) of the field at timestep \(t\) of \texttt{ofile}
\end{defalist}
%A field is a horizontal slice of a variable on a spezific level.
......
......@@ -49,25 +49,25 @@ As now described, there are several possibilities to define a horizontal grid.
Predefined grids are available for global regular, gaussian or icosahedral-hexagonal GME grids.
% They have the following predefined grid names:
%{\tt r<NX>x<NY>}, {\tt lon=<LON>/lat=<LAT>}, {\tt n<N>} and {\tt gme<NI>}
%\texttt{r<NX>x<NY>}, \texttt{lon=<LON>/lat=<LAT>}, \texttt{n<N>} and \texttt{gme<NI>}
\subsubsection*{Global regular grid: {\tt global\_<DXY>}}
{\tt global\_<DXY>} defines a global regular lon/lat grid.
The grid increment {\tt <DXY>} can be selected at will.
The longitudes start at {\tt <DXY>}/2 - 180$^\circ$ and the
latitudes start at {\tt <DXY>}/2 - 90$^\circ$.
\subsubsection*{Global regular grid: \texttt{global\_<DXY>}}
\texttt{global\_<DXY>} defines a global regular lon/lat grid.
The grid increment \texttt{<DXY>} can be selected at will.
The longitudes start at \texttt{<DXY>}/2 - 180$^\circ$ and the
latitudes start at \texttt{<DXY>}/2 - 90$^\circ$.
\subsubsection*{Global regular grid: {\tt r<NX>x<NY>}}
{\tt r<NX>x<NY>} defines a global regular lon/lat grid.
The number of the longitudes {\tt <NX>} and the latitudes {\tt <NY>} can be selected at will.
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$.
\subsubsection*{Global regular grid: \texttt{r<NX>x<NY>}}
\texttt{r<NX>x<NY>} defines a global regular lon/lat grid.
The number of the longitudes \texttt{<NX>} and the latitudes \texttt{<NY>} can be selected at will.
The longitudes start at 0$^\circ$ with an increment of (360/\texttt{<NX>})$^\circ$.
The latitudes go from south to north with an increment of (180/\texttt{<NY>})$^\circ$.
\subsubsection*{One grid point: {\tt lon=<LON>/lat=<LAT>}}
{\tt lon=<LON>/lat=<LAT>} defines a lon/lat grid with only one grid point.
\subsubsection*{One grid point: \texttt{lon=<LON>/lat=<LAT>}}
\texttt{lon=<LON>/lat=<LAT>} defines a lon/lat grid with only one grid point.
\subsubsection*{Global Gaussian grid: {\tt n<N>}}
{\tt n<N>} defines a global Gaussian grid. {\tt N} specifies the number of
\subsubsection*{Global Gaussian grid: \texttt{n<N>}}
\texttt{n<N>} defines a global Gaussian grid. \texttt{N} specifies the number of
latitudes lines between the Pole and the Equator.
The longitudes start at 0$^\circ$ with an increment of (360/nlon)$^\circ$.
The gaussian latitudes go from north to south.
......@@ -76,9 +76,9 @@ Predefined grids are available for global regular, gaussian or icosahedral-hexag
% t$<$RES$>$spec defines the spectral coefficients of a global gaussian grid.
% Each valid triangular resolution can be used for $<$RES$>$.
\subsubsection*{Global icosahedral-hexagonal GME grid: {\tt gme<NI>}}
{\tt gme<NI>} defines a global icosahedral-hexagonal GME grid.
{\tt NI} specifies the number of intervals on a main triangle side.
\subsubsection*{Global icosahedral-hexagonal GME grid: \texttt{gme<NI>}}
\texttt{gme<NI>} defines a global icosahedral-hexagonal GME grid.
\texttt{NI} specifies the number of intervals on a main triangle side.
\subsubsection{Grids from data files}
......@@ -167,24 +167,24 @@ The following keywords can be used to describe a grid:
\vspace{3mm}
\begin{tabular}[b]{lll}
Keyword & Datatype & Description \\ \hline
\bf{gridtype} & STRING & Type of the grid (gaussian, lonlat, curvilinear, unstructured). \\
\bf{gridsize} & INTEGER & Size of the grid. \\
\bf{xsize} & INTEGER & Size in x direction (number of longitudes). \\
\bf{ysize} & INTEGER & Size in y direction (number of latitudes). \\
\bf{xvals} & FLOAT ARRAY & X values of the grid cell center. \\
\bf{yvals} & FLOAT ARRAY & Y values of the grid cell center.\\
\bf{nvertex} & INTEGER & Number of the vertices for all grid cells. \\
\bf{xbounds} & FLOAT ARRAY & X bounds of each gridbox. \\
\bf{ybounds} & FLOAT ARRAY & Y bounds of each gridbox. \\
\textbf{gridtype} & STRING & Type of the grid (gaussian, lonlat, curvilinear, unstructured). \\
\textbf{gridsize} & INTEGER & Size of the grid. \\
\textbf{xsize} & INTEGER & Size in x direction (number of longitudes). \\
\textbf{ysize} & INTEGER & Size in y direction (number of latitudes). \\
\textbf{xvals} & FLOAT ARRAY & X values of the grid cell center. \\
\textbf{yvals} & FLOAT ARRAY & Y values of the grid cell center.\\
\textbf{nvertex} & INTEGER & Number of the vertices for all grid cells. \\
\textbf{xbounds} & FLOAT ARRAY & X bounds of each gridbox. \\
\textbf{ybounds} & FLOAT ARRAY & Y bounds of each gridbox. \\
%xname & STRING & name of the x axis \\
%xlongname & STRING & longname of the x axis \\
%xunits & STRING & units of the x axis \\
%yname & STRING & name of the y axis \\
%ylongname & STRING & longname of the y axis \\
%yunits & STRING & units of the y axis \\
\bf{xfirst, xinc} & FLOAT, FLOAT & Macros to define xvals with a constant increment, \\
\textbf{xfirst, xinc} & FLOAT, FLOAT & Macros to define xvals with a constant increment, \\
& & xfirst is the x value of the first grid cell center. \\
\bf{yfirst, yinc} & FLOAT, FLOAT & Macros to define yvals with a constant increment, \\
\textbf{yfirst, yinc} & FLOAT, FLOAT & Macros to define yvals with a constant increment, \\
& & yfirst is the y value of the first grid cell center. \\
\end{tabular}
......@@ -219,17 +219,17 @@ with respect to the different grid types.
\cellcolor{pcolor2}
gridtype & lonlat & gaussian & curvilinear & unstructured \\
\hline
gridsize & xsize*ysize & xsize*ysize & xsize*ysize & {\bf ncell} \\
gridsize & xsize*ysize & xsize*ysize & xsize*ysize & \textbf{ncell} \\
\hline
xsize & {\bf nlon} & {\bf nlon} & {\bf nlon} & gridsize \\
xsize & \textbf{nlon} & \textbf{nlon} & \textbf{nlon} & gridsize \\
\hline
ysize & {\bf nlat} & {\bf nlat} & {\bf nlat} & gridsize \\
ysize & \textbf{nlat} & \textbf{nlat} & \textbf{nlat} & gridsize \\
\hline
xvals & xsize & xsize & gridsize & gridsize \\
\hline
yvals & ysize & ysize & gridsize & gridsize \\
\hline
nvertex & 2 & 2 & 4 & {\bf nv} \\
nvertex & 2 & 2 & 4 & \textbf{nv} \\
\hline
xbounds & 2*xsize & 2*xsize & 4*gridsize & nv*gridsize \\
\hline
......
......@@ -4,41 +4,41 @@ This section describes how to build {\CDO} from the sources on a UNIX system.
{\CDO} uses the GNU configure and build system for compilation.
The only requirement is a working ANSI C99 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,
First go to the \href{https://code.zmaw.de/projects/cdo}{\tt download} page
({\tt https://code.zmaw.de/projects/cdo}) to get the latest distribution,
%First go to the \href{http://www.mpimet.mpg.de/cdo/download.html}{\texttt{download}} page
%(\texttt{http://www.mpimet.mpg.de/\\,cdo/download.html}) to get the latest distribution,
%First go to the \href{http://www.mpimet.mpg.de/cdo}{\texttt{download}} page
%(\texttt{http://www.mpimet.mpg.de/cdo}) to get the latest distribution,
First go to the \href{https://code.zmaw.de/projects/cdo}{\texttt{download}} page
(\texttt{https://code.zmaw.de/projects/cdo}) to get the latest distribution,
if you do not have it yet.
To take full advantage of {\CDO} features the following additional libraries should be installed:
\begin{itemize}
\item Unidata \href{https://www.unidata.ucar.edu/software/netcdf}{NetCDF} library
({\tt https://www.unidata.ucar.edu/software/netcdf})
(\texttt{https://www.unidata.ucar.edu/software/netcdf})
version 3 or higher. \\
This library is needed to process NetCDF \cite{NetCDF} files with {\CDO}.
\item The ECMWF \href{http://www.ecmwf.int/products/data/software/grib_api.html}{GRIB\_API}
({\tt http://www.ecmwf.int/products/data/software/grib\_api.html})
(\texttt{http://www.ecmwf.int/products/data/software/grib\_api.html})
version 1.12 or higher.
This library is needed to process GRIB2 files with {\CDO}.
\item HDF5 \href{http://www.hdfgroup.org/doc_resource/SZIP}{szip} library
({\tt http://www.hdfgroup.org/doc\_resource/SZIP})
(\texttt{http://www.hdfgroup.org/doc\_resource/SZIP})
version 2.1 or higher. \\
This library is needed to process szip compressed GRIB \cite{GRIB} files with {\CDO}.
\item \href{http://www.hdfgroup.org/HDF5}{HDF5} library
({\tt http://www.hdfgroup.org/HDF5})
(\texttt{http://www.hdfgroup.org/HDF5})
version 1.6 or higher. \\
This library is needed to import CM-SAF \cite{CM-SAF} HDF5 files with the {\CDO}
operator {\bf import\_cmsaf}.
operator \textbf{import\_cmsaf}.
\item \href{http://trac.osgeo.org/proj}{PROJ.4} library
({\tt http://trac.osgeo.org/proj})
(\texttt{http://trac.osgeo.org/proj})
version 4.6 or higher. \\
This library is needed to convert Sinusoidal and Lambert Azimuthal Equal Area coordinates
to geographic coordinates, for e.g. remapping.
\item \href{https://software.ecmwf.int/wiki/display/MAGP/Magics}{Magics} library
({\tt https://software.ecmwf.int/wiki/display/MAGP/Magics})
(\texttt{https://software.ecmwf.int/wiki/display/MAGP/Magics})
version 2.18 or higher. \\
This library is needed to create contour, vector and graph plots with {\CDO}.
\end{itemize}
......@@ -110,22 +110,22 @@ For an overview of other configuration options use
\end{enumerate}
The program should compile without problems and the binary ({\tt cdo})
should be available in the {\tt src} directory of the distribution.
The program should compile without problems and the binary (\texttt{cdo})
should be available in the \texttt{src} directory of the distribution.
\subsection{Installation}
After the compilation of the source code do a {\tt make install},
After the compilation of the source code do a \texttt{make install},
possibly as root if the destination permissions require that.
\begin{verbatim}
make install
\end{verbatim}
The binary is installed into the directory {\tt $<$prefix$>$/bin}.
{\tt $<$prefix$>$} defaults to {\tt /usr/local} but can be changed with
the {\tt --prefix} option of the configure script.
The binary is installed into the directory \texttt{$<$prefix$>$/bin}.
\texttt{$<$prefix$>$} defaults to \texttt{/usr/local} but can be changed with
the \texttt{--prefix} option of the configure script.
Alternatively, you can also copy the binary from the {\tt src} directory
manually to some {\tt bin} directory in your search path.
Alternatively, you can also copy the binary from the \texttt{src} directory
manually to some \texttt{bin} directory in your search path.
......@@ -38,8 +38,8 @@ The Fortran and NetCDF support can be disabled when building Magics from source.
\section{Compilation}
First go to the {\CDO} \href{https://code.zmaw.de/projects/cdo}{\tt download} page
({\tt https://code.zmaw.de/projects/cdo}) to get the latest distribution,
First go to the {\CDO} \href{https://code.zmaw.de/projects/cdo}{\texttt{download}} page
(\texttt{https://code.zmaw.de/projects/cdo}) to get the latest distribution,
if you do not have it yet.
Compilation is done by performing the following steps:
......@@ -72,19 +72,19 @@ For an overview of other configuration options use
\end{enumerate}
The program should compile without problems and the binary ({\tt cdo})
should be available in the {\tt src} directory of the distribution.
The program should compile without problems and the binary (\texttt{cdo})
should be available in the \texttt{src} directory of the distribution.
\section{Installation}
After the compilation of the source code do a {\tt make install},
After the compilation of the source code do a \texttt{make install},
possibly as root if the destination permissions require that.
\begin{verbatim}
make install
\end{verbatim}
The binary is installed into the directory {\tt $<$prefix$>$/bin}.
{\tt $<$prefix$>$} defaults to {