Changeset 343 for palm/trunk/DOC/app/chapter_3.5.4.html
- Timestamp:
- Jun 24, 2009 12:59:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.5.4.html
r212 r343 275 275 ENDIF</span><br style="font-family: monospace;"><br style="font-family: monospace;"><span style="font-family: monospace;"> 276 276 grid = 'zu'</span><br> <br>The <span style="font-family: monospace;">ELSE</span> case is 277 only needed in case that output of time-averaged data is requested.<br><br><br></li><li>For 277 only needed in case that output of time-averaged data is requested.<br><br> 278 As a special case, xy cross section output can also be defined at one single level at height <span style="font-family: monospace;">k=nzb+1</span> on the u-grid. This features is useful for output of surface data (e.g. heat fluxes). In this case, the corresponding 2d data has to be resorted to the array <span style="font-family: monospace;">local_pf(i,j,nzb+1).</span> In addition to this, the grid in <a href="chapter_3.5.1.html#user_define_netcdf_grid"><span style="font-family: monospace;">user_define_netcdf_grid</span></a> as well as in <a href="chapter_3.5.1.html#user_data_output_2d"><span style="font-family: monospace;">user_data_output_2d</span></a> must be set to <span style="font-family: monospace;">grid = 'zu1'</span>.<br><br> 279 <span style="font-family: monospace;"> CASE 280 ( 'u2_xy' )</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 281 IF ( av == 0 ) THEN</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 282 DO i = nxl-1, nxr+1</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 283 DO j = nys-1, nyn+1</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 284 local_pf(i,j,nzb+1) = u2(j,i)</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 285 ENDDO</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 286 ENDDO</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 287 ELSE</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 288 DO i = nxl-1, nxr+1</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 289 DO j = nys-1, nyn+1</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 290 local_pf(i,j,nzb+1) = u2_av(j,i)</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 291 ENDDO</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 292 ENDDO</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 293 ENDIF</span><br style="font-family: monospace;"><br style="font-family: monospace;"><span style="font-family: monospace;"> 294 grid = 'zu1'</span><br><span style="font-family: monospace;"> 295 two_d = .TRUE.</span><br><br> 296 Note that <span style="font-family: monospace;">two_d = .TRUE.</span> is necessary for output of a 2d data slice.<br><br> 297 <br></li><li>For 278 298 output of 3d volume data, the gridpoint data of the quantity has to be 279 299 resorted to array <span style="font-family: monospace;">local_pf</span>
Note: See TracChangeset
for help on using the changeset viewer.