Changeset 493 for palm/trunk/DOC/app/chapter_4.5.1.html
- Timestamp:
- Mar 1, 2010 8:30:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_4.5.1.html
r97 r493 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 2 <html><head> 3 3 4 <meta content="text/html; charset=windows-1252" http-equiv="CONTENT-TYPE"><title>PALM chapter 4.5.1</title> 4 5 <meta content="StarOffice 7 (Win32)" name="GENERATOR"> … … 7 8 @page { size: 21cm 29.7cm } 8 9 --> 9 </style></head> 10 <body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.1 10 </style></head><body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.1 11 11 NetCDF data output <span style="color: rgb(255, 0, 0);"></span></font></h4> 12 12 <p style="line-height: 100%;">The standard data output of 13 13 PALM is NetCDF (<span style="font-weight: bold;">Net</span>work 14 <span style="font-weight: bold;">C</span>ommon <span style="font-weight: bold;">D</span>ata <span style="font-weight: bold;">F</span>orm) . NetCDF is an15 interface to a library of data access functions <br>for14 <span style="font-weight: bold;">C</span>ommon <span style="font-weight: bold;">D</span>ata <span style="font-weight: bold;">F</span>orm) in 64-bit offset format. NetCDF is an 15 interface to a library of data access functions for 16 16 storing and retrieving data in the form of arrays. NetCDF is an 17 17 abstraction that supports a view of data as a collection of … … 36 36 on <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/manual/netcdf/netcdf-3_f90_tutorial.pdf">our 37 37 web server</a>.</p><p style="line-height: 100%;">The 38 output format of PALM data is determined by the runtime-parameter <a href="chapter_4.2.html#data_output_format">data_output_format</a>38 general output format of PALM data is determined by the runtime-parameter <a href="chapter_4.2.html#data_output_format">data_output_format</a> 39 39 (<span style="font-weight: bold;">data_output_format</span> 40 40 = <span style="font-style: italic;">'netcdf'</span>, … … 42 42 selected (see <a href="chapter_4.2.html#data_output_format">data_output_format</a>). 43 43 The accuracy of the NetCDF output data can be set with parameter <a href="chapter_4.1.html#netcdf_precision">netcdf_precision</a>. 44 By default, data have single (4 byte) precision. Also by default, 45 NetCDF datasets (files) are not allowed to be larger than 2 GByte. 46 Larger datasets can be created by setting <a href="chapter_4.2.html#netcdf_64bit">netcdf_64bit</a> 47 = <span style="font-style: italic;">.TRUE.</span>. 48 These files then have the so-called 64bit-offset format. However, 49 currently, many of the existing application programs may not support 50 this 64-bit offset format.<br></p>PALM allows the output of 44 By default, data have single (4 byte) precision. Runtime-parameter <a href="chapter_4.2.html#netcdf_data_format">netcdf_data_format</a> 45 can be used to choose between the different NetCDF file formats 46 (classic, 64-bit offset, NetCDF4/HDF5). The 64-bit offset format allows 47 creating large files (file size only limited by the underlying file 48 system), but each output variable (array) is still limited to 2GB. In 49 NetCDF4 format, there is no limit for the size of variables, and it 50 also allows parallel I/O into one output file. However, some (graphic) 51 software still does not support NetCDF4 format.<br></p>PALM allows the output of 51 52 various 52 53 data (e.g. cross sections, vertical profiles, timeseries, etc.) into … … 157 158 or <a href="chapter_4.2.html#skip_time_do3d">skip_time_do3d</a>)</td></tr><tr><td align="undefined" valign="undefined">particle 158 159 timeseries</td><td style="vertical-align: top;"><a href="chapter_3.4.html#DATA_1D_PTS_NETCDF">DATA_1D_PTS_NETCDF</a></td><td style="vertical-align: top;"><a href="chapter_4.2.html#dt_data_output">dt_data_output</a> 159 (or <a href="chapter_4.2.html#dt_dopts">dt_dopts</a>)</td><td align="undefined" valign="undefined"></td></tr><tr><td align="left" valign="top">particle attributes</td><td align="left" valign="top"><a href="chapter_3.4.html#DATA_PRT_NETCDF">DATA_PRT_NETCDF</a></td><td align="left" valign="top"><a href="chapter_4.2.html#dt_write_particle_data">dt_write_particle_data</a></td><td align="left" valign="top"></td></tr></tbody></table><br><br><span style="font-weight: bold;">Creating, contents and 160 (or <a href="chapter_4.2.html#dt_dopts">dt_dopts</a>)</td><td align="undefined" valign="undefined"><br> 161 </td></tr><tr><td align="left" valign="top">particle attributes</td><td align="left" valign="top"><a href="chapter_3.4.html#DATA_PRT_NETCDF">DATA_PRT_NETCDF</a></td><td align="left" valign="top"><a href="chapter_4.2.html#dt_write_particle_data">dt_write_particle_data</a></td><td align="left" valign="top"><br> 162 </td></tr></tbody></table><br><br><span style="font-weight: bold;">Creating, contents and 160 163 post-processing of a PALM NetCDF file</span><br><br>This 161 164 section describes, step-by-step, the creation, storage, and … … 208 211 the respective <b>mrun</b> call is 209 212 like<br><br><span style="font-family: monospace;"> 210 mrun -d test -r “xy#”... </span><br style="font-family: monospace;"><br>then the local213 mrun -d test -r xy# ... </span><br style="font-family: monospace;"><br>then the local 211 214 file <tt><font style="font-size: 10pt;" size="2">DATA_2D_XY_NETCDF</font></tt> 212 215 is copied to the permanent file <tt><font style="font-size: 10pt;" size="2">~/test/OUTPUT/test/test_xy.nc</font> … … 229 232 which requires an additional file connection statement<br><br><span style="font-family: monospace;"> 230 233 DATA_2D_XY_AV_NETCDF out:loc:tr xy# 231 ~/$fname/OUTPUT/$fname _xy_av nc .</span><br></p></li><li> With234 ~/$fname/OUTPUT/$fname _xy_av nc .</span><br></p></li><li>Using <a href="chapter_4.2.html#netcdf_data_format">netcdf_data_format</a> > <span style="font-style: italic;">2</span> or <a href="chapter_4.2.html#data_output_2d_on_each_pe">data_output_2d_on_each_pe</a> = <span style="font-style: italic;">.F.</span> generates a single NetCDF file containing data from all propcessors. However, with 232 235 parallel runs and choice of <a href="chapter_4.2.html#data_output_2d_on_each_pe">data_output_2d_on_each_pe</a> 233 236 = <i>.T.</i> … … 293 296 example program.<br><br><br></li><li>By 294 297 default, each PALM job creates its own NetCDF files. If permanent files 295 with respective filenames are already existing then new files with298 with respective filenames are already existing, then new files with 296 299 higher cycle numbers will be created. However, in case of a job chain, 297 300 it is possible to extend the NetCDF datasets created by the initial
Note: See TracChangeset
for help on using the changeset viewer.