[945] | 1 | % $Id: mrun_data_analysis.tex 1515 2015-01-02 11:35:51Z gronemeier $ |
---|
| 2 | \input{header_tmp.tex} |
---|
| 3 | %\input{../header_lectures.tex} |
---|
| 4 | |
---|
| 5 | \usepackage[utf8]{inputenc} |
---|
| 6 | \usepackage{ngerman} |
---|
| 7 | \usepackage{pgf} |
---|
| 8 | \usepackage{subfigure} |
---|
| 9 | \usepackage{units} |
---|
| 10 | \usepackage{multimedia} |
---|
| 11 | \usepackage{hyperref} |
---|
| 12 | \newcommand{\event}[1]{\newcommand{\eventname}{#1}} |
---|
| 13 | \usepackage{xmpmulti} |
---|
| 14 | \usepackage{tikz} |
---|
| 15 | \usetikzlibrary{shapes,arrows,positioning} |
---|
| 16 | \usetikzlibrary{decorations.markings} %neues paket |
---|
| 17 | \usetikzlibrary{decorations.pathreplacing} %neues paket |
---|
| 18 | \def\Tiny{\fontsize{4pt}{4pt}\selectfont} |
---|
| 19 | \usepackage{amsmath} |
---|
| 20 | \usepackage{amssymb} |
---|
| 21 | \usepackage{multicol} |
---|
| 22 | \usepackage{pdfcomment} |
---|
| 23 | \usepackage{graphicx} |
---|
| 24 | \usepackage{listings} |
---|
| 25 | \lstset{showspaces=false,language=fortran,basicstyle= |
---|
| 26 | \ttfamily,showstringspaces=false,captionpos=b} |
---|
| 27 | |
---|
[1515] | 28 | \institute{Institute of Meteorology and Climatology, Leibniz UniversitÀt Hannover} |
---|
| 29 | \selectlanguage{english} |
---|
[945] | 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} |
---|
[1515] | 49 | \author{PALM group} |
---|
[945] | 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} |
---|
[973] | 71 | \footnotesize |
---|
[945] | 72 | \item[-]<3-> horizontally averaged, instantaneous or time-averaged |
---|
| 73 | \end{itemize} |
---|
| 74 | \item<4-> Time series |
---|
| 75 | \item<5-> Two-dimensional cross sections ($xy$, $xz$, $yz$) |
---|
| 76 | \begin{itemize} |
---|
[973] | 77 | \footnotesize |
---|
[945] | 78 | \item[-]<5-> instantaneous or time-averaged, + averaged along 3rd dimension |
---|
| 79 | \end{itemize} |
---|
| 80 | \item<6-> Complete three-dimensional data arrays |
---|
| 81 | \begin{itemize} |
---|
[973] | 82 | \footnotesize |
---|
[945] | 83 | \item[-]<6-> instantaneous or time-averaged |
---|
| 84 | \end{itemize} |
---|
| 85 | \end{enumerate} |
---|
| 86 | \quad \onslide<7-> Others (spectra, particle data)\\ |
---|
| 87 | \vspace{3mm} |
---|
| 88 | \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.\\ |
---|
| 89 | \vspace{2mm} |
---|
[973] | 90 | Additionally, power spectra can be output using the spectra-package (use \texttt{mrun}-option \grqq \texttt{-p spectra}\grqq). |
---|
[945] | 91 | |
---|
| 92 | \end{frame} |
---|
| 93 | |
---|
| 94 | % Folie 3 |
---|
| 95 | \begin{frame} |
---|
| 96 | \tikzstyle{yellow} = [rectangle, fill=yellow!20, font=\scriptsize, minimum height=1.2cm] |
---|
| 97 | \tikzstyle{purple} = [rectangle, fill=magenta!10, font=\scriptsize, minimum height=0.9cm] |
---|
| 98 | \tikzstyle{white} = [rectangle, font=\tiny, minimum height=0.9cm] |
---|
| 99 | |
---|
| 100 | \frametitle{Processing Standard Output Data with Graphics Software (Public Domain-Software)} |
---|
| 101 | |
---|
| 102 | \footnotesize |
---|
| 103 | The standard output files are in netCDF format which can be easily displayed with \texttt{ncview}, \texttt{ncl}, or \texttt{ferret}. |
---|
| 104 | |
---|
| 105 | \begin{tikzpicture}[auto, node distance=0] |
---|
| 106 | |
---|
| 107 | % Zeile 1 |
---|
| 108 | \node [yellow, text width=0.2\textwidth] (1) {standard output}; |
---|
| 109 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 1] (2) {names of local files created by PALM}; |
---|
| 110 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 2] (3) {suffix of permanent files as defined in \texttt{.mrun.config}}; |
---|
| 111 | \node [yellow, text width=0.25\textwidth, right=0.0cm of 3] (4) {call of graphics software}; |
---|
| 112 | |
---|
| 113 | % Zeile 2 |
---|
| 114 | \node [purple, text width=0.2\textwidth, below=0.0cm of 1] (12) {mean vertical profiles}; |
---|
| 115 | \node [white, text width=0.25\textwidth, below=0.0cm of 2] (22) {\texttt{DATA\_1D\_PR\_NETCDF}}; |
---|
| 116 | \node [white, text width=0.25\textwidth, below=0.0cm of 3] (32) {\texttt{\_pr.nc}}; |
---|
| 117 | \node [white, text width=0.25\textwidth, below=0.0cm of 4] (42) {\texttt{ncview <filename>}\\ |
---|
| 118 | \texttt{palmplot pr <options>}\\ |
---|
| 119 | \texttt{ferret -gui}}; |
---|
| 120 | |
---|
| 121 | % Zeile 3 |
---|
| 122 | \node [purple, text width=0.2\textwidth, below=0.0cm of 12] (13) {time series}; |
---|
| 123 | \node [white, text width=0.25\textwidth, below=0.0cm of 22] (23) {\texttt{DATA\_1D\_TS\_NETCDF}}; |
---|
| 124 | \node [white, text width=0.25\textwidth, below=0.0cm of 32] (33) {\texttt{\_ts.nc}}; |
---|
| 125 | \node [white, text width=0.25\textwidth, below=0.0cm of 42] (43) {\texttt{ncview <filename>}\\ |
---|
| 126 | \texttt{palmplot ts <options>}\\ |
---|
| 127 | \texttt{ferret -gui}}; |
---|
| 128 | |
---|
| 129 | % Zeile 4 |
---|
| 130 | \node [purple, text width=0.2\textwidth, minimum height=1.5cm, below=0.0cm of 13] (14) {2d-cross-sections}; |
---|
| 131 | \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}}; |
---|
| 132 | \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}}; |
---|
| 133 | \node [white, text width=0.25\textwidth, minimum height=1.5cm, below=0.0cm of 43] (44) {\texttt{ncview <filename>}\\ |
---|
| 134 | \texttt{palmplot xy <options>}\\ |
---|
| 135 | \texttt{palmplot xz <options>}\\ |
---|
| 136 | \texttt{palmplot yz <options>}\\ |
---|
| 137 | \texttt{ferret -gui}}; |
---|
| 138 | |
---|
| 139 | % Zeile 5 |
---|
| 140 | \node [purple, text width=0.2\textwidth, below=0.0cm of 14] (15) {3d-data}; |
---|
| 141 | \node [white, text width=0.25\textwidth, below=0.0cm of 24] (25) {\texttt{DATA\_3D\_NETCDF}}; |
---|
| 142 | \node [white, text width=0.25\textwidth, below=0.0cm of 34] (35) {\texttt{\_3d.nc}}; |
---|
| 143 | \node [white, text width=0.25\textwidth, below=0.0cm of 44] (45) {\texttt{ncview <filename>}\\ |
---|
| 144 | \texttt{palmplot xy <options>}\\ |
---|
| 145 | \texttt{ferret -gui}}; |
---|
| 146 | |
---|
[973] | 147 | \draw[-] (1.south west) -- (4.south east); |
---|
| 148 | \draw[-] (13.south west) -- (43.south east); |
---|
| 149 | \draw[-] (1.north east) -- (15.south east); |
---|
[945] | 150 | \end{tikzpicture} |
---|
| 151 | \end{frame} |
---|
| 152 | |
---|
| 153 | % Folie 4 |
---|
| 154 | \begin{frame} |
---|
| 155 | \frametitle{User Actions Necessary to Get Output} |
---|
| 156 | Example for the case of mean vertical profiles: |
---|
| 157 | \footnotesize |
---|
| 158 | \begin{enumerate} |
---|
| 159 | |
---|
[973] | 160 | \item<2-> \textbf{Carefully think about, which variables you want to analyze} |
---|
[945] | 161 | \begin{itemize} |
---|
| 162 | \scriptsize |
---|
| 163 | \item[]<2-> e.g. temperature, wind, etc., resolved- or subgrid-scale?, output interval?, should they be time averaged? |
---|
| 164 | \end{itemize} |
---|
[973] | 165 | \vspace{1mm} |
---|
| 166 | \item<3-> \textbf{Find and set the appropriate output parameters in the parameter file} |
---|
[945] | 167 | \begin{itemize} |
---|
| 168 | \scriptsize |
---|
[973] | 169 | \item[]<3-> \texttt{data\_output\_pr = 'pt', 'u', 'w \dq pt\dq\, ', dt\_dopr = 900.0,} |
---|
[945] | 170 | \item[]<3-> \texttt{averaging\_interval\_pr = 600.0, dt\_averaging\_input\_pr = 10.0} |
---|
| 171 | \end{itemize} |
---|
[973] | 172 | \vspace{1mm} |
---|
| 173 | \item<4-> \textbf{Check, if the necessary file connection statements exist in the .mrun.config file}\\ |
---|
[945] | 174 | \begin{itemize} |
---|
| 175 | \scriptsize |
---|
| 176 | \item[]<4-> \texttt{DATA\_1D\_PR\_NETCDF out:loc:tr pr\# \~{}/palm/current\_version/JOBS/\$fname/OUTPUT \_pr nc} |
---|
| 177 | \end{itemize} |
---|
[973] | 178 | \vspace{1mm} |
---|
| 179 | \item<5-> \textbf{Don't forget to activate the file connection statements by setting the correct activation string(s) in \texttt{mrun}-option \texttt{-r}}\\ |
---|
[945] | 180 | \begin{itemize} |
---|
| 181 | \scriptsize |
---|
[973] | 182 | \item[]<5-> \texttt{mrun ... -r \dq ... pr\# ...\dq\, ...} |
---|
[945] | 183 | \end{itemize} |
---|
[973] | 184 | \vspace{1mm} |
---|
| 185 | \item<6-> \textbf{After job completion, change to the OUTPUT-directory and call the appropriate graphics software}\\ |
---|
[945] | 186 | \begin{itemize} |
---|
| 187 | \scriptsize |
---|
[973] | 188 | \item[]<6-> \texttt{ncview <filename>} \quad \textbf{or} \quad \texttt{palmplot pr <options>} |
---|
[945] | 189 | \end{itemize} |
---|
| 190 | \end{enumerate} |
---|
| 191 | |
---|
| 192 | \end{frame} |
---|
| 193 | |
---|
| 194 | \end{document} |
---|