Changeset 62 for palm/trunk/DOC/app/chapter_4.5.2.html
- Timestamp:
- Mar 13, 2007 2:52:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_4.5.2.html
r54 r62 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html> 3 <head> 4 <meta content="text/html; charset=windows-1252" 5 http-equiv="CONTENT-TYPE"> 6 <title>PALM chapter 4.5.2</title> 7 <meta content="StarOffice 7 (Win32)" name="GENERATOR"> 8 <meta content="Siegfried Raasch" name="AUTHOR"> 9 <meta content="20041022;12155949" name="CREATED"> 10 <meta content="20041117;11232134" name="CHANGED"> 11 <meta content="parallel LES model" name="KEYWORDS"> 12 <style> 13 <!-- 14 @page { size: 21cm 29.7cm } 15 --> 16 </style> 17 </head> 18 <body lang="en-US" dir="ltr"> 19 <h4 style="line-height: 100%;"><font size="4">4.5.2 Plots of vertical 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 20 11 profiles with profil</font></h4> 21 12 <p style="line-height: 100%;">Output of vertical 22 profile data is enabled by providing values for the run parameters <a 23 href="chapter_4.2.html#dt_dopr"><u>dt_dopr</u></a><span 24 style="text-decoration: none;"> 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;"> 25 14 and </span><a href="chapter_4.2.html#data_output_pr">data_output_pr</a> 26 <span style="text-decoration: none;">which specify the temporal 15 <span style="text-decoration: none;">which specify the 16 temporal 27 17 interval of the output times (in s) and the quantities for which output 28 18 is to be made.</span> Output times cannot be defined … … 38 28 possible via the 39 29 initialization parameter <a href="chapter_4.1.html#statistic_regions">statistic_regions</a>.</p> 40 <p style="line-height: 100%;">Output of desired profiles (temperature,41 velocity, etc.) is steered with the run parameter <a 42 href="chapter_4.2.html#data_output_pr">data_output_pr</a>.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>. 43 33 If this parameter is not set by the user, then, independently of the 44 34 value of <b>dt_dopr</b>, there will be no output! PALM 45 35 creates the local file <a href="chapter_3.4.html#PLOT1D_DATA">PLOT1D_DATA</a>, 46 which must be linked with a permanent file (see e.g. <a 47 href="chapter_3.2.html">chapter 36 which must be linked with a permanent file (see e.g. <a href="chapter_3.2.html">chapter 48 37 3.2</a>) via a file connection statement in the <b>mrun</b> 49 38 configuration file. At the end of the run the local file is copied 50 39 to this file. Such a statement can look like this: </p> 51 <ul> 52 <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font size="2" 53 style="font-size: 10pt;">PLOT1D_DATA out:loc:tr pr ~/PLOT/$fname _pr_in.</font></pre> 54 </ul> 55 <p style="line-height: 100%;">If the respective <b>mrun</b> call is 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 56 43 like<br> 57 </p> 58 <ul> 59 <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font size="2" 60 style="font-size: 10pt;">mrun -d test -r pr 61 </font></pre> 62 </ul> 63 <p style="line-height: 100%;">then the local f<span 64 style="text-decoration: none;">ile 65 </span><tt><span style="text-decoration: none;"><font size="2" 66 style="font-size: 10pt;">PLOT1D_DATA</font></span></tt><span 67 style="text-decoration: none;"><font size="2" style="font-size: 10pt;"> 68 </font>is copied to the permanent file </span><tt><span 69 style="text-decoration: none;"><font size="2" style="font-size: 10pt;">~/PLOT/test/test_pr_in</font></span></tt><span 70 style="text-decoration: none;">. 71 However, the character string <font size="2" style="font-size: 10pt;"></font></span><tt><span 72 style="text-decoration: none;"><font size="2" style="font-size: 10pt;">pr</font></span></tt><span 73 style="text-decoration: none;"><font size="2" style="font-size: 10pt;"></font> 74 activating the file connection statement </span><span 75 style="text-decoration: none;">(see third column of the statement) </span><span 76 style="text-decoration: none;">must be given in the <b>mrun</b> 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> 77 52 call as argument of the 78 53 option -r (and/or -o)<b>.</b> If t</span>his is … … 83 58 <p style="line-height: 100%;">The created data file can be 84 59 directly used as input file for the plot software <b>profil</b>. 85 <b>profil</b> needs another file, the so-called parameter file, which 60 <b>profil</b> needs another file, the so-called parameter 61 file, which 86 62 specifies the plot layout. This file is created by PALM under the local 87 63 name <a href="chapter_3.4.html#PLOT1D_PAR">PLOT1D_PAR</a> 88 64 and also needs a file connection statement, e.g.: </p> 89 <ul> 90 <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font size="2" 91 style="font-size: 10pt;">PLOT1D_PAR out:loc:tr pr ~/PLOT/$fname _pr_par.</font></pre> 92 </ul> 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> 93 66 <p style="line-height: 100%;">If you are in the directory 94 <tt><font s ize="2" style="font-size: 10pt;">~/PLOT/test</font>,</tt>the67 <tt><font style="font-size: 10pt;" size="2">~/PLOT/test</font>,</tt>the 95 68 data can be plotted by entering </p> 96 <ul> 97 <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font size="2" 98 style="font-size: 10pt;">profil -d test_pr_in -p test_pr_par</font></pre> 99 </ul> 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> 100 70 <p style="line-height: 100%;">The default plot layout as 101 71 specified in the parameter file is as follows: the profiles of the … … 110 80 It is very important to note that only profiles are plottet, which are 111 81 assigned to 112 a coordinate system via <b>cross_profiles</b>. If a certain 113 variable is selected by <b>data_output_pr</b> but not assigned to a coordinate 114 system via <b>cross_profiles</b>, then the appropriate profile data 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 115 88 are written to the file PLOT1D_DATA but they are not plotted! All 116 89 panels for which data … … 119 92 to be plottet in a panel but output of potential temperature is not set 120 93 via 121 <b>data_output_pr</b>, then the respective panel is not drawn 94 <b>data_output_pr</b>, then the respective panel is not 95 drawn 122 96 (thus no 'empty' panels appear in the plot). The 123 97 parameters <a href="chapter_4.2.html#profile_columns">profile_columns</a> … … 127 101 starting in the top row from left to right. 128 102 If the number of panels to be plotted is larger than the 129 product <b>profile_columns</b> * <b>profile_rows</b>, then the plot 103 product <b>profile_columns</b> * <b>profile_rows</b>, 104 then the plot 130 105 is continued on a second page. </p> 131 <p style="line-height: 100%;">During a model run output of profiles to 106 <p style="line-height: 100%;">During a model run output of 107 profiles to 132 108 file PLOT1D_DATA is usually carried out for several times (as 133 determined by <span style="font-weight: bold;">dt_dopr</span>)<font 134 size="2" style="font-size: 10pt;">.</font> 109 determined by <span style="font-weight: bold;">dt_dopr</span>)<font style="font-size: 10pt;" size="2">.</font> 135 110 All of these profiles belonging to the same quantity are plotted in the 136 111 same panel. The different output times are marked by different line … … 141 116 This legend string is taken from file PLOT1D_DATA 142 117 in which a comment line is placed ahead of each profile data. </p> 143 <p style="line-height: 100%;">For identification, each plot is 118 <p style="line-height: 100%;">For identification, each 119 plot is 144 120 provided with a title, which contains the model version number, the 145 121 run identifier (base file name + number of the restart run), the name 146 122 of the host where the run was executed, the date and time of the 147 123 beginning 148 of the run as well as the averaging domain (by default: <span 149 style="font-style: italic;">'total 150 domain'</span>). If the profiles are additionally temporally averaged, 151 each panel gets an appropriate sub-label (<span 152 style="font-style: italic;">'time 153 averaged over 154 s'</span>). The axes labels of the x axes of the 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 155 130 individual panels are specified with the run parameter 156 131 <a href="chapter_4.2.html#cross_xtext">cross_xtext</a>, … … 162 137 and <a href="chapter_4.2.html#cross_normalized_y">cross_normalized_y</a>). 163 138 The respective normalization is noted in the axes label. </p> 164 <p style="line-height: 100%;"><font color="#000000">As already 139 <p style="line-height: 100%;"><font color="#000000">As 140 already 165 141 mentioned, the profiles of a quantity 166 142 for all output times are plotted into the same panel. This is not … … 174 150 restart runs. For this 175 151 purpose the configuration file must be changed such that for restart 176 runs the profile data are appended to already existing<font 177 color="#000000"> 152 runs the profile data are appended to already existing<font color="#000000"> 178 153 data</font> (thus all data are output into one file). Then the 179 configuration file has two entries for </font><tt><font color="#000000">PLOT1D_DATA</font></tt><font 180 color="#000000">: 181 </font></p> 182 <ul> 183 <pre style="line-height: 100%;"><font size="2" 184 style="font-size: 10pt;">PLOT1D_DATA out:loc:tr pr# ~/PLOT/$fname _pr_in</font><br><font 185 size="2" style="font-size: 10pt;">PLOT1D_DATA out:loc:tra prf ~/PLOT/$fname _pr_in.</font></pre> 186 </ul> 187 <p style="line-height: 100%;">The first run of the job chain is now </p> 188 <ul> 189 <pre style="margin-bottom: 0.5cm; line-height: 100%;"><font size="2" 190 style="font-size: 10pt;">mrun - D test - r pr# 191 </font></pre> 192 </ul> 193 <p style="line-height: 100%;">For the restart runs, the "#" in the <span 194 style="font-weight: bold;">mrun</span> 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> 195 161 call is automatically replaced by an "f". At the end of the job chain 196 162 there will only be one data file containing the complete profile data. 197 163 The file connection statement for the parameter file 198 <font size="3">PLOT1D_PAR</font> has not changed, thus a new cycle of 164 <font size="3">PLOT1D_PAR</font> has not changed, 165 thus a new cycle of 199 166 the respective permanent file is created for each run. To plot 200 167 the combined data with the parameter file created by the last run of 201 168 the job chain, the run parameter 202 169 <a href="chapter_4.2.html#use_prior_plot1d_parameters">use_prior_plot1d_parameters</a> 203 = <i>.TRUE.</i> must be additionally set for the restart runs. If this 170 = <i>.TRUE.</i> must be additionally set for the restart 171 runs. If this 204 172 is 205 173 forgotten, the parameter file is useless and the data cannot 206 174 be plotted. </p> 207 <p style="line-height: 100%;">The default layout of the plots of 175 <p style="line-height: 100%;">The default layout of the 176 plots of 208 177 vertical profiles can be changed by editing the 209 parameter file. For a detailed description of the <span 210 style="font-weight: bold;">profil</span> parameters see the 211 <a 212 href="http://www.muk.uni-hannover.de/institut/software/profil_beschreibung.html">profil</a> 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> 213 181 manual (only in German). <br> 214 </p> 215 <hr> 216 <p style="line-height: 100%;"><br> 217 <font color="#000080"><font color="#000080"><a href="chapter_4.5.html"><font 218 color="#000080"><img width="32" height="32" border="2" align="bottom" 219 name="Grafik1" src="left.gif"></font></a><a href="index.html"><font 220 color="#000080"><img width="32" height="32" border="2" align="bottom" 221 name="Grafik2" src="up.gif"></font></a><a href="chapter_4.5.3.html"><font 222 color="#000080"><img width="32" height="32" border="2" align="bottom" 223 name="Grafik3" src="right.gif"></font></a></font></font></p> 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> 224 184 <p style="line-height: 100%;"><span style="font-style: italic;">Last 225 change:</span> 19/04/05 (SR) </p> 226 </body> 227 </html> 185 change:</span> $Id$ </p> 186 </body></html>
Note: See TracChangeset
for help on using the changeset viewer.