Changeset 3395 for palm/trunk/UTIL/inifor/README
- Timestamp:
- Oct 22, 2018 5:32:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/README
r3182 r3395 1 # INIFOR - Mesoscale Interface for Initializing and Forcing PALM-4U (v1. 3.0)1 # INIFOR - Mesoscale Interface for Initializing and Forcing PALM-4U (v1.4.0) 2 2 3 3 INIFOR provides the meteorological fields required to initialize and drive the … … 14 14 15 15 16 ## MINIMAL USAGE EXAMPLE 17 18 1. Customize `./namelist` (number of grid points and spacings, end_time) 19 2. Run `current_version/trunk/SCRIPTS/inifor --path <scenario path> --date <YYYYMMDD>` 20 21 16 22 ## USAGE 17 23 18 1. Customize `./namelist` (number or grid points and spacings, end_time) 19 2. Run `current_version/trunk/SCRIPTS/inifor -path <scenario path> -date <YYYYMMDD>` 24 After compilation, the `inifor` binary resides in the `$PALM_BIN` path, i.e. in 25 `<PALM path>/current_version/trunk/SCRIPTS/`. 26 27 In order to run, INIFOR requires three kinds of inputs: 28 29 1. hourly COSMO model output, 30 2. a steering namelist file, and 31 3. command-line options. 32 33 In addition, a static driver file may be supplied (see `--static-driver` option 34 below) in order to pass the coordinates of the PALM origin to INIFOR. If no 35 static driver is passed to INIFOR, origin coordinates are read from the namelist 36 file. 37 38 A typical `inifor` call looks like this: 39 40 inifor --path /data/evaluation/20170729 --date 2017073006 \ 41 --init-mode profile -n namelist -o dynamic_driver.nc \ 42 --elevation 110 --input-prefix lff0 43 44 ### INPUT DATA: COSMO MODEL OUTPUT 45 46 INIFOR processes COSMO model output which it requires to be stored in a set of 47 netCDF files located in a user-specified path (see `--path` option). These are: 48 49 - hhl.nc: This file provides the COSMO numerical grid. (*hhl* abbreviates 50 *height of half layers*, i.e. the heights of the vertical cell boundaries.) 51 - soil.nc: This file provides the COSMO soil map and is used to destinguish land 52 from water cells. 53 - `<prefix>YYYYMMDDHH-<suffix>.nc`: Each of these files contains COSMO model 54 of one time step at the given time in UTC (Y..year, M..month, D..day, H..hour). 55 - The `<prefix>` distinguishes different DWD products, for instance COSMO 56 analyses (`laf`) or forecasts (`lff`). 57 - The `<suffix>` distinguishes four kinds of COSMO model output data, namely 58 - `flow` (atmospheric fields) 59 - `rad` (radiation) 60 - `soil` (soil moisture and temperature) 61 - `soilmoisture` (precipitation and evaporation) 62 - For example, laf2016010100-flow.nc contains the atmospheric fields of the 63 COSMO analysis of Januray 1st, 2016 for 0:00 UTC. 20 64 21 65 22 ## AVAILABLE NAMELIST PARAMETERS66 ### AVAILABLE NAMELIST PARAMETERS 23 67 24 68 INIFOR mirrors a subset of the PALM-4U's Fortran namelists `inipar` and `d3par` … … 26 70 27 71 28 ### inipar72 #### inipar 29 73 30 74 nx, ny, nz - number of PALM-4U grid points in x, y, and z direction … … 34 78 dz_max - maximum vertical grid spacing [m] 35 79 dz_stretch_level_start(9) - array of height levels above which the grid is 36 to be stretched vertically [m]80 to be stretched vertically [m] 37 81 dz_stretch_level_end(9) - array of height levels until which the grid is to 38 be stretched vertically [m]82 be stretched vertically [m] 39 83 longitude, latitude - geographical coordinates of the PALM-4U origin [deg] 40 84 41 85 42 ### d3par86 #### d3par 43 87 44 88 end_time - PALM-4U simulation time. INIFOR will produce hourly forcing data … … 47 91 48 92 49 ### EXAMPLE NAMELIST FILE93 #### EXAMPLE NAMELIST FILE 50 94 51 95 &inipar nx = 4679, ny = 3939, nz = 360 … … 59 103 60 104 61 ## AVAILABLE COMMAND-LINE PARAMETERS 105 ### AVAILABLE COMMAND-LINE PARAMETERS 106 --averaging-mode <mode>: 107 Selects how averaged quantities (large-scale forcing terms) are computed. 108 INIFOR supports averaging along input model levels ('level') and along 109 constant heights ('height'). Default: level 110 111 -a, --averaging-angle <angle>: 112 Width of the averaging box in longitudal and latitudal direction in the 113 source coordinate system (COSMO rotated-pole) [deg]. Default: 2.0 62 114 63 115 -d, --date, -date <date>: … … 65 117 hours (HH) are given, INIFOR assumes that the simulation starts at O UTC 66 118 on that day. Default: 20130721 67 119 68 120 -i, --init-mode, -mode <mode>: 69 121 Set the PALM-4U initialization mode. INIFOR can provide initial conditions … … 72 124 73 125 -l, --hhl-file, -hhl <netCDF file>: 74 Location of the netCDF file containing the vertical COSMO -DEgrid levels,126 Location of the netCDF file containing the vertical COSMO grid levels, 75 127 specifically the heights of half levels (hhl, i.e. vertical cell faces). 76 128 Default: <scenario path>/hhl.nc … … 83 135 -o, --output <output file>: 84 136 Name of the INIFOR output file, i.e. the PALM-4U dynamic driver. 85 Default: ./ palm-4u-input.nc137 Default: ./dynamic_driver.nc 86 138 87 139 -p, --path, -path <scenario path>: … … 89 141 90 142 -r, --surface-pressure, -p0 <pressure>: 91 Surface pressure at z=0 in the PALM-4U domain [Pa].92 Default: 1e5143 Manually set the pressure at z=0 in the PALM-4U domain [Pa]. If not 144 given, the surface pressure is computed from the COSMO pressure field. 93 145 94 146 -s, --soil-file, -soil <netCDF file>: 95 Location of the netCDF file containing the COSMO -DEsoil type map.147 Location of the netCDF file containing the COSMO soil type map. 96 148 Default: <scenario path>/soil.nc 97 149 98 150 -t, --static-driver, -static <netCDF file>: 99 Location of the netCDF file containing the static driver f ile for the case151 Location of the netCDF file containing the static driver for the case 100 152 to be simulated with PALM-4U. Optional parameter. Default: None 101 153 102 154 -u, --geostrophic-u, -ug <velocity>: 103 Specifies the geostrophic wind in x direction [m/s]. Default: 0 155 Manually specify the geostrophic wind in x direction [m/s]. If not 156 given, the geostrophic wind is computed from the COSMO pressure field. 104 157 105 158 -v, --geostrophic-v, -vg <velocity>: 106 Specifies the geostrophic wind in y direction [m/s]. Default: 0 107 108 --version: 109 Output version number and exit. 159 Manually specify the geostrophic wind in y direction [m/s]. If not 160 given, the geostrophic wind is computed from the COSMO pressure field. 110 161 111 162 -z, --elevation, -z0 <height>: Specifies the elevation of the PALM-4U domain … … 113 164 114 165 115 ## ADDITIONAL COMMAND-LINE OPTIONS 166 #### ADDITIONAL COMMAND-LINE OPTIONS 167 168 --input-prefix <prefix>: 169 Set the file prefixes for all input files. Individual prefixes can be 170 overwritten with the options below. Default: laf 116 171 117 172 --flow-prefix <prefix>: … … 126 181 --soilmoisture-prefix <prefix>: 127 182 Set the file prefix of soil moisture input files. Default: laf 183 184 --debug: 185 Enable debugging messages. 186 187 --version: 188 Output version number and exit. 189
Note: See TracChangeset
for help on using the changeset viewer.