Documentation of the Changes in the COSMO-Model
Version 5.06b / b_1 / b_2

16.10.2019

Contents:

  1. Some Fixes for 5.06b
  2. Implementation of the radar forward operator EMVORADO
  3. Testing and Tuning of the Revised Cloud Radiation Coupling
  4. Unification of Soil and Surface Modules with ICON
  5. Changes in the Data Assimilation
  6. Added interfaces for GHG extensions
  7. GPU optimizations
  8. Running COSMO-LEPS in GRIB 2
  9. Additional output options
  10. Additional packing for GRIB 2 fields
  11. Unification with CLM
  12. Technical Changes and Bug Fixes
  13. Changes to the Namelists
  14. Changes of Results


0. Some Fixes for 5.06b

Version 5.06b_1 (16.10.19)

Fixing a compilation problem for the single precision version in radar_interface.f90.

Version 5.06b_2 (22.10.19)

Bug fix for computing ECHOTOP in module calc_tracks.f90.

This version has been put to operations on 06.11.19

Back to Contents


1. Implementation of the radar forward operator EMVORADO

(by U. Blahak and Colleagues)

The code of the radar forward operator EMVORADO has been implemented into an extra subdirectory LOCAL/EMVORADO. This directory also contains the list of additional object files (ObjFiles.radar) and dependencies (ObjDependencies.radar). Input of these two files in the Makefile has to be activated, when the radar forward operator should be compiled. Compilation can be activated in Fopts by setting -DRADARFWO.

Some additional technical changes in the COSMO code were necessary for a clean implementation of the EMVORADO code in COSMO.

A detailed documentation of EMVORADO can be found on the COSMO Web Site: ../coreDocumentation/default.htm"

Back to Contents


2. Testing and Tuning of the Revised Cloud Radiation Coupling

(by Priority Project T2RC2)

As part of the COSMO priority project Testing and Tuning of the Revised Cloud Radiation Coupling T2RC2, the calculation of the optical properties at the model layers was significantly revised, and an additional version of a radiative solver was implemented.

A detailed (scientific) description of all the modifications and the full list of parameters of the new cloud-radiation coupling scheme is presented in the COSMO Newsletters 2019.

Activating the new parameterizations

To activate the new parameterizations, you have to modify Fopts and Makefile:

The following five new source modules will then be compiled and linked to the COSMO binary:

Note that these modules are not located in the src-directory, but in the subdirectory LOCAL/TWOMOM.

Highlights of the changes, which can be divided into three topics:

Radiative solver

In an attempt to both reduce errors and to decrease the run-time we implemented an approach to decrease the spectral resolution by a method known as Monte Carlo Spectral Integration (MCSI) (namelist parameter itype_mcsi). In this method the spectrum is transferred from wavelength space to cumulative probability space. This space is divided to intervals which are called g-points. In COSMO for each gas and for each spectral interval there are between two to eight g-points. In the operational mode of COSMO the Fast Exponential Sum Fitting Technique (FESFT) is used to fully calculate all the mentioned g-points. In MCSI only one g-point is calculated in each time step according to its probability. In COSMO we used a softer version of MCSI where a g-point is selected in each of the spectral intervals which increases the computational cost but does not neglect either of the spectral intervals in every time step. The MCSI radiation scheme should be called more frequently than the operational one.

Clear sky optical properties

Besides the already existing aerosol climatologys (default and Tegen) a new option of an aerosol climatology was introduced (namelist parameter itype_aerosol):

In addition, two new options have been implemented to use time- and space- interpolated 3-dimensional aerosol fields of external prognostic forecast models. The interpolation of the external prognostic fields has been implemented in INT2LM, so that INT2LM provides these fields via the initial (and eventually boundary) data sets.

Cloudy part optical properties

Back to Contents


3. Unification of Soil and Surface Modules with ICON

(by U. Schättler)

The COSMO modules for the soil and surface processes (sfc_*.f90) have been brought back to ICON, introducing some technical adaptations and a few bug fixes (implemented earlier in ICON):

These bug fixes will change the results slightly!

Back to Contents


4. Changes in the Data Assimilation

(by C. Schraff)

Changes in the Code

Changes of the namelist variables

Are described below.

Changes of the results

Are described below.

Back to Contents


5. Added interfaces for GHG extensions

(by Michael Jaehn)

Interfaces have been added to the COSMO-Model to use a model that computes green house gas.

Back to Contents


6. GPU optimizations

(by Remo Dietlicher, Xavier Lapillonne)

Back to Contents


7. Running COSMO-LEPS in GRIB 2

(by D. Liermann)

To store the COSMO-LEPS GRIB 2 data in the ECMWF MARS archive, it is necessary to set some specific meta data in the local use section of GRIB 2. These meta data are defined in a special ECMWF local use section with localDefinitionNumber 28.

To enable INT2LM and the COSMO-Model to also write this special group of meta data with the same localInformationNumber 28 directly and without any further post-processing, this group of meta data is also included in the DWD definition files with localDefinitionNumber 28. With the linking mechanism for other centers this group will be available for other centers running INT2LM and the COSMO-Model.

Changes to the COSMO-Model

How to run COSMO for COSMO-LEPS

To write GRIB 2 data, the DWD definition set for eccodes is needed: definitions.edzw/grib2. This set contains modifications to include the definitions of local use section 28 (from ECMWF) and 250 (COSMO). With the linking mechanism, every center can create links to all necessary files within definitions.edzw/grib2 and can therefore use the same set of definitions as DWD.

