cdoprog.tex 3.64 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
\definecolor{pcolor1}{rgb}{0.992, 0.980, 0.875}  % rgb: 253/250/223
\definecolor{pcolor2}{rgb}{1.000, 0.925, 0.698}  % rgb: 255/236/178
\definecolor{pcolor3}{rgb}{0.968, 0.756, 0.623}  % rgb: 247/193/159
Uwe Schulzweida's avatar
Uwe Schulzweida committed
4

5
\newcommand{\CDO}{{\bfseries\sffamily CDO\ }}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
6
7
\newcommand{\cdologo}{\includegraphics{logo/cdo_logo}}
\vspace*{0mm}
8
{\LARGE\CDO \bf Reference Card}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
9
10
11
12
13
14
15
16
%{\raisebox{-2.5mm}{\scalebox{0.25}{\cdologo}}}{\LARGE\bf{\ Reference Card}}

\setlength{\unitlength}{1in}
\begin{picture}(3.95,0.0)
\linethickness{2pt}
\put(0,0.0){\line(1,0){3.95}}
\end{picture}
\begin{flushright}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
{\small{Climate Data Operators \\ Version 1.5.4 \\ January 2012}}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
18
19
20
21
22
23
24
25
26
\end{flushright}

\vspace*{0mm}
{\small{Uwe Schulzweida \\ Max-Planck-Institute for Meteorology}}

\begin{picture}(3.95,0.0)
\linethickness{1pt}
\put(0,0.0){\line(1,0){3.95}}
\end{picture}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
27
\begin{flushright}
28
{\small{http://code.zmaw.de/projects/cdo}}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
29
30
\end{flushright}

Uwe Schulzweida's avatar
Uwe Schulzweida committed
31
\vspace*{2mm}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
32
33
\subsection*{Syntax}
\framebox[3.95in][l]{
Uwe Schulzweida's avatar
Uwe Schulzweida committed
34
{\bf{cdo \ \ [Options] \ \ Operator1 [ --Operator2 [ --OperatorN ] ]}}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
35
36
}

Uwe Schulzweida's avatar
Uwe Schulzweida committed
37
\vspace*{2mm}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
38
39
\subsection*{Options}
\noindent
Uwe Schulzweida's avatar
Uwe Schulzweida committed
40
41
\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
Uwe Schulzweida's avatar
Uwe Schulzweida committed
42
\makebox[0.85in][l]{{\bf{-b}} $<\!nbits\!>$    } & \makebox[2.76in][l]{Set the number of bits for the output precision} \\
Uwe Schulzweida's avatar
Uwe Schulzweida committed
43
                                                 & (I8/I16/I32/F32/F64 for nc,nc2,nc4,nc4c; \\
Uwe Schulzweida's avatar
Uwe Schulzweida committed
44
                                                 &  F32/F64 for srv,ext,ieg;  1-24 for grb,grb2) \\
Uwe Schulzweida's avatar
Uwe Schulzweida committed
45
46
                                                 & Add L or B for Little or Big endian byteorder\\ %\hline
\makebox[0.85in][l]{{\bf{-f}} $<\!format\!>$   } & \makebox[2.76in][l]{Outputformat: grb,grb2,nc,nc2,nc4,nc4c,srv,ext,ieg} \\ %\hline
Uwe Schulzweida's avatar
Uwe Schulzweida committed
47
\makebox[0.85in][l]{{\bf{-g}} $<\!grid\!>$     } & \makebox[2.76in][l]{Grid or file name} \\
Uwe Schulzweida's avatar
Uwe Schulzweida committed
48
49
50
51
52
53
54
55
                                                 & 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
Uwe Schulzweida's avatar
Uwe Schulzweida committed
56
\makebox[0.85in][l]{{\bf{-t}} $<\!table\!>$    } & \makebox[2.76in][l]{Set the parameter table name or file} \\
Uwe Schulzweida's avatar
Uwe Schulzweida committed
57
58
59
                                                 & 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
Uwe Schulzweida's avatar
Uwe Schulzweida committed
60
\makebox[0.85in][l]{{\bf{-z}} szip             } & \makebox[2.76in][l]{SZIP compression of GRIB1 records} \\ \hline
Uwe Schulzweida's avatar
Uwe Schulzweida committed
61
62
% \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
Uwe Schulzweida's avatar
Uwe Schulzweida committed
63
64
\end{tabular*}