Ignore:
Timestamp:
Jul 27, 2018 1:36:03 PM (6 years ago)
Author:
suehring
Message:

New Inifor features: grid stretching, improved command-interface, support start dates in different formats in both YYYYMMDD and YYYYMMDDHH, Ability to manually control input file prefixes (--radiation-prefix, --soil-preifx, --flow-prefix, --soilmoisture-prefix) for compatiblity with DWD forcast naming scheme; GNU-style short and long option; Prepared output of large-scale forcing profiles (no computation yet); Added preprocessor flag netcdf4 to switch output format between netCDF 3 and 4; Updated netCDF variable names and attributes to comply with PIDS v1.9; Inifor bugfixes: Improved compatibility with older Intel Intel compilers by avoiding implicit array allocation; Added origin_lon/_lat values and correct reference time in dynamic driver global attributes; corresponding PALM changes: adjustments to revised Inifor; variables names in dynamic driver adjusted; enable geostrophic forcing also in offline nested mode; variable names in LES-LES and COSMO offline nesting changed; lateral boundary flags for nesting, in- and outflow conditions renamed

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)
    22
    33INIFOR provides the meteorological fields required to initialize and drive the
     
    55interpolated from output data of the meso-scale model COSMO.
    66
    7 COMPILATION
     7
     8## COMPILATION
    89
    9101. Customize ./Makefile and ./tests/Makefile (netCDF library location, compiler
    1011   and parameters, use Makefile.ifort as a template if you want to use the Intel
    1112   Fortran compiler)
    12 2. $ make
     132. Run `make`
    1314
    14 USAGE
    1515
    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
    1817
    19 All COMMAND-LINE PARAMETERS
     181. Customize `./namelist` (number or grid points and spacings, end_time)
     192. Run `current_version/trunk/SCRIPTS/inifor -path <scenario path> -date <YYYYMMDD>`
    2020
    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: 20130721
    2421
    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
    2823
    29 -mode profile: Produce average profiles instead of three-dimensional fields as
    30     initial conditions.
     24INIFOR mirrors a subset of the PALM-4U's Fortran namelists `inipar` and `d3par`
     25and supports the following parameters:
    3126
    32 -n <namelist file>: Location of the PALM-4U namelist file. INIFOR expects the
    33     file to contain two namelists, inipar and d3par, from which it will read
    34     grid parameters and the simulation time. Default: ./namelist
    3527
    36 -o <ouput file>: Name of the INIFOR output file. Default: ./palm-4u-input.nc
     28### inipar
    3729
    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]
    4040
    41 -path <scenario path>: Scenario path, i.e. the path of the meteorological input
    42     data. Default: ./
    4341
    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
    4743
    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: None
     44    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]
    5147
    52 -ug <velocity>: Specifies the geostrophic wind in x direction [m/s]. Default: 0
    5348
    54 -vg <velocity>: Specifies the geostrophic wind in y direction [m/s]. Default: 0
     49### EXAMPLE NAMELIST FILE
    5550
    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    /
    5859
     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.