Settings for namelist variables:

Back to Contents


8. Additional output options

(by U. Schättler)

Some time ago, several additional output options have been implemented to a special COSMO version, which was used for the UERRA project (Uncertainties in Ensembles of Regional ReAnalyses). Some of these options have been used by CLM and other partners, so they are now implemented in the official version:

z-interpolation to levels above ground

Up to now, the interpolation to z-levels has always been to z-heights above sea level, which is interesting e.g. for fleight heights above 1000 meters or so. In lower heights, it is also interesting to have z-levels above ground.

The option to interpolate to z-levels above ground has been implemented in src_output, subroutine z_int. A namelist variable lzint_above_ground has been introduced, which can be set for every /GRIBOUT/ namelist block.

New Namelist variable: lzint_above_ground (default: .FALSE.)

Technical modifications necessary

When interpolating to heights above mean sea level, the height for all grid points is the same. This is not the case for interpolating to heights above ground, because of the underlying orography. Therefore, the x-axis in the interpolation routines (spline3D, lininterp3D_xinter1D_vec) has to be a field depending on the grid point and now has one dimension more as before. Accordingly, the corresponding fields in the calling routines (pfls in p_int, zfls in z_int) have one dimension more.

For clarity we renamed subroutine lininterp3D_xinter1D_vec in module utilities.f90 to lininterp3D_xinter2D_vec.

Added output fields for wind speed and wind direction

The possibility to write wind speed (SP) and wind direction (DD) on model, pressure- and z-levels has been added. Also, the 10 meter fields (DD_10M, SP_10M) can be written.

Back to Contents


9. Additional packing for GRIB 2 fields

(by U. Schättler)

Up to now the packing type in INT2LM and the COSMO-Model was hard-coded as 'grid_simple'. But for GRIB 2 additional packing types have been introduced, which offer an additional packing and therefore result in smaller Grib files. The following packing types can now be used by INT2LM (2.06a) and COSMO by setting the new namelist variable: ypackingType (INT2LM: /DATA/; COSMO-Model: /GRIBOUT/)

New Namelist Variable in /GRIBOUT/: ypackingType (Default: 'grid_simple')

NOTES:

  1. To use these additional packing types, they also have to be activated for eccodes (with -DENABLE_JPG=ON, -DENABLE_PNG=ON, -DENABLE_AEC=ON). See also the installation instructions for eccodes.
  2. The additional packing also takes additional computational time.

Back to Contents


10. Unification with CLM

(by B. Rockel, K. Silverthorne-Osterried)

Option to write restart files in NetCDF

The option to write restart files in NetCDF format (instead of binary format) has been implemented. It is activated with the new namelist switch yform_restart = 'ncdf' (default is 'bina')

Modifications to Spectral Nudging

Extend the spectral nudging subroutine src_spectral_nudging.f90 to the possibility of grid nudging.

Back to Contents


11. Technical Changes and Bug Fixes

Back to Contents


12. Changes to the Namelists

Group Name Meaning Default
/IOCTL/ yform_restart NEW To choose the format for the restart files:
  1. 'bina': (default) as is up to now.
  2. 'ncdf': Restart files are written in NetCDF.
'bina'
/GRIBOUT/ lzint_above_ground NEW To choose z-interpolation to levels above ground (default is to interpolate to levels above mean sea level). .FALSE.
ypackingType NEW To choose GRIB 2 packing type. Possible values are (depends on configuration settings of eccodes!)
  • 'grid_simple': as is up to now (default)
  • 'grid_ccsds':
  • 'grid_jpeg':
  • 'grid_png':
'grid_simple'
/NUDGING/ lcd139 NEW Switch for active use of tower profile data. .FALSE.
lcd109 NEW Switch for active use of high-resolution BUFR land radiosondes. .TRUE.
lcd111 NEW Switch for active use of high-resolution BUFR ship radiosondes. .TRUE.
lcd230 NEW Switch for active use of high-resolution BUFR dropsondes. .TRUE.
lcd231 NEW Switch for active use of high-resolution BUFR radiasonde descent data. .TRUE.
av_levs NEW Level definition list. (1075.0, 755.0, 710.0, 90.0, 75.0, 5.0)
av_incr NEW Level increment list for superobbing layers of high-resolution radiosonde data. (10.0, 15.0, 20.0, 15.0, 10.0, 0.0)
av_reso NEW Superobbing is applied if the averaged resolution of the observed profile exceeds av_reso times the vertical model resolution. 2.0
lcd022 DELETE Switch for active use of abbreviated ship reports. .TRUE.
lcd023 DELETE Switch for active use of reduced 'shred' ship reports. .TRUE.
lcd241 DELETE Switch for colba constant level balloon reports. .TRUE.
lcd188 DELETE Switch for active use of SST as dribu reports. .TRUE.
lcd063 DELETE Switch for active use of bathy dribu reports. .TRUE.
l1dvar DELETE Inactive switch for 1DVar to derive satellite retrievals. .FALSE.

Back to Contents


13. Changes of Results

Physics The fixes in the TERRA scheme will change the results slightly. Data Assimilation

The changes of the results as described below affect the model fields directly only if nudging is active. However, they also affect the feedback file ('fof') and hence a KENDA-LETKF assimilation cycle.

Back to Contents