1 | % $Id: mrun_data_analysis.tex 945 2012-07-17 15:43:01Z maronga $ |
---|
2 | \input{header_tmp.tex} |
---|
3 | %\input{../header_lectures.tex} |
---|
4 | |
---|
5 | \usepackage[utf8]{inputenc} |
---|
6 | \usepackage{ngerman} |
---|
7 | \usepackage{pgf} |
---|
8 | \usetheme{Dresden} |
---|
9 | \usepackage{subfigure} |
---|
10 | \usepackage{units} |
---|
11 | \usepackage{multimedia} |
---|
12 | \usepackage{hyperref} |
---|
13 | \newcommand{\event}[1]{\newcommand{\eventname}{#1}} |
---|
14 | \usepackage{xmpmulti} |
---|
15 | \usepackage{tikz} |
---|
16 | \usetikzlibrary{shapes,arrows,positioning} |
---|
17 | \usetikzlibrary{decorations.markings} %neues paket |
---|
18 | \usetikzlibrary{decorations.pathreplacing} %neues paket |
---|
19 | \def\Tiny{\fontsize{4pt}{4pt}\selectfont} |
---|
20 | \usepackage{amsmath} |
---|
21 | \usepackage{amssymb} |
---|
22 | \usepackage{multicol} |
---|
23 | \usepackage{pdfcomment} |
---|
24 | \usepackage{graphicx} |
---|
25 | \usepackage{listings} |
---|
26 | \lstset{showspaces=false,language=fortran,basicstyle= |
---|
27 | \ttfamily,showstringspaces=false,captionpos=b} |
---|
28 | |
---|
29 | \institute{Institut fÌr Meteorologie und Klimatologie, Leibniz UniversitÀt Hannover} |
---|
30 | \date{last update: \today} |
---|
31 | \event{PALM Seminar} |
---|
32 | \setbeamertemplate{navigation symbols}{} |
---|
33 | |
---|
34 | \setbeamertemplate{footline} |
---|
35 | { |
---|
36 | \begin{beamercolorbox}[rightskip=-0.1cm]& |
---|
37 | {\includegraphics[height=0.65cm]{imuk_logo.pdf}\hfill \includegraphics[height=0.65cm]{luh_logo.pdf}} |
---|
38 | \end{beamercolorbox} |
---|
39 | \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex, |
---|
40 | leftskip=.3cm,rightskip=0.3cm plus1fil]{title in head/foot} |
---|
41 | {\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor} \hfill \eventname \hfill \insertframenumber \; / \inserttotalframenumber} |
---|
42 | \end{beamercolorbox} |
---|
43 | \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} |
---|
44 | \end{beamercolorbox} |
---|
45 | } |
---|
46 | %\logo{\includegraphics[width=0.3\textwidth]{luhimuk_logo.pdf}} |
---|
47 | |
---|
48 | \title[Data Analysis]{Data Analysis} |
---|
49 | \author{Siegfried Raasch} |
---|
50 | |
---|
51 | \begin{document} |
---|
52 | |
---|
53 | % Folie 1 |
---|
54 | \begin{frame} |
---|
55 | \titlepage |
---|
56 | \end{frame} |
---|
57 | |
---|
58 | \section{Data Analysis} |
---|
59 | \subsection{Data Analysis} |
---|
60 | |
---|
61 | % Folie 2 |
---|
62 | \begin{frame} |
---|
63 | \frametitle{PALM Data Analysis} |
---|
64 | |
---|
65 | \footnotesize |
---|
66 | PALM offers different ways of standard output to analyze the simulation data: |
---|
67 | \begin{enumerate} |
---|
68 | \item<2-> Run control informations (for certain timesteps) |
---|
69 | \item<3-> Mean vertical profiles |
---|
70 | \begin{itemize} |
---|
71 | \item[-]<3-> horizontally averaged, instantaneous or time-averaged |
---|
72 | \end{itemize} |
---|
73 | \item<4-> Time series |
---|
74 | \item<5-> Two-dimensional cross sections ($xy$, $xz$, $yz$) |
---|
75 | \begin{itemize} |
---|
76 | \item[-]<5-> instantaneous or time-averaged, + averaged along 3rd dimension |
---|
77 | \end{itemize} |
---|
78 | \item<6-> Complete three-dimensional data arrays |
---|
79 | \begin{itemize} |
---|
80 | \item[-]<6-> instantaneous or time-averaged |
---|
81 | \end{itemize} |
---|
82 | \end{enumerate} |
---|
83 | \quad \onslide<7-> Others (spectra, particle data)\\ |
---|
84 | \vspace{3mm} |
---|
85 | \onslide<8-> First item is pure ASCII-data to give a short overview of the run. All other output is in netCDF format and can be graphically displayed.\\ |
---|
86 | \vspace{2mm} |
---|
87 | Additionally, power spectra can be output using the spectra-package (use \texttt{mrun}-option \texttt{â-p spectraâ}). |
---|
88 | |
---|
89 | \end{frame} |
---|
90 | |
---|
91 | % Folie 3 |
---|
92 | \begin{frame} |
---|
93 | \tikzstyle{yellow} = [rectangle, fill=yellow!20, font=\scriptsize, minimum height=1.2cm] |
---|
94 | \tikzstyle{purple} = [rectangle, fill=magenta!10, font=\scriptsize, minimum height=0.9cm] |
---|
95 | \tikzstyle{white} = [rectangle, font=\tiny, minimum height=0.9cm] |
---|
96 | |
---|
97 | \frametitle{Processing Standard Output Data with Graphics Software (Public Domain-Software)} |
---|
98 | |
---|
99 | \footnotesize |
---|
100 | The standard output files are in netCDF format which can be easily displayed with \texttt{ncview}, \texttt{ncl}, or \texttt{ferret}. |
---|
101 | |
---|
102 | \begin{tikzpicture}[auto, node distance=0] |
---|
103 | |
---|
104 | % Zeile 1 |
---|
105 | \node [yellow, text width=0.2\textwidth] (1) {standard output}; |
---|
106 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 1] (2) {names of local files created by PALM}; |
---|
107 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 2] (3) {suffix of permanent files as defined in \texttt{.mrun.config}}; |
---|
108 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 3] (4) {call of graphics software}; |
---|
109 | |
---|
110 | % Zeile 2 |
---|
111 | \node [purple, text width=0.2\textwidth, below=0.0cm of 1] (12) {mean vertical profiles}; |
---|
112 | \node [white, text width=0.25\textwidth, below=0.0cm of 2] (22) {\texttt{DATA\_1D\_PR\_NETCDF}}; |
---|
113 | \node [white, text width=0.25\textwidth, below=0.0cm of 3] (32) {\texttt{\_pr.nc}}; |
---|
114 | \node [white, text width=0.25\textwidth, below=0.0cm of 4] (42) {\texttt{ncview <filename>}\\ |
---|
115 | \texttt{palmplot pr <options>}\\ |
---|
116 | \texttt{ferret -gui}}; |
---|
117 | |
---|
118 | % Zeile 3 |
---|
119 | \node [purple, text width=0.2\textwidth, below=0.0cm of 12] (13) {time series}; |
---|
120 | \node [white, text width=0.25\textwidth, below=0.0cm of 22] (23) {\texttt{DATA\_1D\_TS\_NETCDF}}; |
---|
121 | \node [white, text width=0.25\textwidth, below=0.0cm of 32] (33) {\texttt{\_ts.nc}}; |
---|
122 | \node [white, text width=0.25\textwidth, below=0.0cm of 42] (43) {\texttt{ncview <filename>}\\ |
---|
123 | \texttt{palmplot ts <options>}\\ |
---|
124 | \texttt{ferret -gui}}; |
---|
125 | |
---|
126 | % Zeile 4 |
---|
127 | \node [purple, text width=0.2\textwidth, minimum height=1.5cm, below=0.0cm of 13] (14) {2d-cross-sections}; |
---|
128 | \node [white, text width=0.25\textwidth, minimum height=1.5cm, below=0.0cm of 23] (24) {\texttt{DATA\_2D\_XY\_NETCDF}\\ \texttt{DATA\_2D\_XZ\_NETCDF}\\ \texttt{DATA\_2D\_YZ\_NETCDF}}; |
---|
129 | \node [white, text width=0.25\textwidth, minimum height=1.5cm, below=0.0cm of 33] (34) {\texttt{\_xy.nc}\\ \texttt{\_xz.nc}\\ \texttt{\_yz.nc}}; |
---|
130 | \node [white, text width=0.25\textwidth, minimum height=1.5cm, below=0.0cm of 43] (44) {\texttt{ncview <filename>}\\ |
---|
131 | \texttt{palmplot xy <options>}\\ |
---|
132 | \texttt{palmplot xz <options>}\\ |
---|
133 | \texttt{palmplot yz <options>}\\ |
---|
134 | \texttt{ferret -gui}}; |
---|
135 | |
---|
136 | % Zeile 5 |
---|
137 | \node [purple, text width=0.2\textwidth, below=0.0cm of 14] (15) {3d-data}; |
---|
138 | \node [white, text width=0.25\textwidth, below=0.0cm of 24] (25) {\texttt{DATA\_3D\_NETCDF}}; |
---|
139 | \node [white, text width=0.25\textwidth, below=0.0cm of 34] (35) {\texttt{\_3d.nc}}; |
---|
140 | \node [white, text width=0.25\textwidth, below=0.0cm of 44] (45) {\texttt{ncview <filename>}\\ |
---|
141 | \texttt{palmplot xy <options>}\\ |
---|
142 | \texttt{ferret -gui}}; |
---|
143 | |
---|
144 | |
---|
145 | \end{tikzpicture} |
---|
146 | \end{frame} |
---|
147 | |
---|
148 | % Folie 4 |
---|
149 | \begin{frame} |
---|
150 | \frametitle{User Actions Necessary to Get Output} |
---|
151 | Example for the case of mean vertical profiles: |
---|
152 | \footnotesize |
---|
153 | \begin{enumerate} |
---|
154 | |
---|
155 | \item<2-> Carefully think about, which variables you want to analyze |
---|
156 | \begin{itemize} |
---|
157 | \scriptsize |
---|
158 | \item[]<2-> e.g. temperature, wind, etc., resolved- or subgrid-scale?, output interval?, should they be time averaged? |
---|
159 | \end{itemize} |
---|
160 | |
---|
161 | \item<3-> Find and set the appropriate output parameters in the parameter file |
---|
162 | \begin{itemize} |
---|
163 | \scriptsize |
---|
164 | \item[]<3-> \texttt{data\_output\_pr = 'pt', 'u', 'w ''pt'' ', dt\_dopr = 900.0,} |
---|
165 | \item[]<3-> \texttt{averaging\_interval\_pr = 600.0, dt\_averaging\_input\_pr = 10.0} |
---|
166 | \end{itemize} |
---|
167 | |
---|
168 | \item<4-> Check, if the necessary file connection statements exist in the .mrun.config file |
---|
169 | \begin{itemize} |
---|
170 | \scriptsize |
---|
171 | \item[]<4-> \texttt{DATA\_1D\_PR\_NETCDF out:loc:tr pr\# \~{}/palm/current\_version/JOBS/\$fname/OUTPUT \_pr nc} |
---|
172 | \end{itemize} |
---|
173 | |
---|
174 | \item<5-> Don't forget to activate the file connection statements by setting the correct activation string(s) in \texttt{mrun}-option \texttt{-r} |
---|
175 | \begin{itemize} |
---|
176 | \scriptsize |
---|
177 | \item[]<5-> \texttt{mrun ... -r ''... pr\# ...'' ...} |
---|
178 | \end{itemize} |
---|
179 | |
---|
180 | \item<6-> After job completion, change to the OUTPUT-directory and call the appropriate graphics software |
---|
181 | \begin{itemize} |
---|
182 | \scriptsize |
---|
183 | \item[]<6-> \texttt{ncview <filename>} or \texttt{palmplot pr <options>} |
---|
184 | \end{itemize} |
---|
185 | \end{enumerate} |
---|
186 | |
---|
187 | \end{frame} |
---|
188 | |
---|
189 | \end{document} |
---|