cdi_fman.tex 4.6 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
\documentclass[DIV16,BCOR1cm,11pt,a4paper,fleqn,twoside]{scrreprt}         % for pdf output
Uwe Schulzweida's avatar
Uwe Schulzweida committed
2
3
%\documentclass[DIV16,BCOR1cm,11pt,a4paper,fleqn]{report}         % for pdf output

Uwe Schulzweida's avatar
Uwe Schulzweida committed
4
5
\usepackage{graphics}

Uwe Schulzweida's avatar
Uwe Schulzweida committed
6
\newcommand{\CDI}{\bfseries\sffamily CDI}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
7

Uwe Schulzweida's avatar
Uwe Schulzweida committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% To define headers and footers
\usepackage{fancyhdr}
\pagestyle{fancy}

% Headers and footers personalization using the `fancyhdr' package
\fancyhf{} % Clear all fields

\renewcommand{\headrulewidth}{0.2mm}
\renewcommand{\footrulewidth}{0.2mm}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{#1}}

\fancyhead[LO,RE]{\slshape \leftmark}
%\fancyhead[LE,RO]{\slshape \rightmark}
\fancyfoot[LE,RO]{\Large\thepage}
\fancypagestyle{plain}{%
  \fancyhead{} % get rid of headers
  \renewcommand{\headrulewidth}{0pt}
}

29
30
31
32
33
34
35
\usepackage{exscale}
\usepackage{array,colortbl}    % color table

\usepackage{listings}
\usepackage{color}
\definecolor{zebg}{rgb}{1,1,.8} %elfenbeinfarbig 

Uwe Schulzweida's avatar
Uwe Schulzweida committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
%\usepackage{ae}               % fuer die "almost european" computer modern fonts
%\usepackage{url}              % Standard-Paket fuer WWW-Adressen

%\typearea{10}                 % Einen sinnvollen Satzspiegel aktivieren

%\documentclass[DIV16,BCOR1cm,12pt,a4paper,fleqn]{scrreprt}         % for pdf output
%\documentclass[DIV16,BCOR1cm,11pt,a4paper,twoside]{scrreprt}  % for ps output
%\documentclass[a4paper,DIV14,BCOR1cm]{scrartcl}

%Usage:
%latex2html -local_icons -split 4 -toc_depth 3 -white cdi.tex
%dvips -o cdi.ps cdi.dvi
%dvips ps+pdf
%dvipdf
%pdflatex

% To allow automatic selection of the right graphics type ...

\newif\ifpdf
\ifx\pdfoutput\undefined
   \pdffalse                    % LaTeX
\else
   \pdfoutput=1                 % PDFLaTeX
   \pdftrue
\fi

\usepackage{thumbpdf}

%\usepackage{html}

\usepackage{makeidx}

%\ifpdf
%\usepackage[a4paper, colorlinks=true, pdfstartview=FitV, bookmarks=true, linkcolor=blue,
%            citecolor=blue, urlcolor=blue, latex2html=true]{hyperref}
%\fi

\usepackage{hyperref}
\hypersetup{pdftoolbar=true,
            pdfmenubar=true,
            pdfwindowui=true,   
%            pdffitwindow=true,
            pdfauthor={Uwe Schulzweida},
Uwe Schulzweida's avatar
Uwe Schulzweida committed
79
            pdftitle={CDI Fortran Manual},
Uwe Schulzweida's avatar
Uwe Schulzweida committed
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
            pdfcreator={pdflatex + hyperref},
            pdfstartview=FitV,
%            pdfpagemode=FullScreen,
            a4paper,
            bookmarks=true,
            linkcolor=blue,
            citecolor=blue,
            urlcolor=blue,
            colorlinks=true}

\makeindex
%\newcommand{\ii}[1]{\textit{#1}}  \newcommand{\nn}[1]{#1n}
%\renewcommand{\dotfill}{\leaders\hbox to 5p1{\hss.\hss}\hfill}
%\newcommand{\idxdotfill}{5p1{\hss.\hss}\hfill}
\newcommand{\idxdotfill}{\ \dotfill \ }
%\def\idxdotfill{\leaders\hbox to.6em{\hss .\hss}\hskip 0pt plus 1fill}
%\MakeShortVerb{\@}

\renewcommand{\indexname}{Function index}


\newcommand{\deflabel}[1]{\bf #1\hfill}
\newenvironment{deflist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{\bf #1}
\setlength{\parsep}{0mm}
\setlength{\itemsep}{1mm}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
\renewcommand{\makelabel}{\deflabel}}}
{\end{list}}


\begin{document}

\begin{titlepage}
\vspace*{50mm}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
117
{\Huge{\CDI} \ \bf Fortran Manual}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
118
119
120
121
122
123
124
125

\setlength{\unitlength}{1cm}
\begin{picture}(16,0.4)
\linethickness{1.5mm}
\put(0,0.1){\line(1,0){15.85}}
\end{picture}

\begin{flushright}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
126
\large\bf{Climate Data Interface \\ Version 1.4.0 \\ October 2009}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
\end{flushright}

\vfill

\Large\bf{Uwe Schulzweida}

\Large\bf{Max-Planck-Institute for Meteorology}

\begin{picture}(16,1)
\linethickness{1.0mm}
\put(0,0.7){\line(1,0){15.85}}
\end{picture}
\end{titlepage}


\tableofcontents


\chapter{Introduction}
\input{intro}


\chapter{File Formats}
\input{formats}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
153
\chapter{Use of the CDI Library}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
154
155
156
157
\input{usage}
\input{f_link}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
158
159
\chapter{CDI modules}
\input{modules}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
160

Uwe Schulzweida's avatar
Uwe Schulzweida committed
161
%\newpage
Uwe Schulzweida's avatar
Uwe Schulzweida committed
162
163
\section{Dataset functions}
\input{dataset}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
164
165
166
\input{f_stream}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
167
168
\newpage
\section{Variable list functions}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
169
\input{vlist}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
170
171
172
\input{f_vlist}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
173
174
\newpage
\section{Variable functions}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
175
\input{variable}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
176
177
178
\input{f_vlist_var}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
179
180
\newpage
\section{Grid functions}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
181
\input{grid}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
182
183
184
\input{f_grid}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
185
186
\newpage
\section{Z-axis functions}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
187
\input{zaxis}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
188
189
190
\input{f_zaxis}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
191
192
\newpage
\section{T-axis functions}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
193
\input{taxis}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
194
195
196
\input{f_taxis}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
197
%\chapter{Institute}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
198

Uwe Schulzweida's avatar
Uwe Schulzweida committed
199
%\chapter{Model}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
200

201
202
203
\input{bib}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
204
205
206
207
208
209
\appendix


\chapter{Quick Reference}
%\chapter{Quick Reference\markboth{Quick Reference}{}}
%\addcontentsline{toc}{chapter}{Quick Reference}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
210
211
212
213
214
215
216

This appendix provide a brief listing of the Fortran language bindings of the
CDI library routines:

\input{f_ref}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
217
218
219
\input{f_examples}


Uwe Schulzweida's avatar
Uwe Schulzweida committed
220
221
222
223
224
225
226
227
228
\clearpage
\ifpdf
\phantomsection
\fi
\addcontentsline{toc}{chapter}{\indexname}

\printindex

\end{document}