[5] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
[62] | 2 | <html><head> |
---|
| 3 | <meta content="text/html; charset=windows-1252" http-equiv="CONTENT-TYPE"><title>PALM chapter 4.5.2</title> <meta content="StarOffice 7 (Win32)" name="GENERATOR"> <meta content="Siegfried Raasch" name="AUTHOR"> <meta content="20041022;12155949" name="CREATED"> <meta content="20041117;11232134" name="CHANGED"> <meta content="parallel LES model" name="KEYWORDS"> <style> |
---|
| 4 | <!-- |
---|
| 5 | @page { size: 21cm 29.7cm } |
---|
| 6 | --> |
---|
| 7 | </style></head> |
---|
| 8 | |
---|
| 9 | <body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.2 |
---|
| 10 | Plots of vertical |
---|
[5] | 11 | profiles with profil</font></h4> |
---|
| 12 | <p style="line-height: 100%;">Output of vertical |
---|
[62] | 13 | profile data is enabled by providing values for the run parameters <a href="chapter_4.2.html#dt_dopr"><u>dt_dopr</u></a><span style="text-decoration: none;"> |
---|
[5] | 14 | and </span><a href="chapter_4.2.html#data_output_pr">data_output_pr</a> |
---|
[62] | 15 | <span style="text-decoration: none;">which specify the |
---|
| 16 | temporal |
---|
[5] | 17 | interval of the output times (in s) and the quantities for which output |
---|
| 18 | is to be made.</span> Output times cannot be defined |
---|
| 19 | directly but only via the output time interval, starting from the |
---|
| 20 | beginning of the initial 3d run (t=0, but no profiles are |
---|
| 21 | written at the time t=0; exceptions see <a href="chapter_4.2.html#data_output_pr">data_output_pr</a>). |
---|
| 22 | By default, vertical profiles represent an instantaneous horizontal |
---|
| 23 | average of the |
---|
| 24 | total model domain at the respective output time. Temporal averaging |
---|
| 25 | can be initiated with |
---|
| 26 | the run parameter <a href="chapter_4.2.html#averaging_interval_pr">averaging_interval_pr</a>. |
---|
| 27 | Beyond that, an output of profiles for user-defined subdomains is |
---|
| 28 | possible via the |
---|
| 29 | initialization parameter <a href="chapter_4.1.html#statistic_regions">statistic_regions</a>.</p> |
---|
[62] | 30 | <p style="line-height: 100%;">Output of desired profiles |
---|
| 31 | (temperature, |
---|
| 32 | velocity, etc.) is steered with the run parameter <a href="chapter_4.2.html#data_output_pr">data_output_pr</a>. |
---|
[5] | 33 | If this parameter is not set by the user, then, independently of the |
---|
| 34 | value of <b>dt_dopr</b>, there will be no output! PALM |
---|
| 35 | creates the local file <a href="chapter_3.4.html#PLOT1D_DATA">PLOT1D_DATA</a>, |
---|
[62] | 36 | which must be linked with a permanent file (see e.g. <a href="chapter_3.2.html">chapter |
---|
[5] | 37 | 3.2</a>) via a file connection statement in the <b>mrun</b> |
---|
| 38 | configuration file. At the end of the run the local file is copied |
---|
| 39 | to this file. Such a statement can look like this: </p> |
---|
[62] | 40 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">PLOT1D_DATA out:loc:tr pr ~/PLOT/$fname _pr_in.</font></pre></ul> |
---|
| 41 | <p style="line-height: 100%;">If the respective <b>mrun</b> |
---|
| 42 | call is |
---|
[5] | 43 | like<br> |
---|
[62] | 44 | </p><ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun -d test -r “pr” …</font></pre> |
---|
| 45 | </ul><p style="line-height: 100%;">then the local f<span style="text-decoration: none;">ile |
---|
| 46 | </span><tt><span style="text-decoration: none;"><font style="font-size: 10pt;" size="2">PLOT1D_DATA</font></span></tt><span style="text-decoration: none;"><font style="font-size: 10pt;" size="2"> |
---|
| 47 | </font>is copied to the permanent file </span><tt><span style="text-decoration: none;"><font style="font-size: 10pt;" size="2">~/PLOT/test/test_pr_in</font></span></tt><span style="text-decoration: none;">. |
---|
| 48 | However, the character string <font style="font-size: 10pt;" size="2">“</font></span><tt><span style="text-decoration: none;"><font style="font-size: 10pt;" size="2">pr</font></span></tt><span style="text-decoration: none;"><font style="font-size: 10pt;" size="2">”</font> |
---|
| 49 | activating the file connection statement </span><span style="text-decoration: none;">(see third column of the |
---|
| 50 | statement) </span><span style="text-decoration: none;">must |
---|
| 51 | be given in the <b>mrun</b> |
---|
[5] | 52 | call as argument of the |
---|
| 53 | option -r (and/or -o)<b>.</b> If t</span>his is |
---|
| 54 | forgotten by mistake, the model outputs the data to the local file, but |
---|
| 55 | this is |
---|
| 56 | not copied to the permanent file and thus the data are not available |
---|
| 57 | for the user after the run has finished. </p> |
---|
| 58 | <p style="line-height: 100%;">The created data file can be |
---|
| 59 | directly used as input file for the plot software <b>profil</b>. |
---|
[62] | 60 | <b>profil</b> needs another file, the so-called parameter |
---|
| 61 | file, which |
---|
[5] | 62 | specifies the plot layout. This file is created by PALM under the local |
---|
| 63 | name <a href="chapter_3.4.html#PLOT1D_PAR">PLOT1D_PAR</a> |
---|
| 64 | and also needs a file connection statement, e.g.: </p> |
---|
[62] | 65 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">PLOT1D_PAR out:loc:tr pr ~/PLOT/$fname _pr_par.</font></pre></ul> |
---|
[5] | 66 | <p style="line-height: 100%;">If you are in the directory |
---|
[62] | 67 | <tt><font style="font-size: 10pt;" size="2">~/PLOT/test</font>,</tt>the |
---|
[5] | 68 | data can be plotted by entering </p> |
---|
[62] | 69 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">profil -d test_pr_in -p test_pr_par</font></pre></ul> |
---|
[5] | 70 | <p style="line-height: 100%;">The default plot layout as |
---|
| 71 | specified in the parameter file is as follows: the profiles of the |
---|
| 72 | different quantities are plottet into |
---|
| 73 | one or more coordinate systems (panels). Every profile is plotted only |
---|
| 74 | once, |
---|
| 75 | however several profiles of different quantities can be plottet into |
---|
| 76 | the same panel. If case of this, the different quantities are |
---|
| 77 | marked by different styles of lines. Which variables |
---|
| 78 | are drawn into which coordinate system is specified by the user via |
---|
| 79 | the run parameter <a href="chapter_4.2.html#cross_profiles">cross_profiles</a>. |
---|
| 80 | It is very important to note that only profiles are plottet, which are |
---|
| 81 | assigned to |
---|
[62] | 82 | a coordinate system via <b>cross_profiles</b>. If a |
---|
| 83 | certain |
---|
| 84 | variable is selected by <b>data_output_pr</b> but not |
---|
| 85 | assigned to a coordinate |
---|
| 86 | system via <b>cross_profiles</b>, then the appropriate |
---|
| 87 | profile data |
---|
[5] | 88 | are written to the file PLOT1D_DATA but they are not plotted! All |
---|
| 89 | panels for which data |
---|
| 90 | exist are plotted. For example, if only the profiles of the potential |
---|
| 91 | temperature are |
---|
| 92 | to be plottet in a panel but output of potential temperature is not set |
---|
| 93 | via |
---|
[62] | 94 | <b>data_output_pr</b>, then the respective panel is not |
---|
| 95 | drawn |
---|
[5] | 96 | (thus no 'empty' panels appear in the plot). The |
---|
| 97 | parameters <a href="chapter_4.2.html#profile_columns">profile_columns</a> |
---|
| 98 | and <a href="chapter_4.2.html#profile_rows">profile_rows</a> |
---|
| 99 | determine how the panels are arranged in columns and rows. The panels |
---|
| 100 | are plotted in the order given by <span style="font-weight: bold;">data_output_pr</span> |
---|
| 101 | starting in the top row from left to right. |
---|
| 102 | If the number of panels to be plotted is larger than the |
---|
[62] | 103 | product <b>profile_columns</b> * <b>profile_rows</b>, |
---|
| 104 | then the plot |
---|
[5] | 105 | is continued on a second page. </p> |
---|
[62] | 106 | <p style="line-height: 100%;">During a model run output of |
---|
| 107 | profiles to |
---|
[5] | 108 | file PLOT1D_DATA is usually carried out for several times (as |
---|
[62] | 109 | determined by <span style="font-weight: bold;">dt_dopr</span>)<font style="font-size: 10pt;" size="2">.</font> |
---|
[5] | 110 | All of these profiles belonging to the same quantity are plotted in the |
---|
| 111 | same panel. The different output times are marked by different line |
---|
| 112 | colors. All profiles of a certain output time have the |
---|
| 113 | same color, even if they are plotted into different panels. Beyond |
---|
| 114 | that, a legend entry is made for each, containing the name of the |
---|
| 115 | respective quantity and the output time. |
---|
| 116 | This legend string is taken from file PLOT1D_DATA |
---|
| 117 | in which a comment line is placed ahead of each profile data. </p> |
---|
[62] | 118 | <p style="line-height: 100%;">For identification, each |
---|
| 119 | plot is |
---|
[5] | 120 | provided with a title, which contains the model version number, the |
---|
| 121 | run identifier (base file name + number of the restart run), the name |
---|
| 122 | of the host where the run was executed, the date and time of the |
---|
| 123 | beginning |
---|
[62] | 124 | of the run as well as the averaging domain (by default: <span style="font-style: italic;">'total |
---|
| 125 | domain'</span>). If the profiles are additionally temporally |
---|
| 126 | averaged, |
---|
| 127 | each panel gets an appropriate sub-label (<span style="font-style: italic;">'time |
---|
| 128 | averaged over… s'</span>). The axes labels of the x |
---|
| 129 | axes of the |
---|
[5] | 130 | individual panels are specified with the run parameter |
---|
| 131 | <a href="chapter_4.2.html#cross_xtext">cross_xtext</a>, |
---|
| 132 | the y axes always have the label <span style="font-style: italic;">'height |
---|
| 133 | in m'</span>. For better |
---|
| 134 | comparison, the profiles can be normalized with respect to different |
---|
| 135 | quantities |
---|
| 136 | (see <a href="chapter_4.2.html#cross_normalized_x">cross_normalized_x</a> |
---|
| 137 | and <a href="chapter_4.2.html#cross_normalized_y">cross_normalized_y</a>). |
---|
| 138 | The respective normalization is noted in the axes label. </p> |
---|
[62] | 139 | <p style="line-height: 100%;"><font color="#000000">As |
---|
| 140 | already |
---|
[5] | 141 | mentioned, the profiles of a quantity |
---|
| 142 | for all output times are plotted into the same panel. This is not |
---|
| 143 | possible if a simulation needs restart runs, since the restart runs |
---|
| 144 | write the |
---|
| 145 | profile data to separate files (with appropriate cycle numbers) and |
---|
| 146 | create own parameter files. Thus by default profiles can only be drawn |
---|
| 147 | separately for each respective run. However there is a possibility to |
---|
| 148 | plot |
---|
| 149 | all profiles of a quantity in one plot, regardless of the number of |
---|
| 150 | restart runs. For this |
---|
| 151 | purpose the configuration file must be changed such that for restart |
---|
[62] | 152 | runs the profile data are appended to already existing<font color="#000000"> |
---|
[5] | 153 | data</font> (thus all data are output into one file). Then the |
---|
[62] | 154 | configuration file has two entries for </font><tt><font color="#000000">PLOT1D_DATA</font></tt><font color="#000000">: |
---|
| 155 | </font></p><ul> <pre style="line-height: 100%;"><font style="font-size: 10pt;" size="2">PLOT1D_DATA out:loc:tr pr# ~/PLOT/$fname _pr_in</font><br><font style="font-size: 10pt;" size="2">PLOT1D_DATA out:loc:tra prf ~/PLOT/$fname _pr_in.</font></pre> |
---|
| 156 | </ul><p style="line-height: 100%;">The first run of |
---|
| 157 | the job chain is now </p> |
---|
| 158 | <ul> <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font style="font-size: 10pt;" size="2">mrun - D test - r “pr#…</font></pre></ul> |
---|
| 159 | <p style="line-height: 100%;">For the restart runs, the |
---|
| 160 | "#" in the <span style="font-weight: bold;">mrun</span> |
---|
[5] | 161 | call is automatically replaced by an "f". At the end of the job chain |
---|
| 162 | there will only be one data file containing the complete profile data. |
---|
| 163 | The file connection statement for the parameter file |
---|
[62] | 164 | <font size="3">PLOT1D_PAR</font> has not changed, |
---|
| 165 | thus a new cycle of |
---|
[5] | 166 | the respective permanent file is created for each run. To plot |
---|
| 167 | the combined data with the parameter file created by the last run of |
---|
| 168 | the job chain, the run parameter |
---|
| 169 | <a href="chapter_4.2.html#use_prior_plot1d_parameters">use_prior_plot1d_parameters</a> |
---|
[62] | 170 | = <i>.TRUE.</i> must be additionally set for the restart |
---|
| 171 | runs. If this |
---|
[5] | 172 | is |
---|
| 173 | forgotten, the parameter file is useless and the data cannot |
---|
| 174 | be plotted. </p> |
---|
[62] | 175 | <p style="line-height: 100%;">The default layout of the |
---|
| 176 | plots of |
---|
[5] | 177 | vertical profiles can be changed by editing the |
---|
[62] | 178 | parameter file. For a detailed description of the <span style="font-weight: bold;">profil</span> parameters |
---|
| 179 | see the |
---|
| 180 | <a href="http://www.muk.uni-hannover.de/institut/software/profil_beschreibung.html">profil</a> |
---|
[5] | 181 | manual (only in German). <br> |
---|
[62] | 182 | </p><hr> |
---|
| 183 | <p style="line-height: 100%;"><br><font color="#000080"><font color="#000080"><a href="chapter_4.5.html"><font color="#000080"><img name="Grafik1" src="left.gif" align="bottom" border="2" height="32" width="32"></font></a><a href="index.html"><font color="#000080"><img name="Grafik2" src="up.gif" align="bottom" border="2" height="32" width="32"></font></a><a href="chapter_4.5.3.html"><font color="#000080"><img name="Grafik3" src="right.gif" align="bottom" border="2" height="32" width="32"></font></a></font></font></p> |
---|
[5] | 184 | <p style="line-height: 100%;"><span style="font-style: italic;">Last |
---|
[62] | 185 | change:</span> $Id: chapter_4.5.2.html 62 2007-03-13 02:52:40Z raasch $ </p> |
---|
| 186 | </body></html> |
---|