Changeset 3182 for palm/trunk/UTIL/inifor/README
- Timestamp:
- Jul 27, 2018 1:36:03 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/README
r2696 r3182 1 INIFOR - Initialization and Forcing of PALM-4U (v1.1.5)1 # INIFOR - Mesoscale Interface for Initializing and Forcing PALM-4U (v1.3.0) 2 2 3 3 INIFOR provides the meteorological fields required to initialize and drive the … … 5 5 interpolated from output data of the meso-scale model COSMO. 6 6 7 COMPILATION 7 8 ## COMPILATION 8 9 9 10 1. Customize ./Makefile and ./tests/Makefile (netCDF library location, compiler 10 11 and parameters, use Makefile.ifort as a template if you want to use the Intel 11 12 Fortran compiler) 12 2. $ make13 2. Run `make` 13 14 14 USAGE15 15 16 1. Customize ./namelist (number or grid points and spacings, end_time) 17 2. $ ./bin/inifor -path <scenario path> -date <YYYYMMDD> -clat <latitude> -clon <longitude> 16 ## USAGE 18 17 19 All COMMAND-LINE PARAMETERS 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>` 20 20 21 -date <date>: Start date of the simulation in the form YYYMMDD. Currently,22 INIFOR assumes that the simulation starts at O UTC on that day.23 Default: 2013072124 21 25 -hhl <netCDF file>: Location of the netCDF file containing the vertical COSMO-DE 26 grid (hhh = height of half layers, i.e. vertical cell faces). 27 Default: <scenario path>/hhl.nc 22 ## AVAILABLE NAMELIST PARAMETERS 28 23 29 -mode profile: Produce average profiles instead of three-dimensional fields as 30 initial conditions. 24 INIFOR mirrors a subset of the PALM-4U's Fortran namelists `inipar` and `d3par` 25 and supports the following parameters: 31 26 32 -n <namelist file>: Location of the PALM-4U namelist file. INIFOR expects the33 file to contain two namelists, inipar and d3par, from which it will read34 grid parameters and the simulation time. Default: ./namelist35 27 36 -o <ouput file>: Name of the INIFOR output file. Default: ./palm-4u-input.nc 28 ### inipar 37 29 38 -p0 <pressure>: Surface pressure at z=0 in the PALM-4U domain [Pa]. 39 Default: 1e5 Pa = 1000 hPa 30 nx, ny, nz - number of PALM-4U grid points in x, y, and z direction 31 dx, dy, dz(10) - PALM-4U grid spacings in x, y, and z direction [m] 32 dz_stretch_level - height above which the grid will be stretched [m] 33 dz_stretch_factor - factor by which the grid will be stretched 34 dz_max - maximum vertical grid spacing [m] 35 dz_stretch_level_start(9) - array of height levels above which the grid is 36 to be stretched vertically [m] 37 dz_stretch_level_end(9) - array of height levels until which the grid is to 38 be stretched vertically [m] 39 longitude, latitude - geographical coordinates of the PALM-4U origin [deg] 40 40 41 -path <scenario path>: Scenario path, i.e. the path of the meteorological input42 data. Default: ./43 41 44 -soil <netCDF file>: Location of the netCDF file containing the COSMO-DE soil type 45 map. 46 Default: <scenario path>/soil.nc 42 ### d3par 47 43 48 -static <static driver file>: Location of the netCDF file containing the static 49 driver file for the case to be simulated with PALM-4U. Optional parameter.50 Default: None44 end_time - PALM-4U simulation time. INIFOR will produce hourly forcing data 45 from the start date (see -d command-line option) to end_time seconds 46 thereafter. [s] 51 47 52 -ug <velocity>: Specifies the geostrophic wind in x direction [m/s]. Default: 053 48 54 -vg <velocity>: Specifies the geostrophic wind in y direction [m/s]. Default: 0 49 ### EXAMPLE NAMELIST FILE 55 50 56 -z0 <height>: Specifies the elevation of the the PALM-4U domain above sea level [m]. 57 Default: 35 m 51 &inipar nx = 4679, ny = 3939, nz = 360 52 dx = 10., dy = 10., dz = 10. 53 dz_stretch_level = 2500.0, dz_stretch_factor = 1.08, dz_max = 100.0 54 longitude = 13.082744, latitude = 52.325079 55 / 56 57 &d3par end_time = 86400.0 58 / 58 59 60 61 ## AVAILABLE COMMAND-LINE PARAMETERS 62 63 -d, --date, -date <date>: 64 Start date of the simulation in the form YYYYMMDD of YYYYMMDDHH. If no 65 hours (HH) are given, INIFOR assumes that the simulation starts at O UTC 66 on that day. Default: 20130721 67 68 -i, --init-mode, -mode <mode>: 69 Set the PALM-4U initialization mode. INIFOR can provide initial conditions 70 as either profiles or three-dimensional fields. The corresponding modes 71 are 'profile' and 'volume'. Default: volume 72 73 -l, --hhl-file, -hhl <netCDF file>: 74 Location of the netCDF file containing the vertical COSMO-DE grid levels, 75 specifically the heights of half levels (hhl, i.e. vertical cell faces). 76 Default: <scenario path>/hhl.nc 77 78 -n, --namelist <namelist file>: 79 Location of the PALM-4U namelist file. INIFOR expects the file to contain 80 two namelists, inipar and d3par, from which it will read grid parameters 81 and the simulation time. Default: ./namelist 82 83 -o, --output <output file>: 84 Name of the INIFOR output file, i.e. the PALM-4U dynamic driver. 85 Default: ./palm-4u-input.nc 86 87 -p, --path, -path <scenario path>: 88 Scenario path, i.e. the path of the meteorological input data. Default: ./ 89 90 -r, --surface-pressure, -p0 <pressure>: 91 Surface pressure at z=0 in the PALM-4U domain [Pa]. 92 Default: 1e5 93 94 -s, --soil-file, -soil <netCDF file>: 95 Location of the netCDF file containing the COSMO-DE soil type map. 96 Default: <scenario path>/soil.nc 97 98 -t, --static-driver, -static <netCDF file>: 99 Location of the netCDF file containing the static driver file for the case 100 to be simulated with PALM-4U. Optional parameter. Default: None 101 102 -u, --geostrophic-u, -ug <velocity>: 103 Specifies the geostrophic wind in x direction [m/s]. Default: 0 104 105 -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. 110 111 -z, --elevation, -z0 <height>: Specifies the elevation of the PALM-4U domain 112 above sea level [m]. Default: 35 113 114 115 ## ADDITIONAL COMMAND-LINE OPTIONS 116 117 --flow-prefix <prefix>: 118 Set the file prefix of flow input files. Default: laf 119 120 --radiation-prefix <prefix>: 121 Set the file prefix of radiation input files. Default: laf 122 123 --soil-prefix <prefix>: 124 Set the file prefix of soil input files. Default: laf 125 126 --soilmoisture-prefix <prefix>: 127 Set the file prefix of soil moisture input files. Default: laf
Note: See TracChangeset
for help on using the changeset viewer.