Changes between Version 1 and Version 2 of doc/app/iofiles/inifor


Ignore:
Timestamp:
Oct 12, 2018 2:46:15 PM (7 years ago)
Author:
eckhard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/iofiles/inifor

    v1 v2  
    1 = INIFOR =
     1= INIFOR - Mesoscale Interface for Initializing and Forcing PALM-4U =
    22
    3 Here comes inifor
     3INIFOR provides the meteorological fields required to initialize and drive the urban climate model PALM-4U. The required meteorological fields are interpolated from output data of the meso-scale model COSMO.
     4
     5== Compilation ==
     6
     7  - Customize `./Makefile` and `./tests/Makefile` (netCDF library location, compiler and parameters, use Makefile.ifort as a template if you want to use the Intel Fortran compiler)
     8  - Run `make`
     9
     10== Usage ==
     11
     12  - Customize `./namelist` (number or grid points and spacings, end_time)
     13  - Run `current_version/trunk/SCRIPTS/inifor -path <scenario path> -date <YYYYMMDD>`
     14
     15== Available namelist parameters ==
     16
     17INIFOR mirrors a subset of the PALM-4U's Fortran namelists `inipar` and `d3par` and supports the following parameters:
     18
     19=== inipar ===
     20
     21{{{
     22nx, ny, nz - number of PALM-4U grid points in x, y, and z direction
     23dx, dy, dz(10) - PALM-4U grid spacings in x, y, and z direction [m]
     24dz_stretch_level - height above which the grid will be stretched [m]
     25dz_stretch_factor - factor by which the grid will be stretched
     26dz_max - maximum vertical grid spacing [m]
     27dz_stretch_level_start(9) - array of height levels above which the grid is
     28to be stretched vertically [m]
     29dz_stretch_level_end(9) - array of height levels until which the grid is to
     30be stretched vertically [m]
     31longitude, latitude - geographical coordinates of the PALM-4U origin [deg]
     32}}}
     33
     34=== d3par ===
     35
     36{{{
     37end_time - PALM-4U simulation time. INIFOR will produce hourly forcing data
     38    from the start date (see -d command-line option) to end_time seconds
     39    thereafter. [s]
     40}}}
     41
     42=== Example namelist file ===
     43
     44{{{
     45&inipar nx = 4679, ny = 3939, nz = 360
     46        dx = 10., dy = 10., dz = 10.
     47        dz_stretch_level = 2500.0, dz_stretch_factor = 1.08, dz_max = 100.0
     48        longitude = 13.082744, latitude = 52.325079
     49/
     50
     51&d3par  end_time = 86400.0
     52/
     53}}}
     54
     55
     56== Available command-line options ==
     57
     58{{{
     59-d, --date, -date <date>:
     60    Start date of the simulation in the form YYYYMMDD of YYYYMMDDHH. If no
     61    hours (HH) are given, INIFOR assumes that the simulation starts at O UTC
     62    on that day. Default: 20130721
     63   
     64-i, --init-mode, -mode <mode>:
     65    Set the PALM-4U initialization mode. INIFOR can provide initial conditions
     66    as either profiles or three-dimensional fields. The corresponding modes
     67    are 'profile' and 'volume'. Default: volume
     68
     69-l, --hhl-file, -hhl <netCDF file>:
     70    Location of the netCDF file containing the vertical COSMO-DE grid levels,
     71    specifically the heights of half levels (hhl, i.e. vertical cell faces).
     72    Default: <scenario path>/hhl.nc
     73
     74-n, --namelist <namelist file>:
     75    Location of the PALM-4U namelist file. INIFOR expects the file to contain
     76    two namelists, inipar and d3par, from which it will read grid parameters
     77    and the simulation time. Default: ./namelist
     78
     79-o, --output <output file>:
     80    Name of the INIFOR output file, i.e. the PALM-4U dynamic driver.
     81    Default: ./palm-4u-input.nc
     82
     83-p, --path, -path <scenario path>:
     84    Scenario path, i.e. the path of the meteorological input data. Default: ./
     85
     86-r, --surface-pressure, -p0 <pressure>:
     87    Surface pressure at z=0 in the PALM-4U domain [Pa].
     88    Default: 1e5
     89
     90-s, --soil-file, -soil <netCDF file>:
     91    Location of the netCDF file containing the COSMO-DE soil type map.
     92    Default: <scenario path>/soil.nc
     93
     94-t, --static-driver, -static <netCDF file>:
     95    Location of the netCDF file containing the static driver file for the case
     96    to be simulated with PALM-4U. Optional parameter. Default: None
     97
     98-u, --geostrophic-u, -ug <velocity>:
     99    Specifies the geostrophic wind in x direction [m/s]. Default: 0
     100
     101-v, --geostrophic-v, -vg <velocity>:
     102    Specifies the geostrophic wind in y direction [m/s]. Default: 0
     103
     104--version:
     105    Output version number and exit.
     106
     107-z, --elevation, -z0 <height>: Specifies the elevation of the PALM-4U domain
     108    above sea level [m]. Default: 35
     109}}}
     110
     111
     112== Additional command-line options ==
     113
     114{{{
     115--flow-prefix <prefix>:
     116    Set the file prefix of flow input files. Default: laf
     117
     118--radiation-prefix <prefix>:
     119    Set the file prefix of radiation input files. Default: laf
     120
     121--soil-prefix <prefix>:
     122    Set the file prefix of soil input files. Default: laf
     123
     124--soilmoisture-prefix <prefix>:
     125    Set the file prefix of soil moisture input files. Default: laf
     126}}}