Changes between Version 11 and Version 12 of doc/app/iofiles/pids/palm_csd
- Timestamp:
- Dec 11, 2020 5:03:31 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/iofiles/pids/palm_csd
v11 v12 2 2 In order to create comprehensive drivers for PALM runs in urban environments, PALM comes shipped with the tool palm_csd. This python3-based script was developed in the course of [http://uc2-mosaik.org the MOSAIK project] and thus is, in principal, only working for the democities Berlin, Hamburg, and Stuttgart. However, with some effort it is possible to adapt the script for other cities as well. Note that in the mid-term, palm_csd will be replaced by a more generic and universal tool based with a graphical user interface as front end. 3 3 4 == Execution == 4 == Usage == 5 === Execution === 5 6 In order to create a static driver, go to the working directory (usually {{{~/palm/current_version}}}), prepare a palm_csd configuration file (see below, an exemplary file can be found [source:palm/trunk/SCRIPTS/.csd.config.default here]). After set-up of the configuration file, execute palm_csd as follows: 6 7 {{{ … … 9 10 The static driver will be written to the directory specified in the configuration file. During compilation of the driver, palm_csd will print some more or less useful information to screen. 10 11 11 == Configuration file==12 === Configuration file === 12 13 This section describes how to set-up a configuration file for creating a static driver for PALM based on pre-processed NetCDF data. In the following we will use data for Berlin, which is available via Open Access. The configuration file uses the well-known format of INI files, which are processed by the ConfigParser package in python. It consists of the following sections: 13 14 14 === [global]===15 ==== [global] ==== 15 16 A set of global attributes can be defined that will be passed to the static driver file. In details, the following attributes can be set (see also [wiki:doc/app/iofiles/pids/static static driver description]: 16 17 ||='''Attribute''' =||='''Data type''' =||='''Description''' =|| … … 52 53 Note that most of the global attributes have no effect on the PALM simulations, except {{{rotation_angle}}} and {{{palm_version}}}. 53 54 54 === [settings]===55 ==== [settings] ==== 55 56 This section describes global parameters used to create the static driver. All following parameters are mandatory! 56 57 … … 81 82 }}} 82 83 83 === [output]===84 ==== [output] ==== 84 85 ||='''Variable''' =||='''Data type''' =||='''Description''' =|| 85 86 || {{{path}}} || string ||Directory where the output file shall be stored. Note that the static driver can - depending on model domain size - be quite large (in the order of several GB). || … … 94 95 }}} 95 96 96 === [input_01] - [input_XX]===97 ==== [input_01] - [input_XX] ==== 97 98 path = /ldata2/MOSAIK/Berlin_static_driver_data 98 99 pixel_size = 15.0 … … 124 125 file_vegetation_on_roofs = Berlin_vegetation_on_roofs_15m_DLR.nc 125 126 126 === [domain_root]===127 ==== [domain_root] ==== 127 128 pixel_size = 15.0 128 129 origin_x = 19605 … … 142 143 143 144 144 === [domain_01] - [domain_NXX]===145 ==== [domain_01] - [domain_NXX] ==== 145 146 pixel_size = 1.0 146 147 origin_x = 19605 … … 159 160 canopy_patches = True 160 161 161 == Canopy generator == 162 === Single trees === 163 === Vegetation canopies === 162 === Required input data === 164 163 165 == Required input data==164 == Technical documentation == 166 165 167 == Best practices == 166 167 === Overview === 168 169 === Processing of nested domains === 170 171 === Canopy generator === 172 173 ==== Single trees ==== 174 ==== Vegetation canopies ==== 175 176 177 === Best practices === 168 178 169 179 == Literature ==