Model developments per WG

Last updated: 2022

The following table shows which developments have been or are implemented into cosmo and int2lm, per working group.

model developments
WG
subtask
Start date Task status Expected
delivery
Task
subject
Responsible
person
Target
version
WG1
1.5 2016-01-01 finish 2016-01-01 changes to SPPT scheme in order to improve stability Walser (MeteoSwiss) 5.05
Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code
  • external product documentation: scientific documentation, User Guide and (possibly) implementation documentation
  • process documentation: documentation of the chages to the existing software for inclusion to the version history and the changes log-file.
1.2 2015-12-16 finish 2016-01-15 removal of AOF reading Schraff (DWD) 5.04
Description

removal of option to read observations from AOF files,

to be done when AOF reading is not used any more by any of the COSMO members / partners

1.1 2011-09-01 test 2015-12-01 refined assimilation of T-2m observations ARPA-Piemonte N/A
Description

The constant increase of computing power allows to run progressively higher resolution numerical weather prediction models in the operational chains. Italian reference operational chain for limited area numerical weather prediction is represented by the COSMO-I7 and COSMO-I2 congurations of the COSMO model, being the COSMO-I2 the finer resolution one, with a grid spacing of about 2.8 km. The initialisation stage of the COSMO chains is deficient in two points: on the one hand it is missing a proper initialisation of the land surface energy and water exchanges, on the other hand it does not make use of all the information coming from the high density networks of weather stations. These two problems are assessed with the proposal to implement an analysis cycle for the COSMO-I2. In order to cope with the problems at the land surface, an explicit coupling scheme between the existing COSMO data assimilation code, which directly influences only the atmospheric state, and the description of the soil state has been introduced. This coupling scheme, called FASDAS, acts as a new balance relation in the assimilation framework.

The code has been prepared for version COSMO v5.0.

Technical Issues (Coding Standards, 4-eyes Assurance)

The modifications required by the inclusion of FASDAS have been made according to the COSMO coding standards. The code has ben given to the WG coordinator C. Schraff.

The code has originally been developed by Marco Galli (now at U.S.A.M.). Matteo Giorcelli (ARPA Piemonte) reviewed the code in details. He also has rewritten some parts to reach full standards compliance and to ensure ”COSMO quality level”. The code referent person will be Massimo Milelli (ARPA Piemonte).

Testing

Tests performed on COSMO-I2 and COSMO-I7 configurations, over north-west Italy (firstly) and over the whole domain (secondly). Results have been published (links below).

Documentation

Two articles in the COSMO Newsletter have been published:

- model/documentation/newsLetters/newsLetter11/1_galli.pdf

- model/documentation/newsLetters/newsLetter14/cnl14_02.pdf

Also a few presentations have been shown during the GMs:

- consortium/generalMeetings/general2011/wg1/wg1_3_galli_t2m_ts.pdf

- consortium/generalMeetings/general2012/wg1-kenda/wg1_galli_t2m.pdf

- consortium/generalMeetings/general2014/wg1-kenda/fasdas_giorcelli.pdf

Another presentation given during the CUS 2012:

- Galli_cus_2012.pdf

N/A N/A finish 2012-12-13 optional new QC check for surface pressure against lateral BC fields Schraff (DWD) 4.28
Description

New option to add a quality control check for surface pressure obs against the fields that provide the lateral boundary fields. At DWD, this means checking against interpolated GME fields.

New namelist parameter 'qcflbcp': scales QC theshold for check against COSMO fields to obtain threshold for new check.

Technical Issues

It is coded and tested in V4_22, and ported to V4_27.

It is part of the task 'modular observation operators for existing obs types' (see KENDA list), and is being submitted together with that task.

Technical Issues

Coding Standards : fulfilled.

Technical Test Suite : -

4-eyes Assurance : together with task 'modular observation operators for existing obs types' (see KENDA list), partly Andreas Rhodin and Uli Schaettler

Testing

Single Test Cases :

- target met: very positive results in 3 cases with series of erroneous pressure obs from a single buoy

- target met: no negative impact in first Christmas storm 1999 (no further rejection of good data)

Experiments:

- target met: 1-month test period (April 2012) with neutral results.

Documentation

Presentation of Results : see talk at COSMO GM 2013 in Lugano, WG1 Parallel Session

Additional results because of recent problems in operational COSMO-EU.

Model Documentation : in-line documentation

External Documentation : being written

1.3 N/A finish 2099-12-31 assimilation of radar-derived rain rates by a 1DVAR + nudging approach Poli (ARPA-EMR) 0.00
Description
  • retrieval of temperature and humidity profiles from radar-derived precipitation rates by a 1DVAR approach using simplified large-scale cloud microphysics
  • nudging of the temperature and humidity profiles
  • status: further refinement and testing at 2.8 km resolution ongoing
  • modifications done in the (cloud physics) parametrization of 1D-Var;

tried to resolve the problem of the bias between precipitation generated by COSMO model and the forward model of 1D-Var modifying some parameters in the 1D-Var algorithm

  • poor results obtained also in the latest comparison;

This task has been stopped (Sept. 2013).

1.4 N/A idea N/A optimisations from project OPCODE Leuenberger (MeteoSwiss) N/A
WG2
0.15 2015-01-01 finish 2015-07-01 Increase of stability of the numerical diffusion scheme for 3D turbulence Baldauf (DWD) 5.03
Description

The 1D vertical diffusion (i.e. our standard diffusion scheme for T, p, qx and the velocity components) is unconditionally stable by the vertically implicit treatment.

However, the 3D extension for terrain-following coordinates suffers from numerical instability of the metric terms in tilted terrain as was pointed out by W. Langhans and O. Fuhrer.

A recent stability analysis by M. Baldauf indicates that a significant increase in stability may be achieved by using more terms in the vertically implicit scheme and by use of some off-centering for them.

3D diffusion (or 3D turbulence) is not relevant for the currently operational model applications in the COSMO consortium with resolutions in the range 2 ... 14 km. It is probably even not relevant for dx ~1 km (e.g. COSMO-1 at MeteoCH). But it is expected that 3D turbulence becomes important for sub-km model runs.

Status

The stability analysis for both the scalar and the vector diffusion is ready. A reviewed publication is under progress.

The coding work has been finished and mainly consists in
the completely rewritten subroutines 'explicit_horizontal_diffusion' and 'implicit_vert_diffusion_uvwt_3D' and updates of the subroutines 'complete_tendencies_tke', 'complete_tendencies_trcr' in 'src_slow_tendencies_rk.f90'.

The validity of this new discretization has been tested by comparisons with exact analytic solutions over steep terrain (see 'Documentation').

The new code is based on the current version COSMO 5.2 and is ready for implementation in COSMO 5.3.

Technical Issues

code written according to standards: fulfilled

4-eyes assurance: by ???

responsible person: Michael Baldauf

Testing

The main testing consists in comparisons with analytically available solutions (see 'Documentation'). These tests have been successfully performed.

Furthermore, single standalone runs with the operational COSMO-DE setup (2.8. km resolution) have been made. As expected, effects of 3D diffusion are quite small on this scale and will only be more prominent for much finer model resolutions. Nevertheless, the runs didn't show unusual behaviour of the new implementation.

Documentation

The theory of 3D diffusion is documented in
M. Baldauf (2005): The Coordinate Transformations of the 3-dimensional Turbulent Diffusion in LMK, COSMO-Newsletter no. 5.

The new development is described in the presentation
M. Baldauf: "Around the 3D diffusion: stability and testing",
given at the WG2/CELO meeting during the COSMO User Seminar, 05 March 2015 in Offenbach.

The newest test results, which show a very good agreement for the above mentioned code version, can be found in the document tests_of_3D_diffusion_Baldauf_v2.pdf.

0.14 2015-01-01 work 2016-03-01 Kaas (2008)-conserving extension of the Semi-Lagrangian Advection deMorsier (MeteoCH) N/A
Description

The current implemented Semi-Lagrangian tracer advection scheme shall be extended by the idea of the Kaas (2008) Tellus A paper.

Aim: conserving advection scheme.

Status

This work firstly has been started at the EMPA (ETH) institute.

A first visit of Eigil Kaas has been taken place, but it was recognized that the implementation will take a longer time.

Guy deMorsier has been willing to overtake this work.

0.11 2013-12-15 finish 2014-03-31 Optional targeted diffusion to avoid cold pools in narrow valleys Baldauf (DWD) 5.01
Description

Around 06. Dez. 2013, a strong and unrealistic cool down in a narrow Alpine valley occured in the COSMO-DE model setup at DWD.

(this caused even a model crash in one of the COSMO-DE ensemble members in the parallel routine)

Similar problems have been reported by MeteoSwiss, too.

The upwind advection operator of 5th order causes such cold pools.

There exist several solutions for this problem:

1.) use the 3rd order advection operator (but this probably not accurate enough for convection-permitting runs (?))

2.) It seems to occur less frequently with the dynamical bottom boundary condition (ldyn_bbc=.TRUE.) (but the reason is not clear)

3.) avoid this undershooting by a targeted diffusion like in ICON (G. Zaengl) (which exactly cures the artificial behaviour of the advection operator)

4.) the current available limiter in the horizontal advection operator could be used, too. However, in the current form it takes more computation time

and (as reported by MeteoCH) it cannot cure every cold pool problem.

The 3rd item in fact cures the problem and changes only the few grid cells where a cold pool occurs.

It is highly a efficient method (acts at most in the lowest 3 layers)

This targeted diffusion may have a very small impact to results. However, in most simulations, no critical grid cell will be found and consequently results will not be changed.

Status

The targeted diffusion to avoid cold pools has been implemented and is ready for COSMO 5.1.

Technical Issues

code written according to standards: fulfilled

4-eyes assurance: by Oliver Fuhrer

responsible person: Michael Baldauf

Testing

The 'targeted diffusion' cured the above described cold pools.

Extensive numerical experiments at DWD for both COSMO-DE (2.8 km) and COSMO-EU (7 km) setups have been done.

In the attached presentation, verification results of this action (together with the 'reformulation in the calculation of the divergence damping coefficient' and the 'adaptation of RK for stochastic physics')

are shown: the results are neutral (as expected).

Documentation

A new section 8.4.3 is ready for the COSMO Sci. Doc part I.

(it will be available with the next release of this document).

User's guide: no adaptation necessary

process documentation (history/changes log file): is updated

0.13 2013-12-15 finish 2014-03-31 Remove hacks in the tracer module Fuhrer, Roches (MeteoCH) 5.01
Description

When implementing the new Tracer Module (Roches, Fuhrer (2013) COSMO Tech. Rep.) several decisions had to be made concerning specialized treatment of tracer species. In the first implementation of the Tracer Module, those had been treated with the Metadata functionality of the Tracer Module. However the question arises, if some (or the most) of these special treatments are still necessary.

In particular, the following special treatments (‘hacks"„¢) should be removed (from Roches, Fuhrer (2013) COSMO Tech. Rep.):

Fixes concerning the Leapfrog dynamical core:

CLP_10E-12: clip qi to zero, if qi < 10-12

Fixes concerning the Runge-Kutta dynamical core:

ADD_CLP_ADV: add clipping for sedimenting moisture species (qr, qs, qg) at the end of the advection routine.

BD_0GRAD_FORCED: for the species qi, qr, qs, qg either boundary values are read from a file or the boundary condition (BC) grad=0 is used. In the original code version one of these is done in any case despite the fact, that one can prescribe also other boundary conditions.

DAMP_FORCED: For precipitating species, Rayleigh damping is done in any case, even when a grad=0 BC is prescribed.

It is quite difficult to decide, if these measurements are still necessary (they have often been implemented during the development phase and sometimes accidentally remained in the code, even when they are not longer necessary). This is in particular the case if the original developer of the code is not longer available.

Therefore, one needs real case test runs to decide, if anything strange happens or if the forecast quality suffers.

Status

hacks which should be removed are identified.

Code is ready for COSMO 5.1

Technical Issues

4-eyes Assurance: Oliver Fuhrer, Anne Roches

Testing

Tests during a longer period have been done at MeteoCH (Roches, Fuhrer).

The documentation of these tests is available. Results are neutral.

Documentation

The test results are documented in a report

A. Roches, O. Fuhrer: SYNOP verification of the inconsistencies ("hacks") present in COSMO for the mcirophysics tracers, 26 Nov. 2013

The whole tracer module is described in A. Roches, O. Fuhrer (2012) COSMO technical report no. 20.

Sci. Doc. part I: no changes necessary

User's guide: no adaptation necessary

Process documentation (history/changes log file): not yet available

0.09 2013-01-01 finish 2014-06-30 Extension of the Bott tracer advection scheme Schneider (Univ. Bonn), Blahak 5.06
Description

An improvement (socalled deformational correction) of the Bott-schemes is currently done at the University Bonn (W. Schneider, A. Bott) to circumvent the necessity of the "true" Strang splitting (A. Bott (2010) AtmRes).

The traditional strang splitting stretched over two timesteps is still necessary. A further improvement is the use of newer discretization coefficients for

the gradient operators. The current COSMO implementation uses coefficients from a very old paper of Bott (1989).

Status

Preliminary version is available for 4th oder advection with the options "no flux limiter", "positive definite flux limiter" and "shape preserving" (Schneider, Bott), which runs efficiently on cache-based machines.

Optimization of this new version for NEC SX9 has been done for the 4th order positive definite option (Vectorization) (Blahak).

This new Version is currently under testing at DWD.

Upgrade of this method to COSMO 5.4b1 has been done.

A COSMO-DE experiment has been started.

If successful, this new scheme might be a condidate for COSMO 5.07.

Technical Issues

The code is the original code of Bott and Schneider taken from their own model and coupled separately to COSMO,

totally different from the already implemented Bott schemes.

Unfortunately, this implementation is not very efficient, because there the

model fields are divided into an array for the interior domain and separate fields for the 4 lateral boundary zones, which necessitates

the copying/mapping of the COSMO fields to these fields and back in every timestep for every tracer. Also, all grid lengths and velocities

are normalized somehow.

In case of successfull meteorological testing, this should be changed in that the method is re-coded in

the COSMO "standard" way of coding the Bott-Schemes (if possible). This requires a new global array for summing up

and storing the deformational correction term, which is subtracted again at the end of the advection algorithm.

To be tested/checked further: Coding Standards, Technical Test Suite, 4-eyes Assurance

0.10 2013-01-01 finish 2014-06-30 Adaptation of the RK dynamical core for stochastic physics Torrisi (CNMCA), Baldauf (DWD) 5.01
Description

In the current development of the stochastic physics packages, it his desired to perturb only physical tendencies and not dynamic tendencies

(i.e. no perturbations of advection, fast waves or Coriolis forces).

Furthermore, one targets at a proper perturbation of terms, which are a the border between physics and dynamics (in particular latent heating).

This development probably must be done in several steps.

The first step is a simple shift of the call of the Coriolis term in src-runge_kutta.f90.

This will be go into COSMO 5.1.

Other steps concerning the latent heating will follow.

Status

Programming work for COSMO 5.1 is done.

Technical Issues

code written according to standards: fulfilled

4-eye principle: Lucio Torrisi

responsible person: Michael Baldauf

Testing

From a theoretical viewpoint there is no objection in shifting the call of the Coriolis term from the current position behind the call of the vertical implicit diffusion (neither in changing stability nor accuracy properties).

Several stand alone runs have shown that the position of the 'call coriolis' has a negligible influence on the results, as expected (Baldauf).

Tests in two longer standing tests with COSMO-DE and COSMO-EU didn't show any significant influence to the scores

(tested together with the 'targeted diffusion to avoid cold pools' and 'Reformulation in the calculation of the divergence damping coefficient').

Documentation

Change of position in 'call coriolis': this very small change needs no extra documentation.

(Possibly there will be a larger common documentation on the whole stochastic physics model changes)

Sci. Doc part I: update of section 8.1.1 done (available with the next release)

User's Guide: no change necessary

process documentation (history/changes log file): is updated

N/A 2012-12-04 work 2013-12-31 High order horizontal schemes for the Runge-Kutta dynamical core [CLM] Andreas Will N/A
Description

3rd to 6th order horizontal discretisation error convergence schemes are implemented in the Runge-Kutta dynamical core of COSMO.

The steps planned are the following:

1. Theoretical comparison of the advection term formulations of Baldauf (standard COSMO adv-schemes), Wicker-Skamarock (as in WRF) and Morinishi (1998) (symmetric, conservative form).

2. Convergence properties of RK dynamical core with 2nd to 6th order advection (Baldauf)

2. 4th order scheme for the 2D mountain flow test case terms

3. 4th order scheme for propagating waves test case terms

4. 4th order scheme for real case dynamics terms

5. 3rd to 6th order schemes for (1) to (3)

Status

1. CLM_CO informed

2. Releaed version used: COSMO_4.23

3. Implementation of 4th order scheme ongoing.

Technical Issues

Coding Standards, Technical Test Suite, 4-eyes Assurance (Michael Baldauf)

Testing

Single Test Cases: 2D mountain flow, 2D wave propagation (ongoing)

Experiments: Standard evaluation run (planned)

Documentation

1. Reporting:

Results for 1,2 presened at COSMO/CLM Seminar 2012

2. Model Documentation

3. External Documentation

N/A 2012-12-04 idea 2013-12-31 2-way nesting ECHAM-COSMO [CLM] Andreas Will N/A
Description

A two-way nesting between ECHAM6 and COSMO-CLM is being developed. The following working steps and COSMO model developments are planned:

1. OASIS-MCT interface for ECHAM6, NEMO and Community Land Model

2. vertical interpolation of ECHAM6 fields at every ECHAM time step in COSMO by implementation of the int2lm procedure, simplified to one step interpolation

3. exchange of the 3D fields with ECHAM5

Status

1. CLM_CO informed

2. Released version: cosmo_4.8_clm19 and int2lm_1.10_clm11

3. Simlified vertical interpolation implemented in int2lm, implementation in cosmo ongoing

Technical Issues

Coding Standards, Technical Test Suite, 4-eyes Assurance

Testing

1. Single Test Cases: comparison int2lm original and simplified (successfully done)

2. Experiments: Central America to northern West-Atlantic region 10y period 1999-2009.

N/A 2012-12-01 idea 2013-06-30 Optimal relaxation function for lateral boundary conditions [CLM] Andreas Will N/A
Description

The relaxation function for the lateral boundaries is optimized in order to reduce the reflection of waves at position rlwidth, which is the inner boundary of the relaxation zone. Hereto different exponents of the current exponential function and different functions of order (cos)**n are implemented and tested.

Steps of development are:

1. Introduce and test different exponents of exp-function

2. Introduce and test different powers of cos-function

Technical Issues

1. CLM_CO informed

2. Released version used: cosmo_4.18

Testing

1. Single Test Cases:

2 D mountain flow test case successfull with exp(-10 x)

3. Experiments:

N/A 2012-09-30 finish 2013-04-30 Consolidation work in the New fast waves solver Baldauf (DWD) 4.27
Description

Add features in the New fast waves solver (see item 0.1 'Revised Runge-Kutta Core') which are contained in the old fast_waves_rk:

1.) Upper sponge Layer of Klemp et al (2008)

2.) Radiation Condition (with an additional switch for the selctive use of x- and/or y-direction)

3.) lw_freeslip functionality

These are switchable functionalities (the NAMELIST switches exist already)

N/A 2012-09-10 work 2100-12-01 New implementation of 3D diffusion in terrain following coordinates Oliver Fuhrer (MeteoCH) N/A
Description

The actual calculation of horizontal turbulent fluxes in terrain following coordinates suffers from stability restrictions in steep terrain.

An alternative consits in the calculation on a z-coordinate.

0.07 2012-06-30 finish 2012-09-01 Bug fix in advection operators (Bott-scheme) and cloud diag Fuhrer (MeteoCH) 4.23
Description

The use of the same field for more than one formal parameters in subroutine arguments can cause compilation errors with some compilers.

(not clear if this is a compiler bug or a program bug)

This issue must be combined with item "New tracer advection ..."

Status

The modified interfaces have been implemented into the official version (4.23). This version has been provided for testing to the COSMO testing partners and to the CLM Community. No problems have been reported.

Technical Issues

Coding Standards are fulfilled.

4-eyes assurance has been done by Michael Baldauf and also by Uli Schaettler.

Technical Test Suite: The MeteoSwiss Version of the Technical Test Suite has been applied successfully.

Testing

The modified code gives bit-identical results (only the interfaces of certain subroutines have been changed). This has been tested using the operational COSMO-2 and COSMO-7 model runs. For certain compilers (NAG, Lahey Fujitsu) differences may appear when strongly optimizing the code, the new version should be correct. For the Cray XT4 the model performance was not significantly influenced by the bugfix and was within the measurement uncertainty.

Code responsible: Michael Baldauf

https://cosmo.cscs.ch/cosmo/branch/mch/olifu/bugs/bug01_arguments/results/.

Documentation

Presentation of results: N/A (bug)

Provide extensions / modifications for the Documentation System: N/A (bug)

Future Code responsible: Michael Baldauf

0.06 2012-03-31 work 2013-03-31 Mahrer-discretization of horizontal pressure gradients in fast waves (current and new version) deMorsier (MeteoCH), Baldauf N/A
Description

Mahrer (1984) MWR approach;

possibly with some improvements: quadratic terms to improve extrapolation near the bottom boundary (Zaengl (2012) submitted to MWR)

Technical Issues

4-eyes: in current fast waves solver (Baldauf

in new fast waves solver (deMorsier)

0.08 2012-03-01 finish 2012-09-01 calculation of the moisture divergence Fuhrer (MeteoCH) 4.23
Description

The diagnosis of dqvdt was intermixed with the computation of vertical diffusion of qv and qc in the subroutine complete_tendencies_qvqcqi_tke (and the subroutine slow_tendencies for the Leapfrog core). This should be separated into two different subroutines (for Runge-Kutta) or different code blocks (for Leapfrog) in order to make the code more modular and extensible in the future. This requires changes to the source files slow_tendencies.f90, src_runge_kutta.f90 and src_slow_tendencies_rk.f90. The changes are of pure technical nature and do not influence the model results.

Status

The changes have been implemented in a private version at MeteoSwiss and tested with the operational MeteoSwiss setup.

The modified code has been submitted to the Source Code Administrator and has been implemented in Version 4.23

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: not yet available; operational MeteoSwiss setup has been tested

4-eyes Assurance: code has been reviewed by Michael Baldauf and Uli Schaettler

Testing

3) Testing of the changes according to the Quality Control System of the COSMO partner or of the external partner that implements them.

Testing: The modified code has been checked for the MeteoSwiss operational setup (COSMO-2 and COSMO-7) and proven to give bit-reproducible results. If an optimization is made in the LF core (removal of "+qvtens-qvtens") rounding errors can lead to differences in the range of the numerical precision. These changes only influence the computation of dqvdt and thus are only visible if the convection scheme is active (COSMO-7) or in the DQVDT diagnostic output. The impact on model performance is negligible (timings of LF and RK simulations attached) and cannot be discerned from the jitter on the machine. In the results, the modified version of the code consistenly ran slightly faster than the original version, which is not understood and probably not statistically significant. The 4-eyes principle has been applied (Oli and Anne) but a review of the code responsible and WG2 chair (Michael) would nevertheless be optimal. In summary, no significant changes are expected, bit-reproducibility can be achieved (always for RK, but only with non-optimal code version in the LF case).

Documentation

Presentation of results: not applicable

Changes to Model Documentation: not applicable

Changes have been documented in the Release Notes

Future Code responsible: Michael Baldauf

0.03 2012-02-15 finish 2012-09-01 New tracer advection schemes: MPDATA and 'Bott2_Strang' deMorsier (MeteoCH), Baldauf ( 4.23
Description

MPDATA is currently developed in the PP 'Conservative dynamical core'.

It has the advantage of combinig tracer mass conservation and to be a fully 3-dimensional advection scheme; however

the order of accuracy is less than that of the existing schemes 'Bott' (direction splitted scheme) and Semi-Lagrange (non-conservative).

The Strang-splitting version of Bott is more stable than the 'standard' Bott version, but for the price of about 60% more computing time. This could be avoided by applying Strang-splitting only in the lowest levels.

To this purpose some reprogramming of the calling routines of the Bott-scheme seems to be advisable. Currently almost the same (large!) piece of code is contained 4 times in src_advection_rk.f90. This almost identical code can be reduced to one subroutine.

Status

This technical rewriting and a preliminary version of the more efficient Strang-splitting version is implemented now in COSMO 4.23.

MPDATA must be extended into a fully 3D-version before it can go into the official version.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: not yet available; technical tests have been performed to prove functionality.

4-eyes: for MPDATA by M. Baldauf (DWD)

for revised Bott2_Strang: by G. deMorsier (MeteoCH)

code responsibility: M. Baldauf

Testing

At DWD an experiment is ongoing, where the efficient Strang-splitting version is tested.

Documentation

Current state of MPDATA: see presentation at COSMO GM 2011 by G. deMorsier

0.04 2012-01-21 finish 2012-09-01 Reorganisation of metrics stuff Baldauf (DWD) 4.23
Description

concentrate metric terms for the spherical, terrain following grid in an own module.

This will facilitate the coupling of other dynamical cores (EULAG, ...).

Technical Issues

Coding Standards: are fulfilled. The developers of FieldExtra have been consulted to discuss the interfaces.

Technical Test Suite: not yet available; technical tests have been performed to guarantee functionality.

4-eyes: U. Schaettler (DWD)

code responsible: M. Baldauf

Testing

This is only a collection of subroutines from a diversity of files into one common file.

Therefore no change of results

0.01 2011-09-30 finish 2013-01-31 New Fast Waves Solver for RK dynamical core Baldauf(DWD) 4.24
Description

Most of the operational setups of the COSMO model now use the so-called Runge-Kutta time integration scheme (Wicker, Skamarock, 2002).
The basic idea of this time-splitting procedure is to treat the slow parts like advection or Coriolis force with a large time step, whereas the 'fast waves' modes
sound and gravity wave expansion are treated with a small time step.

As in the original proposal of Wicker, Skamarock (2002, 1998) the fast waves are treated horizontally with a backward-forward scheme and vertically implicit to allow larger values for the small time step. An additional filter process must stabilize this whole time-splitting procedure;usually a divergence damping is used (e.g. Skamarock, Klemp, 1992) in the fast waves solver.
Properties of the new fast waves solver compared to the current one are:

1. Improvement of the accuracy of all vertical derivatives and averages.
During the evaluation of the Runge-Kutta dynamical core for the COSMO-EU (7km)-setup it became obvious that the proper treatment of the vertical discretizations in strongly vertically stretched grids in particular improves the behavior of the pressure bias. Now all explicit and implicit terms are discretized in a consistent way with appropriate weights to take into account the grid stretching.

2. Use of the divergence operator in strong conservation form
Possible benefits of this form of the divergence are inspected in particular in combination with the lower boundary condition for the vertical velocity w.

3. Isotropic treatment of the artificial divergence damping
The current divergence damping considers only the horizontal gradients of the 3D-divergence in the momentum equations. This seems appropriate in the vicinity of the lower boundary, where the grid is highly anisotropic, too. But for smaller scale setups of COSMO (e.g. COSMO-DE with 2.8 km grid mesh size) the grid becomes more isotropic in the troposphere. Therefore an isotropic treatment of the artificial divergence damping seems to be reasonable. Due to high 'divergence damping Courant numbers' near the ground, this process must be also treated vertically implicit like the sound and buoyancy terms. The stability of this treatment is shown in Baldauf (2010).

References:

M. Baldauf (2010): Linear stability analysis of Runge-Kutta based partial time-splitting
schemes for the Euler equations, Mon. Wea. Rev., 138, 4475-4496

W. C. Skamarock, J. B. Klemp (1992):
The stability of Time-Split Numerical methods for the Hydrostatic
and the Nonhydrostatic Elastic Equations},
Mon. Wea. Rev., 120, 2109-2127

L. J. Wicker, W. C. Skamarock (1998):
A Time-Splitting Scheme for the Elastic Equations
incorporating Second-Order Runge-Kutta
Time Differencing, Mon. Wea. Rev., 126, 1992-1999

L. J. Wicker, W. C. Skamarock (2002):
Time Splitting Methods for Elastic Models using Forward Time Schemes},
Mon. Wea. Rev., 130, 2088-2097

Status

The modifications have been implemented in Version 4.24. The new solver now runs in the parallel suite of DWD for COSMO-EU and COSMO-DE.

Technical Issues

Coding Standards: are fulfilled (checked by SCA Ulrich Schaettler)

Technical Test Suite: not yet available, but functionality has been checked:

fast waves part of the code runs 30% slower on NEC (increase in total runtime is 5%), no numbers yet for other platforms; numbers to be confirmed when code is finalised. Also on scalar x86-platforms the code runs slower. Only on Itanium platform (SGI Altix) it is nearly twice as fast as the old fast waves solver (reported from tests by RosHydromet).

4-eyes Assurance: done by Andreas Will

Code Responsibility: M. Baldauf

Testing

All Standard idealised test cases look fine (linear gravity wave in channel (Skamarock, Klemp (1992)), several Mountain flows (Bonaventura (2000)), cold bubble (Straka et al (1993)) test, moist warm bubble (Weisman, Klemp (1982)) test, ...)

Real-case stand-alone test runs for several COSMO-EU (7 km), COSMO-DE (2.8km), and high-resolution COSMO-DE (2.2 km, 2km) are performed.

Synoptic and upper air verification for winter and summer periods are available for COSMO-DE (2.8 km) runs.

Documentation

Baldauf (2013): COSMO Technical Report No. 21 is available

Results for several idealised test cases were presented at the COSMO user seminar 2011, Langen and the SRNWP-workshop, 2011, Bad Orb.

Results for realistic simulations and time periods were presented at the COSMO User Seminar 2012

The User Guide (documentation of new switch itype_fast_waves) has been updated.

0.02 2011-09-01 finish 2011-12-06 Horizontal nonlinear Smagorinsky diffusion Baldauf (DWD) 4.21
Description

Sometimes the COSMO model aborts due to horizontal shear instabilities. Some of these crashes can be avoided by the 4th order 'artificial horizontal diffusion' with a prescribed constant diffusion coefficient.

But in rare events this diffusion is not strong enough and a more physically based diffusion mechanism is necessary. The nonlinear Smagorinsky diffusion (Smagorinsky (1963) MWR) determines the diffusion coefficient by the horizontal shear (and tension) strain and therefore acts in particular to reduce too strong horizontal shear.

It is switched on by the DYNCTL namelist parameter 'l_diff_Smag=.TRUE.' (otherwise it has no impact to the results). An internal parameter, the Smagorinsky constant, is currently set to c_smag=0.03. This value is chosen to prevent shear instabilities in COSMO-DE applications, but otherwise to influence as less as possible the verification scores.

Technical Issues

4-eyes: Uli Schaettler

Code responsibility: M. Baldauf

Testing

Experiments with COSMO-DE during 01.-28. Feb. 2011 and 01.-31. Aug. 2011 were performed.

Verification results are mainly neutral as expected.

0.05 2008-09-01 work 2013-09-30 Conservative Dynamical Core PP participants N/A
Description

see PP CDC project plan

and PP CELO project plan

Technical Issues

4-eyes:

code responsibility:


Documentation

papers in Acta Geophysica (2011) 59/6:

Michał Z. Ziemiański, Marcin J. Kurowski, Zbigniew P. Piotrowski, Bogdan Rosa und Oliver Fuhrer:
Toward very high horizontal resolution NWP over the alps: Influence of increasing model resolution on the flow pattern

Bogdan Rosa, Marcin J. Kurowski und Michał Z. Ziemiański:
Testing the anelastic nonhydrostatic model EULAG as a prospective dynamical core of a numerical weather prediction model Part I: Dry benchmarks
Testing the anelastic

Marcin J. Kurowski, Bogdan Rosa und Michał Z. Ziemiański:
nonhydrostatic model EULAG as a prospective dynamical core of a numerical weather prediction model Part II: Simulations of supercell

WG3a
1.08 2017-10-31 submit 2020-08-31 TERRA-related issues of ConSAT: implicit surface temperature, surface-proceses, canopy and snow Raschendorfer N/A
Description

7. Implementation of an extra, massive roughness layer, which is imlicitly coupled to the soil and semi-implicitly coupled to the atmosphere via the temperature of rouhness elements. This includes the parameterization of transfer of heat, moisture and radiation through this layer as well as the heat storage of elevated roughness layer elements (canopy), which coveres the surface of the dense soil. For that purpose, the surface scheme of TERRA needs to be modified considerably, in particular with respect to the effect of evaporating or tranpirating surface fractions and the upper boundary condition for the implicit solution of the soil heat conduction equation. This should reduce the currently too excessive soil heat fluxes and possibly help to increase numerical stability related to near surface processes. That measure is also closely related to the treatment of snow in general and particularly with regard to snow-interception by roughness elements.

8. Formulation of surface processes as implicit functions of surface temperature. This includes the solution of coupled multi-layer heat budgets for the soil, a possibly fractional snow-pack on top of the compact soil and a roughness cover (canopy), where the latter may reduce to a massless skin layer. This implicit formulation is a prorequisite of for a consistent and numerically save description of near-surface processes, including various phase transitions of hydrometeors at the surface and the physical effect of elevated roughness elements. This formulation is also necessary in order to avoid excessive time-step oscillations of near-surface tempertures as large time-steps, as it is currently the case with the operational code.

Status notes

Issue 7: A first working version of the elevated roughness layer (canopy) has been implemented into the previous (non-blocked) vesion of TERRA and the new (blocked) version of TURBDIFF. In this version, however, a full implicit thermal coupling between roughness-elements, soil and (particularly) a fractional snow-cover is not yet considered. With this prototype the presence of snow is still excluded. The canopy-extension has ability to simulate the mean diurnal cycle of T_2m and Td_2m for a clear-sky summer day almost perfectly.

The implicit coupling of all heat-equations under the particular consideration of snow, however, requires a rather extensive refomulation of TERRA and associated modules; This implicit coupling is also closely related to a formulation of surface processes as implicit funtions of surface temperature, which seems to be necessary in order to avoid undesired temperature oscillations at large time steps. Therefore it has been decided to realize an implicit formulation of thermal surface processes as a first step based on the blocked and further tuned TERRA version running with ICON (s. Issue 8). Thereafter, the above mentioned development of a particular canopy layer is going to be adapted as an extension of the coupled skin-layer equation of the snow-free surface. Finally, a canopy layer (with possible snow-interception) is planned to be considered also above a snow-pack covering the compact soil.

Issue 8: A first version of primary surface processes, which are formulated as an implicit function of surface temperature, is present in a private development branch for ICON. This includes major modifications in TERRA and its interface routines as well as related modifiactions in TURBTRAN including its interface routines. Since the official code had been written in terms of an explicit treatment of surface temperature, various related limitations and restrictions could now be removed or had to be adapted to an implicit treatment of surface processes. For that purpose large parts of the code had to be extensively altered or even to be rewritten completely, particularly with regard to phase transitions of precipitation reaching the ground, to the sequence of simulated processes, to the formulation of the single-layer snow model and to the treatment of dynamic snow tiles. Further, rather elaborate adaptations were necessary, in order to adapt various empirical parameterizations (that had been implemented into the ICON code in the meantime by G. Zängl) to the more rigorous implicit treatment. In this TERRA version, a single coupled system of linearized heat budgets is solved for the following three domains: a snow-free skin layer, a partial (single-layer) snow-cover and the rigid soil.

With all these implementations we aim to keep as close as possible to the results of the operational formulation in order to have optimal control about the various formal, methododical and numerical modifications. Related physical extensions with expected positive impact to the model scores will be implemented as next steps.

Various test-runs demonstrate that near-surface temperature oscillations are eliminated with only minor further impact to the results. Thes even holds, if the so called flux-limiter is deactivated, which is necesary in the operational version in order to avoid model crashes due to the mentioned oscillations, is now deactivated! Nevertheless, some further tests are pending.

July 2019: The coupled system of linearized heat equations has been extended towards a multi-layer heat equation for snow with an individual, time-step dependent number of snow-layers for each grid point. This has been implemented as a ConSAT-contribution to PT SAINT, where the latter is aiming to introduce the sophisticated multi-layer snow hydrology from the snow-model SNOWPACK.

After merging the private development branch (containing the implicit surface-temperature treatment) with the running ICON-development and after further testing, the result is expected to be committed to the official development branch of ICON soon (at least by the end of 2019).

Testing

The canopy-extension has been tested with COSMO for a cloud-free summer-case over Germany with very promising results, particularly with respect to 2m dew-point temperature.

The various implementations for the implicit treatment of surface tempertature have been tested technically and through several cases with ICON, showing (so far) the expected behaviour, that means:

Vanishing time-step oscillations of near surface temperature, even without the so far necessary flux-limiter in TERRA. The various empirical extensions and extra limitations (the latter in order to damp inherent numerical instability) that had been implemented in the operational TERRA before, could be adapted so as to obtain similar results with the implicit version compared to the operational version.

Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code
  • external product documentation: scientific documentation, User Guide and (possibly)implementation documentation
  • process documentation: documentation of the chages to the existing software forinclusion to the version history and the changes log-file.
3.07 2016-05-01 work 2016-09-30 Implementation of ICON/COSMO two-moment microphysics scheme Seifert/Blahak 5.06
Description

The two-moment microphysics scheme has been rewritten and strner modulaized for the ICON code and thus is already formulated in block-data stucture. This code being physcally identical with a previous implementation will now be portet to COSMO.

Status

Code is being committed to the code administrator and needs to be implmented into the next COSMO-version

Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code
  • external product documentation: scientific documentation, User Guide and (possibly)implementation documentation
  • process documentation: documentation of the chages to the existing software forinclusion to the version history and the changes log-file.
1.07 2015-10-28 submit 2015-12-01 Soil and surface fluxes: effective slope-angle correction factor (1/cos(slopeangle) Blahak/De Morsier/Raschendorfe 5.06
Description

To account for the effect of an enhanced area for fluxes and their divergences at the surface and in the soil in case of sloping terrain (enlarged area but same grid box volume to heat up), an effective factor 1/cos(slope) is multiplied to the exchange coefficients tcm and tch. This factor has been mentioned in the PhD-Thesis of M. Buzzi (2008), based on Müller and Scherrer (1995), but it cancels out in the surface energy balance. The only terms where it does not cancel out (and this is not mentioned by Buzzi), are the fluxes of momentum, heat and moisture on the atmospheric side at the ground (transfer scheme). Within the atmosphere, where turbulent fluxes are assumed to be parallel to the gradient of the grid scale quantity (flux-gradient-relations), this factor is implicitly taken into account when taking into account the full 3D turbulent fluxes. In the soil, heat gradients are mainly perpendicular to the surface, so also here the factor has to be taken into account, whereas for soil water fluxes where gravity is an important factor, this is not so clear. Therefore, we include the factor in the heat conductivity, but exclude it for hydraulic conductivity at the moment.

Status

Code has been implemented into a test version based on COSMO 5.3 and is currently being tested.

This measure belongs to the generalized boundary-layer-approximation already implemented in the surface-to-atmosphere transfer scheme (considering already the surface enlargement by sub-grid scale slopes) and should now be revied in order to implement the effect of grid scale slopes consistent to the planned implementation of "the vertically resoled roughness layer" and its vertical profiles of a surface area index.

Alredy with the parameterization of a mixed roughness layer, which is being impemented in order to be coupled impicitly with the air above and the soil below, the general effect of the surface enlargement will be included. Thus a consistent representation of the mean surface slope effect will be implemented in connection with this deveopment.

Technical Issues

Coding Standards are fullfilled.

Technical Test Suite has still to be run.

4-eyes principle has yet to be insured

Testing

Single Test Cases, Experiments:

First tests with the present version and 3D-diffusion show only a rather small impact for the Alps only, mainly in terms of upward long-wave radiation.

0.02 2015-10-28 submit 2015-12-01 Stochastic boundary layer perturbations reflecting unresolved effects of variability of surface fluxes on convection initiation Kober / Blahak 5.06
Description
  • Kober, K., and C. Craig, 2016: Physically Based Stochastic Perturbations (PSP) in the Boundary Layer to Represent Uncertainty in Convective Initiation, J. Atmos. Sci., 73, 2893-2911.

In Short:

  • Perturb tendencies (T, w, q) additively based on variances from the turbulence scheme and the turbulent length scale, model resolution and time step. Current perturbations are targeted to enhance the subgrid scale variability caused by the process of surface heating, as described by the liquid pot. temp. variance, moisture variance and vertical wind variance as derived from the turbulence scheme.
  • Method:
    Similar to Teixeira and Reynolds (2004), described in Kober, Craig et al. (2015):

ttens = ttens + const * random_number * sqrt(tetl_tetl)
qvtens = qvtens + const * random_number * sqrt(h2og_h2og)
wtens = wtens + const * random_number * sqrt(w_w)

tetl_tetl = mean(theta_l'theta_l')
h2og_h2og = mean(qv'qv')
w_w = mean(w'w')

  • "const" is proportional to tur_len / (dx*dt) times a namelist parameter "blpert_const". The default for blpert_const is 2.0.
  • "random_number" is a 2D-field of gaussian random numbers, folded by a Gaussian smoothing kernel to generate spatially coherent patterns. It is updated in regular time intervals (namelist parameter), which should be the approximate eddy turnover time in shallow convection.
    The spatial width of the kernel is the namelist parameter "blpert_sigma" and is specified as multiple of horizontal grid length dx. It should be around the effective model resolution, i.e., 1 <= blpert_sigma <~ 4 . The default for blpert_sigma is 2.5.
  • The initial seed for the random number generator is the namelist parameter "seed_val", in order to control/reproduce the random numbers in subsequent runs.If "seed_val=-999", the random numbers are instead either randomly seeded by the system time (if namelist parameter "lseed_use_starttime=.false.") or are seeded by the model start time ydate_ini (if "lseed_use_starttime=.true."). The actual seed for each new draw of random numbers during the model run is determined from this initial seed in a unique way, depending on the forecast time, the forecast time range and the ensemble member number. Thus, the stochastic perturbations are "deterministic" in the sense that if a run is repeated on the same computer, the exact same perturbations are imposed.
  • Original method and code provided by Kirstin Kober, LMU Munich, based on turbulent variances taken from M. Raschendorfer.
    Code re-written by Ulrich Blahak.
  • Code modified by Ulrich Blahak with respect to:

- random number seeding and -generation
- changed computation of convolution with the Gaussian kernel, so
that it is now also correct near the model boundaries
- implemented periodic boundary conditions into the perturbation field
- limit the variances from Mellor-Yamada to values >= 0.0 to avoid
"realizability problems" with negative values
- new methods and namelist parameters for:
- possibility to advect the perturbation field with the horizontal velocity
from level ke-10 (ladvect_blpert)
- possibility for an asymetric random number distribution (itype_blpert >=4)
- possibility for extremely asymetric random number distribution to negative numbers (cold bubbles) (itype_blpert >=7)
- possibility for modified vertical perturbation structure
(propagate maximum variance upwards up to the PBL height (1500 m / 500 m AGL at most)
itype_blpert = 2, 3 (symmetric distribution)
itype_blpert = 5, 6 (asymetric distribution)
itype_blpert = 8, 9 (extremly asymetric distribution, cold bubbles)
- original perturbations: itype_blpert = 1
(same but with asymetric/extremely asymetric random numbers: itype_blpert = 4 / 7)

Status

Original code provided by K. Kober, LMU Munich.

Code technically re-written and implemented into Cosmo 5.3 test version. Modified random number seeding. Implemented random number field into restart.

Has the potential to increase convective activity, but some more tuning seems to be necessary.

Although first vefication reslults are not yet convincing, the code is going to be implemented, as it is already of value for ensemble methods and can be controlled by namelist switches.

In a test-version, the neeed output of turbulence statistics has also been integrated into the new blocked SUB 'turbdiff'. Howeve, this additional modification needs to be introduced into the official code as well.

Technical Issues

Coding Standards fulfilled

Technical Test Suite not yet

4-eyes Assurance not yet

Testing

Single Test Cases, Experiments

First test simulations for convective periods do not yet provide a significant increase in precipitation.

The results of a 1-month verification based on COSMO 5.2 (August 2015) are now yet convincing.

Documentation

Presentation of Results, Model Documentation, External Documentation

Publication by Kirsin Kober et al:

Kober, K., and C. Craig, 2016: Physically Based Stochastic Perturbations (PSP) in the Boundary Layer to Represent Uncertainty in Convective Initiation, J. Atmos. Sci., 73, 2893-2911.

PPTx by Ulrich Blahak (Description, new namelist parameters, experiments)

2.01 2015-10-28 finish 2015-12-01 Shallow convection: new closure based on conv. vertical velocity scale, modified entrainment, modified shallow conv. cloud cover Boeing / Blahak 5.05
Description

Modifications of the shallow convection parameterization based on the work of S. Boeing at MeteoSwiss. Cloud base muss flux now based on convective velocity scale instead of moisture convergence. Modified entrainment parameterization and modified shallow cloud cover.

Status

Code provided by S. Boeing and transferred from the GPU-implementation of MeteoSwiss to a Cosmo 5.3 test version by U. Blahak. New namelist switch y_conv_closure with the 2 possibilities "standard" and "Boeing" to activate the changes.

Technical Issues

Coding Standards are fullfilled, but additional nested IF branches are introduced within several outer loops over gridpoints in src_conv_shallow.f90 and make the code not very readable and perhaps also inefficient due to vectorization problems. Has to be re-checked. In cosmo-prerelease the SELECT CASE is now used and with OPENACC the performance of standard is the same.

Technical Test Suite: Ok.

4-eyes Assurance: By Ulrich Blahak.

Testing

Experiments made with COSMO-1 for 2 periods (Winter 2014-20159 and May/June 2015) show little impact. Results in Verification_shallow_convection.pdf

Documentation

Presentation of Results, Model Documentation, External Documentation

A short description of by S. Boing in LaTeX is available.

Talk at COSMO GM 2014: Evaluation of kilometer scale COSMO simulations using LES and observations. Latest results from Turb-i-sim. (p.19-33 of GMtkesv)

External Doc: shcu.pdf

1.06 2014-04-01 finish 2014-08-30 Turbulence: Implementing and extending the restructured ICON-version of TURBDIFF Raschendorfer 5.05
Description

The standard turbulence scheme of the COSMO (TURBDIFF) is the default scheme for ICON as well and a lot of adaptations have been introduced to the ICON-version including a major reorganization of the code.

  • It contains common subroutines for solving the turbulent 2-nd order equations and the related thermodynamics that are called also by the surface-to-atmosphere transfer (SAT) scheme (TURBTRAN).
    • with the full moist turbulence statistics applied also for the surface layer
      • allowing for consistent interpolation of vertical profiles at the 2m- and 10m-levels in terms of conserved variables
      • allowing the simulation of clouds at 2m-level = fog
    • with a modified definition of specific humidity at saturation, based on partial pressure of dry air, which can be applied even at levels with very small pressure.
    • with a new version of a positive definite prognostic TKE-eqaution
    • with a less restrictive correction of potential singularies in the solution of stability functions
  • It also employs a different treatment of numerical security limits that can be gradually decreased, which may have consequences not only for the stable boundary layer:
    • They are related some smothing routines or the introduction of security factors
    • and are related to the solution of the TKE-equation, the treatment of the linear system resulting into the stability functions, the calculation of forcing terms and the finally derived variable tendencies.
  • Further, a new subroutine for calculation of vertical diffusion has been introduced:
    • This subrougtine can be called for arbitrary tracers and prognostic half-level variables (like TKE) as well.
    • It also allows for the treatment of non-gradient diffusion, which is particularly a matter
      • for the moist corrections (due to condensation and evaporation related to turbulent fluctuations),
      • for non-local extensions (e.g. when treating scalar turbulent variances prognostically) or
      • for calculating the buoyant near surface circulation term
    • The subroutine also allows for explicit forcing by pre-described surface flux densities (explicitly calculated or contained in a variable field)
    • Optionally a dynamical calculation of implicit weights and a preconditioning of the (tridiagonal) matrix can be selected.
  • Moreover some additional development has been implemented:
    • Some modification for TKE-initializations required for a restart, which is based on the usual model output.
    • Optional restriction of the smoothing of TKE-forcing terms to the tropics.
    • Introduction of a Ri-dependent corrections for
      • minimal diffusion coefficients
      • minimal velocity scale of the transfer layer
      • the length scale used for calculating the additional shear production of TKE generated by non-isotropic separated horizontal shear eddies.
    • Introduction of a wind-dependent Charnock-Parameter for estimation of sea-surface roughness
    • Making the so far constant pattern-length-scale (of the "circulation-term") dependent on SGS orography
    • Allowing an optional free-slip condition for idealized test runs
  • On the other hand horizontal operations (like the interpolation of wind components to mass positions and the complete calculation of horizontal shear (cf. "3D-extensions of TURBDIFF") are not present in the ICON version, which employs only one horizontal dimension of variable arrays subscripting independent vertical columns.
  • Finally, some other development (e.g. the treatment of vertical diffusion for conservative variables with a subsequent statistical saturation adjustment) has been implemented in a side-branch of the TURBDIFF-development for ICON (still using 2 horizontal coordinates).

This task aims to merge the different development into a common TURBDIFF module valid for COSMO and ICON:

  • For that purpose all horizontal calculations (which are different in both models due to the different model grid) have to be separated from the TURBDIFF module and to be displaced e.g. to the calling interface.
  • Further we are aiming to substitute the calculation of vertical diffusion in COSMO, which consists of different code for diffusion of momentum, temperature, passive tracers and TKE, which is located in different subroutines and modules (also dependent on the selected dynamical core), by a single generalized subroutine, which is included in the TURBDIFF-module of the ICON-version.
  • The upcoming TURBDIFF-version will also contain a more consistent controlling of optional extensions or alternatives.
  • The new version will require a modified the turbulence interface and the new module will contain all code related to TURBDIFF, which is currently split into different modules in COSMO.
  • The non-formal extensions compared to the currend COSMO-version, which have a major impact on the results, should be reformulated in a way to allow for a successive activation.
  • This code should also be the one to be extended by further development, e.g. the optional prognostic equations for scalar variances (cf. "Extension of TURBDIFF to TKESV configuration").
Status

December 2016:

  • An additional test for a winter-period with the new blocked TURBDIFF version using the oprational ICON settings is currently running. If the results of the winter-period are convincing, the official activation at DWD will be done after the start of KENDA and a quasi operational parallel experiment, already using KENDA for data assimilation.

June 2016:

  • The verification results based on the new blocked TURBDIFF version using the operational ICON settings are promising. However the run with “itype_vdif=0” (calling blocked vertical diffusion just after the turbulence model, where diffusion of horizontal wind is applied to mass centered profiles, crashed for COSMO-DE after about 3 weeks of simulation. The tests using “itype_vdif=-1/+1” are stable.

  • Development implementation based on COSMO_5.03_beta integrated into official version 5.4a by using the copyToFromBlock faclity for array blocking together with some restructuring of the interfaces.

  • By this, the possibility of calling the common blocked vertical diffusion routine after the physics section, integrating other physical tendencies into the implicit diffusion equation and allowing for diffusion of the staggered horizontal wind components directly “itype_vdif>0” is deactivated. Further, combinations of the blocked routines with alternative turbulence or surface-transfer schemes are not possible and SC-runs are no longer possible,

  • A cleaned implementation has been prepared based on COSMO_5.04a facilitating “itype_vdif>0” and combinations with alternative turbulence parameterizations, going to be implemented into a sub-version of 5.05.

  • Parallel tests based on this implementation are being run with “itype_turb=-1/+1”

December 2015:

  • A new common version of the module TURBDIFF (turbulence_turbdiff) has been developed, which needs to be combined with a configuration module (turbulence_data).
  • The code is written in block-data structure and has been substantially rearranged and extended in order to merge all COSMO and ICON developments as switchable options.
  • By means of parameter settings in turbulence_data it is possible to configure TURBDIFF as it is currently used in ICON (ICON-config) or similar to the current (older) formulation in operational COSMO (COSMO-config). Some of these settings are also NAMELIST parameters taking their defaults from turbulence_data.
  • New TURBDIFF is already operational in ICON since mid-November 2014.
  • It is also available in COSMO_5.03_beta
    • together with a new interface containing all necessary horizontal operations that are no longer part of the TURBDIFF code.
    • Array blocks are provisionally realized by partial arrays at a fixed horizontal j-index.
    • COSMO_5.03_beta can be run either with the previous TURBDIFF (itype_vdif=-2) or wiht the new common TURBDIFF (itype_vdif>=-1)
    • Vertical diffusion can either been calculated by the previous routines in slow_tendencies_rk (itype_vdif=-1) or by the common routine contained in TURBDIFF (itype_vdiff>=0), which is used in ICON as well.
    • Common vertical diffusion is either called together with the turbulence model as in ICON (itype_vdif=0), where horizontal wind is diffused on horizontal mass positions, or it is called at the end of the physics-section using already calculated physical tendencies in the semi-implicit diffusion equation (itype_vdif>0). If called at the end of physics section, vertical diffusion of horizontal wind is
      • either calculated for the mass-point interpolated wind-compenets and the diffusion tendencies are back-interpolated onto the staggered positions (imode_mdif<=0), which is the the procedure in ICON, and possibly present wind-tendencies are considered in the imlicit equation (imode_mdif=-1)
      • or the original staggered horizontal wind components are diffused directly (imode_mdif=1), as it is currently done in slow_tendencies_rk
  • The meaning of some namelist parameters has been modified in the sense of a more systematic definition (imode_turb, imode_tran, itype_sher, ltkeshs, lsflcnd, ...)
  • The code has been used for case studies as well as for parallel experiments with COSMO.
  • The code contains also additional options related to further development, in particular some modifications of the surface-to-atmospher (SAT) scheme.
  • The new code is being integrated into COSMO_5.4 by Uli Schättler by empoying the copy-in-out facility for array-blocking.

August 2014:

After a first attempt has been introduced into the single column (SC) test-bed (COSMO-SC) based on version 4.29, which didn't contain all the different development completely and was still based on 2 horizontal dimensions of variable arrays,

  • the current ICON-version has been formally adapted by some reformulations
    • allowing to switch-on and -off the most significant non-formal extensions
    • avoiding some not necessary code duplications that had been introduced in order to speed up the code
    • introducing some extensions that had been implemented in COSMO but not in ICON (mainly 3D-turbulence options)

Based on COSMO version 5.1a

  • a new COSMO-interface for calling TRUBDIFF 'turbulence_interface' has been written, containing
    • all the necessary horizontal calculations:
      • interpolation of all variables onto horizontal mass-positions of staggered wind and vice versa for wind-tendencies
      • calculation of horizontal shear fields as input variables
      • precalculation of 3D-metric corrections for vertical diffusion [to be adapted later <=> ConSAT]
    • a collection of all needed parameters and some specific settings for COSMO

Comments:

  • By the control-parameter 'imode_vdif' it can be selected, whether vertical diffusion is calculated
    • utilizing the new vertical diffusion routine
      • together with the turbulence model (not using explicit physical tendencies in the implicit equation) as it is currently done in ICON: "imode_vdif=0"
      • after the explicit physical tendencies have been calculated (using the collected physical tendencies in the implicit equation): "imode_vdif>0"
        • [in the test version the call of the common vertical diffusion routine is located in 'slow_tendencies_rk', where (in this case) the previous code is disabled]
    • running vertical diffusion as before (using the respective code in 'slow_tendencies_rk': "imode_vdif=-1"
  • It is possible to configure the turbulence model by parameter settings in 'turbulence_interface' nearly reproducing the behavior of the current scheme:
    • So far, this has been verified by some test runs only
  • The test version needs to be integrated into the official version
  • The final version needs to be tested thoroughly, since it represents a rather strong modifications:
    • We want to start 2 experiments with a configuration, which are expected to represent
      • the current COSMO-version
      • the current ICON-version
  • If the ICON-configuration is acceptable, we stay with this
  • Otherwise, we start with the COMSO-configuration and try to find a compromise later
Technical Issues
  • Coding standards are fulfilled.
  • The TURBDIFF code hase been further optimised compared to the previous ICON- or COSMO-version.
  • Correctness of the code is assured by
    • 4-eye inspection: together with Günther Zängel (TUBDIFF code) and Uli Schättler (COSMO-interface)
    • evidence that all formal modifications applied to the forme ICON-version produce bit-identical results comapred to a test version containing only those modifications, which really effect the results.
Testing
  • Single test case experiments showed that
    • COSMO_config
      • shows rather comparable results to the current operational TURBDIFF version
      • is rather independent on how vertical diffusion is organized
    • ICON_config seems
      • to reduce positive nocturnal bias for T2m to some extend => presentation by A. Steiner and J. v.Schumann)
      • to show a better representation of the low level jet (important for wind energy forcast for wind generators) => presentation by A. Steiner and J. v.Schumann
  • Parallel experiments for COSMO-DE with lateral BC provided by ICON-EU
    • for November 2014 are finished togeth with operational verification
      • Reference: itype_vdif=-2 (currently operational TURBDIFF)
      • Test1: COSMO_config and itype_vdif=-1 (only new turbulence model configured similar to operational TURBDIFF)
      • Test2: COSMO_config and itype_vdif=0 (also new common vertical diffusion)
      • Test3: ICON_config and itype_vdif=0 (new turbulence mode configured as in ICON and new common vertical diffusion)
    • for August 2014 are finished togethr with operationa verification
      • Reference: itype_vdif=-2 (currently operational TURBDIFF)
      • Test3: ICON_config (crashed with ityp_vdif=0!!, runs with itype_vdif=-1/+1)
  • NWP-test suite (2.8 and 7) Km running with COSMO_5.4a as Test3 (itype_vdif=0) but with a accidental parameter variation.
  • Comment:
    • "itype_vdif=0" seems to be not stable.
    • Test3 was promising (already shown), but "itype_vdif=0" seems not to be stable!
    • Test3 (itype_vdif=-1/+1) will be repeated with COSMO_5.4_beta as a parllel experiment at DWD and NWP-test suite (also possibly with further parameter variations)
Documentation
  • Recent results (presented 14 December 2015) by Andrea. Steiner and Jonas. v. Schumann are uploded.
    • more experiments will follow and the results are going to be presented at the CUS
  • Results of the parallel experiments are uploaded on this page.
  • Publications (first of all about the transfer-scheme and about Ines Cerenzia's related diagnostics) are in preparation as well.
    • The positive effect of the implemented (optional) updated derivation of transfer coefficients for stable stratification has been presented by Ines at the CUS 2016
  • An updated user-descricption of new or redefined NAMELIST parameters and of the configuration paramers in turbulence_data will be provided as soon as the introduction of the new COSMO-version containing the common TURBDIFF (5.04) is ready.
  • The preparation of a scientific documentation about the complete parameterization (turbulence scheme including turbulent saturation adjustment and surface-to-atmosphere transfer) has started based on existing manusscripts and presentations. It should possibly become ready within the current ConSAT task.
3.06 2014-03-01 finish 2014-06-30 Implementation of a unified COSMO-ICON microphysics Kahler / Fuhrer / Lapillonn 5.01
Description

The unified COSMO-ICON model microphysics includes different changes conducted by Felix Rieper and Gunther Zaengl: Cloud ice sedimentation, an alteration in the sticking efficiency of cloud ice, the treatment of supercooled liquid water vapor, the reduction in the freeezing rate of rain and some bug fixes related to the values of physical parameters. These changes have been implemented and can be controlled by switches in the code. Default is false. The code will be adopted from ICON, where it is already written in the block data sturcture.

Status

The code is ready in a test version and is being tested for real cases.

Technical Issues

Coding Standards, Technical Test Suite, 4-eyes Assurance

The code has been implemented along the coding standards and all modifications have been checked by at least one additional persson.

Testing

Single Test Cases, Experiments

The new common microphysics module has been tested within the ICON framework with some remaining problems in the ICON stratosphere, when running the supercooled liquid water version. A comparison using the operational setup at MeteoSwiss along a 15 days period showed only minor differences.

Documentation

Presentation of Results, Model Documentation, External Documentation

A short description of the main modifications and the related NAMELIST-switches is in cluded in a document of C. Köhler. A 1st-verification of the new code has been performed by MeteoSwiss for a 3-week period starting at April 12 2014. In this parallel experiment all the new development (except some bug fixes) has been switched off. Thus mainly the technical adaptations (e.g. the code in block-data structure) has been inspected. As expected, the verification results are neutral.

Now also verification results from DWD's experiments with COSMO-EU and COSMO-DE are available.

1.02 2014-02-01 finish 2014-12-31 Turbulence: 3D-extensions for TURBDIFF within the concept of scale separation Raschendorfer / Blahak 5.01
Description

So far, the standard Raschendorfer-scheme (TURBDIFF, active for itype_turb=3) is based on the closed 2-nd order equations for turbulent statistical moments, which uses a prognostic equation for TKE (and in future also optional prognostic equations for scalar variances - cf. "extension to the TKESV configuration") and a system of diagnostic linear equations for the remaining 2-nd order moments. This all together is solved in horizontal boundary approximation HBLA similar to the classical Mellor/Yamada scheme, what makes it to be a pure single column (SC) scheme. We are now aiming to extend this scheme towards a 3D-scheme that can be applied for the targeted convection-permitting model resolution without losing its applicability for coarser model resolution.

For a first step we want to treat the prognostic TKE-equation as a 3D-equation, considering full 3D shear-production, advection and diffusion of TKE, where the remaining linear system is still solved in HBLA except the fact that the vertical shear forcing term is substituted by the 3D-term. The arising horizontal momentum flux densities are expressed by extending the flux gradient representation of the SC solution to the horizontal directions employing the resulting diffusion coefficients as isotropic properties. The same representation is also used for horizontal diffusion of prognostic variables (including TKE).

In a second step we want to include the separated horizontal shear mode that has been introduced before as an optional scale-interaction production term in our TKE-equation. For that purpose, this production term is treated as an sink term for the separated horizontal shear mode being balanced by horizontal shear related to horizontal grid scales. A derived additional horizontal diffusion coefficient can be added to the isotropic turbulent one for calculation of the overall horizontal diffusion.

We further want to modify the parameterization of the turbulent master length scale to be valid also for grid cells with a vertical dimension larger than the horizontal one.

For controlling the options, we use the NAMELIST switch l3dturb that has already been introduced for the alternative turbulence schemes for LES purposes (itype_turb=5...8) and the selector itype_sher:

l3dturb=.TRUE.: horizontal shear and horizontal diffusion active (also for itype_turb=3)

itype_sher=1: using isotropic turbulent diffusion coefficients and related shear production only

itype_sher=2: using the separated horizontal shear as an additional TKE source

itype_sher=3: considering also the additional horizontal diffusion by the separated horizontal shear mode

The activation of TKE-advection is controlled by the switch lprog_tke, similar as for the LES turbulence shemes (cf. "Implementing TKE-advection for TRUBDIFF"). Note that both, TKE-advection and horizontal diffusion of all prognostic variables (including TKE) is only provided, if the Runge-Kutta Core (l2tls=.TRUE.) is active.

We expect benefits along frontal zones and along steep orography with increasing significance for increased horizontal model resolution.

Status

First implementation ready in a test code including also TKE-advection (applicable for the standard scheme). The test code is based on COSMO version 5.0 and has been tested to work formally correct. The modifications are going to get part of version 5.1 to be available for more rigorous testing for high resolution model runs within the whole WG3a community.

Technical Issues

The code modifications are along the coding standards and they has been inspected by U. Blahak. The implemented extensions are optional and allow for a more stringent selection of 3D-aspects for the standard turbulence scheme. Their possible operational benefit (even for the currently operational model resolution) will be tested afterwards.

Testing:

Technical correctness has been checked by U. Blahak (cf. tkeadv.pdf). Further meteorological testing is required with special attention to higher horizontal resolution. An additional uncertain scaling parameter for the description of the separated horizontal shear mode can perhaps be estimated by fitting kinetic energy spectra for high resolution runs.

Documentation

Presentation of Results, Model Documentation, External Documentation

The whole extended scheme will be documented as soon as the common turbulence module for COSMO and ICON is ready. The 3D-extension will not yet be used operationally and has been implemented in order to facilitate test runs with this 3D-extionsion of the operational scheme. Explainations of the needed NAMELIST-switches can be taken form the "descrciption" section.

0.01 2013-12-01 submit 2014-07-31 Providing COSMO-SC for general application Raschendorfer / Schaettler 5.05
Description

The single column test bed (COSMO-SC) had been developed years ago by M. Raschendorfer and consists of a couple of additional modules facilitating SC-runs with the parameterizations schemes used in the COSMO model. The framework provides a flexible configuration of a SC model run that can be forced by various SC measurement data (e.g. from meteorological observatories) in order to perform a kind of component testing of singular parameterization schemes. In order to perform SC runs, these modules need to be compiled with a sub-set of COSMO modules that branches from module organize_physics and includes also the related NAMELIST settings. As we want to produce a common library of physical parameterizations for COSMO and ICON, the SC framework automatically would be a test-bed for future ICON development. Nevertheless, the framework modules can also be linked to a subset of ICON modules in principal, what however would require some major adaptions.

The last running SC configuration was based on COSMO version 4.24. In particular the new tracer module is not yet compatible to the SC framework, which involves some major modifications in these modules and some minor ones in the original COSMO code.

We aim to prepare a running SC configuration based on version 5.0 and to include the modules of the SC framework to the official COSMO code, what means that the SC test-bed is available for all COSMO users, and that modifications of the original COSMO code need to guarantee the functionality of the SC runs.

Status

The SC modules have been adapted to COSMO version 5.03_beta and a few related modifications have been implemented into the test version including the modifications related to "Turbulence: Implementing and extending the restructured ICON-version of TURBDIFF", "Implementing TKE-advection for TURBDIFF" and "Implementing TKE-advection for TURBDIFF".

The standard workbench and makefile of Uli Schättler has been extended, so that the additional SC-code is always included now. Optionally either the paralles binary for the full 3D COSMO or a sequential binary for the COSMO-SC can be compiled. In particular all common physic schemes already implemented in COSMO can be tested by SC-runs, which includes component testing by means of an accordingly designed measurement forcing of SC-runs.

Technical Issues

The code of the additional SC-framework itself is rather comprehensive and its complete inspection is impossible. Moreover, this code is purely sequential and is not optimized with respect to performance, as it has been designed as a tool for testing and developing physical parameterizations only. However it written in rather modular and the code-lines are very inensively commented. It has been used intensively for various component testing experiments.

Testing

The functionality of the SC-framework in combination with COSMO-5.0 has been tested by some users at DWD and I. Cerenzia at ARPA-SIMC. A previous version has been tested also by M. Buzzi (MeteoSwiss).

Documentation

A documentation of the SC-framework is already available. However, it is not completely up to date.

1.05 2012-04-01 finish 2015-09-30 Consolidation of surface-to-atmosphere transfer ConSAT Raschendorfer 5.05

ConSAT is a coordinated and planned, sequential as well as partly interactive and dynamicaly adapted list of measures aiming to generally improve the description of Surface-to-Atmosphere Transfer (SAT), through which particularly the simulated diurnal cycle of near-surface variables can be strongly influenced.

From 2013 till 2016 ConSAT was organized as sequence of PTs. More details about the aims, measures and results during this phase can be found in the related documents of the PTs. Currently ConSAT is continued at the level of WG tasks.

The focus of ConSAT is the coupling between the rigid surface and the atmosphere and thus refers to the numerical simulation of atmospheric and non-atmospheric processes near the surface, which mainly are represented by the modules TURBDIFF (boundary layer turbulence), TURBTRAN (calculation of bulk atmospheric resistances between surface and the lowermost atmospheric model level) and TERRA (physical processes at the rigid surface). Since a consistent numerical description of this complex requires the consideration of each of these domains, ConSAT tasks necessarily are also dealing with surface processes being represented in TERRA.

The work started in the framework of the COSMO-model, where the Single-Column framework (COSMO-SC) was an important working tool. Within 2017 the ConSAT-development moved to the ICON model, since COSMO could not realy be upgraded so as to contain the same treatment of surface processes (at least as far as TERRA is concerned). Furthermore, some related methodological development in ICON (such as surface tiles and dynamical snow tiles) have not been transferred to COSMO. Nevertheless, COSMO-SC will be used again, as soon as modules containing the related physical parameterizations can really be interchanged without further adaptations between COSMO and ICON. So far, the ConSAT-work takes place completely in ICON.

ConSAT is related to the following implementation taks:

  1. Reformulation of the surface-to-atmosphere transfer scheme at least in those aspects promising to improve its behaviour for stable stratification (particularly over snow in connection with large values of roughness length) and to reduce the present systematic overestimation of T2m during night time situations.
  2. Improving the numerical stability and efficiency of the turbulence scheme and the diffusion calculation by optimisation of the algorithms, by introducing some matrix conditioning, by modification of the positive definite prognostic TKE equation and by implementing better strategies of avoiding possible singularities in the solution of stability functions without undesired artificial constructions like minimal diffusion coefficients.
  3. Revision of scale interaction terms of the scale separated turbulence scheme, in particular with regard to thermal SSO effects (thermal circulation term).
  4. Reformulation of implicit vertical diffusion within one general subroutine called for each transported species, including tracers and half level variables like TKE.
  5. Reformulation of the whole boundary layer scheme (transfer, turbulence, turbulent clouds, turbulent diffusion) towards an more modular structure with regard to the coupling with surface tiles and the use in other models like ICON. Adoptions for the use in ICON include the separation of calculations using horizontal operators from the turbulence scheme and the use of only one horizontal loop.
  6. Resvision of turbulent saturation adjustment (statistical cloud condensation) with respect to its application in the transfer layer as well as physic-dynamic coupling and scale separation.
  7. Introducing the vertically resolved roughness layer with roughness terms in the turbulence scheme including a clear concept how to aggregate surface roughness parameters of a grid box surface from those of the tiles it is composed of.
  8. Implementation of an extra, massive roughness layer, which is imlicitly coupled to the soil and semi-implicitly coupled to the atmosphere via the temperature of rouhness elements. This includes the parameterization of transfer of heat, moisture and radiation through this layer as well as the heat storage of elevated roughness layer elements (canopy), which coveres the surface of the dense soil. For that purpose, the surface scheme of TERRA needs to be modified considerably, in particular with respect to the effect of evaporating or tranpirating surface fractions and the upper boundary condition for the implicit solution of the soil heat conduction equation. This should reduce the currently too excessive soil heat fluxes and possibly help to increase numerical stability related to near surface processes. That measure is also closely related to the treatment of snow in general and particularly with regard to snow-interception by roughness elements.
Status

Some of the mentioned work (issues 1 to 6) have already been picked up in the development of the ICON-version of TURBDIFF (cf. "Implementing and extending the restructured ICON-version of TURBDIFF"). The full ICON-version of TURBDIFF is used now in COSMO exclusively (since version 5.04e). However, at DWD, TURBDIFF is still configured in order to provide similar results as compared to the previous TURBDIFF-version. This is realized by a couple of parameter settings. Most of them are activated by the NAMELIST-setting "loldturb=T", which can be used since COSMO-version 5.04f.

July. 2019: In a particular development branch for ICON more recent development is being implemented and tested (see issue 3 and 8)

Issue 1: An extended interpolation of the vertical profile function of turbulent velocity scale through the transfer layer (with a new hyperbolic branch for stable stratification) has been implemented in the common TURBDIFF version as well as an option to run the surface scheme without the input of turbulent diffusion coefficients from the lowermost model half level. The first implementation has been intensively inspected by Ines Cerencia based on SC-simulations and tower measurements and evidenced that the scheme is now also able to reproduce the strong decoupling of the homogeneous surface under strongly stable conditions, if minimal diffusion coefficients can be reduced accordingly. The second implementation needs some more inspection.

Issue 2: Already included in the common TURBDIFF version. Not all measures are switched on operationally, even in ICON. A modified calculation of stability function is active, but the matrix conditioning seems to be dispensable. The new positive definete semi-implicit solution of the TKE-equation is not yet active. It promises to reduce some further security measures for stable stratification and will be tested in near future. A Ri-number dependent correction-factor for our minimal diffusion coefficients reduces their impact in the boundary layer and is already active in ICON.

Issue 3: Already included in the common TURBDIFF as far as the separated horizontal shear interaction is concerned. In contrast to COSMO this interaction term is already active in ICON and produces more turbulence along frontal zones throughout the whole troposphere. The near surface interaction with non-turbulent thermal circulations is now dependent on the standard deviation of SSO and reduces nocturnal SAT for flat terrain.

July. 2019: A new formulation of the circulation term is ready in a private development branch for ICON, which needs to be further tested and validated.

Issue 4: Implemented in the common TURBDIFF and active in ICON.

Issue 5: Already included in the common TURBDIFF version and runnin in ICON. In order to ease surface tiling, all input of the turbulence scheme from the transfer scheme schould be formulated in terms of fluxes in future. An according reformulation is planned for the next COSMO years.

Issue 6: Is implemented in the common TURBDIFF version and running in ICON (as far as the application in the transfer layer is concerned). It remains to substitue the grid scale saturation adjustment by the turbulent adjustment, providing a possibly important additional heat source that is not yet considered.

Issue 7: A generalized boundary layer approximation has been formulated and a related extension of the turbulence scheme has been developed. An implementation is planned for a medium time range.

Issue 8: A first working version of the elevated roughness layer (canopy) has been implemented into the previous (non-blocked) version of TERRA and the new (blocked) version of TURBDIFF. In this version, however, a full implicit thermal coupling between roughness-elements, soil and (particularly) a fractional snow-cover is not yet considered. With this prototype the presence of snow is still excluded. The canopy-extension has ability to simulate the mean diurnal cycle of T_2m and Td_2m for a clear-sky summer day almost perfectly.

Technical Issues

All implementations of official code are part of the common TURBDIFF. Thus the related notes in task "Implementing and extending the restructured ICON-version of TURBDIFF" apply here as well.

The prototypic canopy-extension is still present only in a test-version of COSMO!

Testing

All implementations are being tested with the new common TURBDIFF version. All those being operational active in ICON have already been verified there. Mainly the extended formulation of vertical profile functions (Issue 1) the new positive definite solution of the TKE equation (Issue 2) and the prototypic canopy extension (Issue 8) have been tested by SC simulations and 3D test cases only.

Documentation

A full documentation of the TKE-based transfer scheme has started as well as the preparation of publications.

1.04 2012-03-31 finish 2014-06-30 Turbulence: Implementing TKE-advection for TURBDIFF Blahak 5.01
Description

TKE-advection can be activated by choosing lprog_tke=.TRUE.. This is being working for years in the framework of the Runge-Kutta Core (l2tls=.TRUE.), if one of the alternative turbulence schemes are selected, which had been introduced mainly for LES purposes (itype_turb=5...8). In the course of a stepwise generalization of the standard Raschendorfer scheme (TURBDIFF, active for itype_turb=3) TKE-advection should be possible for this scheme as well. Thus this task can be regarded as a part of "Implementing 3D-extionsions for TURBDIFF". The implementation should be along the lines of tracer advection and thus be applicable for semi-Lagrangian advection, flux-form density based advection (Bott et al.) or the traditional formulation with divergence correction. Since the standard turbulence scheme employs a prognostic equation of the turbulent velocity scale q (square root of the turbulent stress tensor trace) and not of TKE (being half of the squared q), q is going to be advected, where it is TKE for the LES schemes. Both of them are contained in the array 'tke', which is defined on half levels. In case of the flux form advection, we do it without a separate density advection performed at half levels for the time being. In order not to apply the optional exponential time filter for q (controlled by the parameter 'tkesmot') not to the advection tendencies, an additional array for the advection tendencies of q is used.

We expect benefits mainly for higher horizontal resolution. Regarding to the forecast of eddy dissipation rate (EDR) for aviation some further benefit is possible, in particular if the additional scale interaction terms related to SSO wake production, separated horizontal shear eddies or convective currents are considered in the prognostic TKE equation.

Status

First implementation ready in a test code including also horizontal shear production and horizontal diffusion (applicable for the standard scheme). The test code is based on COSMO version 5.0 and has been tested to work formally correct. The modifications are going to get part of version 5.1 to be available for more rigorous testing for high resolution model runs within the whole WG3a community.

Technical Issues

The code modifications are along the coding standards and they have been inspected by M. Raschendorfer and J. Farstner. The implemented extensions are optional and allow for a more stringent selection of 3D-aspects for the standard turbulence scheme. Their operational benefit will be tested afterwards.

Testing

The extensions have been tested by U. Blahak. Technical correctness was confirmed by a simple idealized test. Meteorological tests have been performed for a single real test case (COSMO-DE) and for an idealized LES-like setup with a much smaller grid spacing. Longer experiments are needed for investigating possible positive impacts already with the currently operational model resolution, but not undertaken so far. All tests are documented in tkeadv.pdf.

Documentation

A draft documentation of the implementation and preliminary results are described in a LaTeX document: tkeadv.pdf

Longer experiments are needed for investigating possible positive impacts already with the currently operational model resolution, but not undertaken so far.

3.05 2012-01-01 finish 2014-01-01 Microphysics: Improved supercooled liquid water content A. Seifert / U. Blahak 5.01
Description

To improve the forecast of aircraft icing, it is helpful that the microphysics schemes have some predictive skills concerning the super-cooled liquid water content in mixed-phase clouds. Currently, this is drastically underestimated in the operational COSMO 1-moment schemes (at the same time overestimating ice and snow content), and model based super-cooled liquid cannot be used for predictive purposes.

The aim of this work is therefore to identify the cause(s) of the underestimation and, if possible, improve the situation, without degrading the precipitation forecasts.

A better prediction of supercooled liquid can also influence the cloud radiative feedback, because water droplets have very different optical properties compared to ice particles.

Status

The cause for underestimation of super-cooled liquid within the framework of the COSMO 1-moment schemes has been identified and it is a too efficient Bergeron-Findeisen-process. The reasons behind this are:

- Too aggressive ice initiation at comparatively warm temperatures T > -10 deg C: IN are a simple function of temperature, and too much IN are assumed at these temperatures

- Quite aggressive drop freezing, initiating even more ice.

- Too coarse vertical resolution in operational setups within cloud layers, therefore no ability to simulate the often observed super-cooled liquid water layers at the top of stratus clouds.

These problems could be mitigated by reducing the IN(T)-function at higher temperatures, by reducing the freezing probability function for droplets at higher temperatures, and by introducing the new parameterization of Richard Forbes (ECMWF) of super-cooled liquid layers at the top of stratus clouds.

Technical Issues

Methodology and code has been developed by F. Rieper (DWD) and is available in a test version.

The code has been cross-checked by Carmen Köhler and has been implemented in Version 5.01

Testing

The effects of the changes have been tested by approx. 20 case studies using COSMO-EU and observational data (retrievals of cloud phase and SLWC) from the Lindenberg cloud-net facility. All cases showed more or less improvement of SLWC in the model, some of them very clear. Overall, the changes were beneficial.

Month-long experiments (Jan. 2013, June 2013) have been conducted and showed somewhat positive impacts (reduction of RMS) in the winter period for pressure and temperature, and slight improvements of precipitation scores. The summer period (convective precipitation) behaved more or less neutral in COSMO-EU. Note that there have been no model changes in the convection parameterization! All in all, the long-term tests demonstrated that there are no negative side-effects on the operational COSMO-EU NWP at DWD, on the contrary, there is an improvement especially in winter time.

Documentation

The methodology and the results of the case studies and long-term tests have been presented at the COSMO General Meeting 2013. The presentation is available from Ulrich Blahak (DWD).

Model Documentation: has to be adapted.

External Documentation: the parameterization of Richard Forbes is documented in a journal paper.

The implementation and testing of the supercooled liquid water representation in COSMO-EU has been submitted by Felix Rieper and Uli Garsdorf (DWD).

1.03 2011-11-30 idea 2012-03-31 Turbulence: Smagorinsky LES turbulence parameterization N/A N/A
Description

This work package would allow to introduce this standard parameterization as a further optional turbulence scheme for very high resolution LES-type runs (dx < 1 km), for research and development purposes.

Implemented by Wolfgang Langhans at ETHZ could be made available to COSMO.

Features: Full implementation of all metrical terms, which is an improvement over the already implemented Smagorinsky-type LES from Hans Herzog (itype_turb=7 or 8).

Documentation: this parameterization will be described in the next COSMO News Letter; could serve as a basis for the COSMO Latex documentation.

Technical Issues

4-eyes: will be done by Michael Baldauf

4.03 2011-10-31 finish 2012-01-31 Radiation: Zenith Angle Corrections Reinhardt (DWD/AGeoBw) 4.22
3.01 2011-08-31 work 2012-12-31 Modified saturation adjustment Blahak/Seifert N/A
Description

New saturation adjustment through isochoric processes instead of isobaric processes (with problems of mass conservation).

Implementation in 4.16 as a test version.

Technical Issues

For the pressure interpolation problem: use hydrostatically diagnosed pressure as the basis for interpolation. For the super-saturation problems: Change diagnosis of QVsat from the previous formulation to QVsat = E(T) / (rho*R_v*T)

Testing

Longer term tests revealed subtle problems in conjunction with strong super-saturation in the upper troposphere and technical problems with the interpolation of model variables to p-surfaces, because it can now happen that the pressure is no more strictly decreasing with height, but has some small increasing "kinks" due to the pressure diagnosis after saturation adjustment.

Solutions: known, but I had no time to implement them up to now.

3.02 2011-08-31 finish 2012-12-01 Microphysics: 2-Moment Scheme Seifert / Blahak 4.25
Description

Two-moment microphysical parameterization for mixed-phase clouds to improve the explicit representation of clouds and precipitation. The scheme predicts the evolution of mass as well as number densities of the five hydrometeor types cloud droplets, raindrops, cloud ice, snow and graupel.

The working implementation is based on a COSMO 4.20 test version.

Long term tests, presented at previous COSMO General Meetings, show a slightly positive overall impact and more positive impact on deep convective cells.

Status

Only the interfaces for the 2-moment microphysics have been implemented in COSMO Version 4.25. This facilitates the implementation of the code itself into a COSMO-Model version considerably. As this is only a technical change, only moderate tests have been necessary.

The interfaces have been implemented with ifdef TWOMOM_SB

Technical Issues

The code of the 2-moment microphysics is currently not according to the COSMO standards (more than 1 module per source code file; comments partly in German) and needs polishing. This is the reason why it has not been taken over to the official version at the moment.

For the interfaces, all requirements are fulfilled:

Coding Standards: are fulfilled

Technical Test Suite: not yet available, but functionality of code without 2-moment microphysics has not been touched.

4-eyes Assurance (only for interfaces): done by SCA Uli Schaettler.

Testing

The scheme has been developed now since several years and has been tested extensively. It has lately been presented to a workshop at ETH Zurich.

Further optimization to run on the SX9 machines has been done. On this machine the scheme runs faster by a factor of 4 - 5 compared to the previous code, and it is slower by "only" a factor of 4 compared to the standard graupel scheme. It needs about half the time of the dynamical core.

For non-vector machines, we would expect similar behaviour but this needs to be tested.

Documentation

There are already 5 published papers (peer review and conferences), more are in preparation.
COSMO documentation could be condensed from the Latex-sources of these papers, but does not exist at the moment.

3.03 2011-08-31 finish 2013-08-31 Microphysics: Melting Snow Seifert / Frick (DWD) N/A
Description

Melting of snow using explicit melt-water on snowflakes by Claudia Frick and Axel Seifert.

Still under development. The initial development has been successfully completed and an implementation of the scheme which works in a 3D real case COSMO simulation is available. During the next months the scheme is going to be tested, evaluated and maybe some calibration of parameters will be done based on the case studies (aka tuning). Some journal papers on the new scheme is currently being written, and will hopefully be submitted within this year.

3.04 2011-08-31 finish 2013-03-31 Microphysics: Cirrus clouds Seifert / Kahler N/A
Description

Improved cirrus cloud microphysics by Carmen Koehler and Axel Seifert.

The initial development has been successfully completed and an implementation of the scheme which works in a 3D real case COSMO simulation is available. During the next months the scheme is going to be tested, evaluated and maybe some calibration of parameters will be done based on the case studies (aka tuning). Some journal papers on the new scheme is currently being written, and will hopefully be submitted within this year.

Is being tested in a unified COSMO-ICON version.

Technical Issues
1.02 2011-08-31 idea N/A Turbulence: Clean up namelist switches Raschendorfer N/A
Description

Clean up the different options: itype_turb, lturb, imode_turb

Remove unused options, e.g. lexpcor, lprfcor, tmpcor

Work started to re-structure the organization of turbulence because of unified COSMO-ICON physics package (cf. "Implementing and extending the restructured ICON-version of TURBDIFF").

4.02 2011-05-31 finish 2012-09-01 Changes in parameterization for ice cloud cover in radiation Seifert 4.23
Description

The code in src_radiation to reduce the cloud cover of ice clouds in the upper troposphere has been modified:

  • The branch for k <= klv500 has been eliminated. It is also not used in the GME and can lead to spurious artifacts. It does not make sense here.
  • The empirical relation has been re-tuned using data from the Lindenberg cloud radar. Now the model can really achieve 100% cloud cover for cirrus clouds. Before the maximal cloud cover has been at about 80%, which is not realistic.
Status

Code has been tested in 2011 by Axel Seifert in private experiments with neutral / good results. The modifications have been implemented in Version 4.23.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: not yet available

4-eyes Assurance: has been reviewed by Uli Blahak

Testing

Longer experiments have been conducted at DWD with neutral verification results.

Documentation

The problems and the code changes have been discussed in a (draft) paper.

The implementation has been documented in the Release Notes.

No changes of documentation necessary.

4.01 2011-01-01 work 2013-12-01 Improved cloud radiation coupling Blahak / Ritter N/A
Description

- Optical properties of hydrometeors depending on their effective radius

- Including snow, graupel and rain in the radiative calculations

- Effective factor to consider subgrid scale variability within clouds

- Radiative properties of SGS clouds

- Improved consideration of aerosols for radiation and microphysics

Status

Consolidated test version implemented in COSMO 4.22

Continued in PP T2(RC)2.

Testing

A number of new namelist parameters have to be investigated by extensive sensitivity studies based on 4 real cases (COSMO-DE).

If possible, the number of new namelist parameters has to be reduced to the absolutely necessary minimum. This work is under way.

Lots of tests are performed within PP T2(RC)2 by use of data at the observatories at Moskow State University and Lindenberg.

WG3b
1.12 2014-09-01 finish N/A Improved representation of the surface temperature including the effects of vegetation J.P. Schulz (DWD) N/A

Land surface processes have a significant impact on near-surface
atmospheric phenomena. They determine, among others, near-surface
sensible and latent heat fluxes and the radiation budget, and thus
influence atmosphere and land characteristics, such as temperature and
humidity, the structure of the planetary boundary layer, and even cloud
formation processes. It is therefore important to simulate the land
surface processes in atmospheric models as realistically as possible.

Verifications have shown that the amplitude of the diurnal cycle of the
surface temperature simulated by the land surface scheme TERRA of the
COSMO atmospheric model is systematically underestimated. In contrast,
the diurnal cycles of the temperatures in the soil are overestimated,
instead. This means that the other components of the surface energy
balance are biased as well, for instance, the surface turbulent heat
fluxes or the ground heat flux.

Data from the Meteorological Observatory Lindenberg of the German
Meteorological Service were used to analyse this model behaviour. In the
standard model configuration of TERRA, there is no representation of the
vegetation in the surface energy balance. This means, there is no energy
budget including a temperature for the vegetation layer. Furthermore,
the insulating effects by the vegetation at the sub-canopy level are
missing as well. In this work, a scheme providing both of these missing
model characteristics was implemented in TERRA. As a result, the
simulated diurnal amplitude of the surface temperature is increased and
the one of the soil temperature is reduced, leading to better agreements
with the measurements. These improvements are found in TERRA in offline
mode, using Lindenberg observations, as well as in coupled mode in the
atmospheric model.

The new scheme was implemented in TERRA offline and also in ICON-TERRA.
It is running successfully. With the transfer of ICON-TERRA into the
COSMO model it can also be made available there.

See also here.

Not yet done

The new scheme was tested in TERRA in offline mode, using Lindenberg
observations, as well as in coupled mode in the ICON atmospheric model.
The simulated diurnal amplitude of the surface temperature is increased
and the one of the soil temperature is reduced, leading to better
agreements with the measurements.

Schulz, J.-P. and G. Vogel, 2017: An improved representation of the land surface temperature including the effects of vegetation in the COSMO model. Geophysical Research Abstracts, 19, EGU2017-7896.

Viterbo, P., and A. C. M. Beljaars, 1995: An improved land surface parameterization scheme in the ECMWF model and its validation. J.

Climate, 8, 2716–2748.

1.08 2013-01-01 finish 2015-12-31 Revision of transpiration and root parameterization G.Vogel (DWD) N/A

Goal:

For the sake of consistency, the parameterization of root characteristics (vertical root profile, rooting depth) should also be updated if satellite-based LAI and plant cover values are used in the NWP models. In particular, a more realistic model approach of the annual cycle of the water uptake processes by the roots is needed. The widely used parameterization introduced by Arora and Boer (2003) seems appropriate for this task. However, some adaptation work is needed for extending the current formulation of the transpiration calculation in the present TERRA model. Moreover, sensitivity studies will be made for testing its reliability under various soil and vegetation conditions.

Description:

In order to improve the vegetation impact on the energy and water transfer between surface and atmosphere, the annual cycles of the vegetation properties such as the LAI, the plant cover and the rooting depth should be carefully considered. According to offline evaporation studies with the TERRA module for the Falkenberg field site (DWD, MO Lindenberg) the rooting depth turned out to be the predominant quantity.

Since many years simple relationships are used in the current weather prediction models which prescribe the vegetation yearly cycles in a fairly artificial but consistent manner. But, if the parameterised LAI and plant cover are replaced by climatologic SEAWIFS-based values (e.g. in the operational GME predictions), the treatment of the rooting depth should not remain unchanged; an inconsistent use of the SEAWIFS data ignores completely the close allometric relationships between leaf and root biomass.

To also improve the root parameterisation it is proposed to adapt an approach by Arora and Boer (2003). It enables to describe the evolving root density profile, the cumulative root fraction and the rooting depth as a function of the varying root biomass. The needed root biomass is available from the literature for the relevant vegetation kinds. An appropriate scaling of the root biomass with the already used SEAWIFS-based NDVI-index provides then a maximum consistency between all vegetation properties.

Tasks:

> Conceptual studies for adapting the current transpiration scheme to the root parameterization proposed by Arora and Boer (2003)

> Refinement of a coupling scheme of rooting profiles with satellite-based/parameterized LAI values

> Tentative implementation of the modifications into the offline TERRA code (based on COSMO release 4.11) and evaluation with offline runs

> Documentation of the modified parameterizations of rooting depth and transpiration

Resources:

Work done in collaboration with JP. Schulz (Uni Frankfurt).

Status presented at the COSMO GM in Sibiu, 09.2013:

- The root parameterization should only be improved in the COSMO models together with the soil heat conduction and if the shading effect of the vegetation is considered.

- A time-constant exponential root profile is sufficient in order to simulate the soil moisture development in the annual cycle.

- At present, the root parameterisation by Arora and Boer (2003) fits the annual soil moisture cycle at best. Moreover, it is open for future develop-ments.

Preliminary study has been done and shown at the COSMO GM 2012 (see consortium/generalMeetings/general2012/wg3a-wg3b-utcs.htm).

1.11 2012-12-01 finish 2015-08-31 Revision of TERRA to support HWSD data J.Helmert (DWD) 5.05

The COSMO model uses operationally soil type data from the FAO Digital Soil Map of the World (DSMW) with a rather coarse resolution of 5 arc minutes compared to other external parameters (e.g., land use, orography). With the advent of the Harmonized World Soil Database (HWSD), a new global data set is available that provides a resolution of about 1 km (30 arc seconds by 30 arc seconds) and allows characterization of selected soil parameters (e.g., organic carbon, water storage capacity, soil depth, textural class and granulometry) [1]. Using recent database extensions in COSMO-CLM [2], the aim of the task is to use the HWSD in the EXTPAR system and adapt the soil model TERRA for the use of the high-resolution soil types. The benefit for the COSMO model is the advanced consideration of surface heterogeneities that can be used in future versions of TERRA.

The implementation in the COSMO model uses pedotransfer functions to translate the fractions of sand, silt, clay and bulk density in physical properties used by TERRA. In the current implementation, only the shallow soil layer (0-30cm) is considered. This behaviour is controlled by the new namelist switch itype_soil (itype_soil=2).

[1] http://www.iiasa.ac.at/Research/LUC/External-World-soil-database/HWSD_Documentation.pdf
[2] Smiatek, G. et al.,Time invariant input parameter processing for applications in the COSMO-CLM Model., http://bibliothek.fzk.de/zb/veroeff/75885.pdf

The HWSD data are ready to be used as TERRA soil types. They are already used in the ART scheme for dust emission.

3.02 2012-10-01 finish N/A Veg3D Coupled with OASIS [CLM] M. Breil (KIT) N/A

VEG3D coupled via OASIS3-MCT to COSMO_4.8_CLM19 and COSMO_4.21_clm2.

Implemented and in testing phase

1.05 2012-09-10 work 2015-08-31 Revision of rainfall interception J.Helmert (DWD) N/A

Work done in collaboration with G.Vogel (DWD)

The interception of rain water plays an important role in simulating soil moisture and evapo-transpiration, in particular in case of high vegetation. The following actions are planned:

  1. Transfer the current interception parameterisation from the GME soil module into TERRA
  2. Offline TERRA runs for the Kehrigk field site (Lindenberg Meteorological Observatory, DWD)
  3. Technical tests of the interception approach in the framework of the SCLM
  4. Experimental run with the COSMO-EU will be performed; site validation studies as well as areal verification to evaluate the effect of the interception on the 2m temperature.

Offline tests have shown encouraging results.

Some improvements from SURFEX have been implemented in ICON-TERRA, but snow interception is still missing and complicated.

Offline tests have shown encouraging results.

1.03 2012-03-01 stop N/A Tile approach to support partial snow cover E.Machulskaya (DWD) N/A

See task 1.04.

The experiments with snow as a tile have shown that the overall scores of the model are not definitively better; in the regions with partial snow cover the 2m temperature is predicted more accurately, but in general the winter temperature became lower, which is not what we would like to have.

Recently there was a discussion at the NWP Working Group at DWD concerning exactly the problem that the tile approach is designed to improve: this March 2013, in the regions with partial snow cover, there was a noticeable underestimation of the 2m temperature. This period will be re-computed with the tile approach, and if the results are positive, a decision could be taken to transfer these developments in the official code.

This development is available in the ICON model only. It will be available to COSMO with the shared COSMO / ICON physics library; however, no time line exists yet for this particular feature (it requires substantial modifications of the interface in the COSMO code).

A partial implentation of the tile approach with two tiles for snow-covered and snow-free regions is implemented and being tested.

2.07 2012-01-01 work 2015-10-31 Parameterization of urban effects [CLM] H. Wouters (KU Leuven) 6.00

Based on in-depth urban climate modeling research

  • De Ridder, Geophys. Res. Lett., 2006
  • Demuzere et al., J. Geophys. Res., 2008
  • Wouters et al., Boundary-Layer Meteorol., 2012
  • De Ridder et al., J. Geophys. Res., 2012

Urban upgrade of TERRA-ML to TERRA-URB

  • Urban land-use class with specific surface parameters (De Ridder et al. 2012; Demuzere et al. 2008) for albedo, emissivity, conductivity, heat capacity. Implicitly accounts for urban morphology
  • New surface-layer transfer coefficients (Wouters et al., 2012) as a replacement for the Louis-type functions (itype_tran = 1)
  • Brutsaert/Kanda Bluff-rough thermal roughness parametrization
  • Anthropogenic heat (Flanner 2009)
  • Impervious Surface water Interception Distribution (SID) for evaporation

Integration of TERRA-URB in COSMO

  • Urban fraction determined from EEA soil-sealing database (250m res.)
  • Annual-averaged anthropogenic heat from Flanner 2009
  • Tile approach

'Offline' evaluations were performed for urban sites of Marseille, Toulouse and Basel

COSMO-CLM/TERRA 'Online' evaluation for Flanders, Belgium

  • a direct representation of urban tiles in TERRA has been successfully implemented and tested by H.Wouters / KU Leuven;
  • additional CPU cost is negligible and only two additional external parameters are required.

An action has started to incorporate this development in the official COSMO code (coordination U.Blahak)

Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code
  • external product documentation: scientific documentation, User Guide and (possibly) implementation documentation
  • process documentation: documentation of the chages to the existing software for inclusion to the version history and the changes log-file.

The TERRA-URB scheme and its effects are documented in the following paper currently under review for GMD:

Wouters, H., Demuzere, M., Blahak, U., Fortuniak, K., Maiheu, B., Camps, J., Tielemans, D., and van Lipzig, N. P. M.: Efficient urban canopy parametrization for atmospheric modelling: description and application with the COSMO-CLM model (version 5.0_clm6) for a Belgian Summer, Geosci. Model Dev. Discuss., doi:10.5194/gmd-2016-58, minor revisions, 2016.

4.02 2011-10-01 finish 2013-12-31 Community Land Model coupled with OASIS [CLM] E. Davin (ETHZ) N/A

Community Land Model version 3.5 (CLM3.5) and version 4.0 (CLM4.0) coupled via OASIS3-MCT to COSMO4.8-CLM19.

Implemented and in testing phase.

1.02 2011-09-30 stop N/A Multi-layers snow model J.Helmert (DWD) N/A

The multi-layer snow model differs mainly in two points from the current one-layer snow model. These are, 1) an arbitrary number of layers in snow instead of one bulk layer and 2) the possibility of water phase changes, existence of liquid water content, water percolation and refreezing within snowpack. The explicit vertical stratification (multi-layer structure) of various properties of snow (temperature, density etc.) allows a more correct representation of the temperature at the soil-snow and snow-atmosphere interface which is important for calculation of snow melting rate and surface turbulent fluxes. The accounting for liquid water and water phase changes within snowpack allows a more accurate calculation of the evolution of the snow properties, in particular, snow water-equivalent depth and snow density, which in turn determines snow heat conductivity.

A first reasonably stable implementation is available in COSMO 4.25 version; however, this implementation has still some problems (see below).

Two small bugs were found during February 2012, which however did not affect the results (could be seen in the ICON model only so far); one more numerical stability issue has been corrected in September 2012. Additionally, one security check was added in January 2012 in order to eliminate the consequences of grib-degrib procedures that lead to the loosing of accuracy, internal inconsistency of values and finally to the crash of the model.

One additional bug fix has been given to COSMO SCA for inclusion in a future release (in the case of partial snow cover, latent heat flux due to rain freezing was added not only to the snow surface heat balance, but to the heat balance of free of snow surface too. However, if soil temperature is above freezing point, this flux is zero over snow-free soil because rain is not freezingin this case – in some situations this can be important).

The multi-layer snow model has been tested within the 3d COSMO model at DWD including the full assimilation cycle. As expected, the explicit representation of the vertical profile of temperature within snowpack leads to the decreasing of the snow surface temperature at least during nights which is detremental for current COSMO model scores. Furthermore, the presence of liquid water leads to slower melting of snow, and, as a result, to the lower surface temperatures in general. It increases the cold temperature bias during the winter, although the snow height itself is modeled better. The origin of the cold bias and the possibilities to reduce it have been investigated.

[Juergen H., 23.01.2017] The scheme will be considered with high priority in the next weeks

A parallel experiment is running at DWD with all bugs corrected. The new snow model seems to maintain more snow as compared to the current snow model; further analysis of the results is needed.

1.01 2011-09-01 finish 2017-09-01 Mire parametrization I.Rozinkina (RHM) 5.06

Mires (organic soil) are extremely moist landscapes, which occupy relatively large areas in Scandinavia, North-West of European Russia and Siberia. Due to their unique physical and hydrological properties mires as well as lakes (Mironov et al., Boreal Environment Research, 2009) deserve a specific description in land surface schemes. The goal of this task is to incorporate a mire parameterization into the TERRA land surface scheme. It is planned to investigate the influence of mire parameterization on the components of the heat and water balance simulated by TERRA and compare them with available observations.

  1. Database on mire distribution is compiled from the various sources (national soil inventories, satellite products) for the COSMO-EU and COSMO"€˜RU domain. The database is prepared at 1km resolution in a binary format. Simple rules are used to modified the existing raw database of soil textures (FAO based); the resulting data set can be processed by EXTPAR in the usual way.
  2. Dependencies of peat thermal conductivity on soil water (ice) content is included. To achieve this task Russian thermal conductivity database compiled for building industry was analyzed. Specifically, thermal conductivity for peat with different water content was used to parameterize Johansen equation used in TERRA. First, existing parameterization of TERRA was tested, but the match between the results and observations was poor. Then, parameters of Johansen equation proposed for peat in Lawrence and Slater (2007) were used, except for Kersten number. The latter was derived based on observations solving the inverse problem. The resulting equation for Kersten number as a function of water content has greatly improved the thermal conductivity parameterization. Similar work was done for frozen peat thermal conductivity.
  3. As Hydrology option one: Mixed Mire Water and Heat model (MMWH, Granberg et al., 1999) will be adopted to simulate the water table position, evapotranspiration, and runoff from mires within the TERRA land surface scheme. As Hydrology option two: exchange with ground water at the low boundary of the mire active layer will be prescribed in the solution of Richard"„¢s equation in TERRA (standard version) following F. Ament. The two hydrology options will be compared.
  4. Mire parameterization are verified using data from the existing observation sites (Derego mire, Sweden, Samun-Luo, Russia). Verified variables are: water table depth, peat temperature at various depths, surface sensible heat flux, and latent heat flux.

Features of the mire hydrological and thermal regime have been introduced in the TERRA code and are being tested in production at RHM over Wester Siberia.

There is now a final ICON branch for the Mire scheme that could in principle used also for COSMO.

Final test will be made at DWD.

Juergen Helmert has seen the code.

Those modifications were tested with the single column model and the overall performance is reasonable and matches the observation.

A verification of the 3D COSMO version on the basis of SYNOP stations in Siberia and North European Russia where mires are numerous has been done.

These modifications are now tested in the production model at RHM.

A paper has been submitted to a special issue of 'Water Resources Research', this will be used for the scientific documentation of the model

Input for the COSMO User Guide will be prepared by Inna

4.01 2009-01-01 finish N/A Community Land Model coupled as subroutine [CLM] E. Davin (ETHZ) N/A

Community Land Model version 3.5 (CLM3.5) coupled to COSMO4.0 and COSMO4.8-CLM11

References:

Davin, E. L., R. Stoeckli, E. B. Jaeger, S. Levis and S.I. Seneviratne (2011), COSMO-CLM2: A new version of the COSMO-CLM model coupled to the Community Land Model, Clim. Dyn., 37, 9, 1889-1907, doi: 10.1007/s00382-011-1019-z.
Davin, E.L. and S.I. Seneviratne (2012), Role of land surface processes and diffuse/direct radiation partitioning in simulating the European climate, Biogeosciences, 9, 1695-1707, doi:10.5194/bg-9-1695-2012.
Lorenz, R., E.L. Davin and S.I. Seneviratne (2012), Modeling land-climate coupling in Europe: Impact of land surface representation on climate variability and extremes, J. Geophys. Res., 117, D20109, doi:10.1029/2012JD017755.

Implemented and evaluated.
N/A 2015-06-01 finish 2015-12-01 DFI: Better treatment of clouds / precipitation Lucio Torrisi 5.04
Description

The subroutine dfi_initializations.f90 has been modified to have a better treatment of clouds / precipitation during the diabatic DFI step. Filtering the qx-variables tends to smooth the structure of the initial state clouds. To mitigate this problem, two new namelist parameter have been introduced (working with the option ndfi=1):

  • itype_dfi_qx: treatment of qx-variables in DFI (active only for ndfi=1)
    • =0: all qx-variables are filtered in the forward stage (default)
    • =1: qv is filtered, other variables are initialized with instantaneous values valid at nhalf step of forward stage
    • =2: qv is filtered but corrected to maintain saturated points at nalf step of forward stage, other variables are initialized with instantaneous values valid at nhalf step of forward stage

For consistency with clouds / precipitation treatment also another namelist variable has been introduced:

  • itype_dfi_soil: treatment of soil variables in DFI (active only for ndfi=1)
    • =0: all soil variables are derived from the average of values at the initial and final step of forward stage (default)
    • =1: all soil variables are initialized with instantaneous values valid at nhalf step of forward stage

If the default values are used, the results will not be changed.

The recommended settings that were tested (results shown at COSMO-GM 2015) are:

  • itype_dfi_qx = 2
  • itype_dfi_soil = 1
Technical Issues

Code has been modified and tested in Version 5.01

Technical Issues

Coding Standards: fulfilled

Technical Test Suite:

4-eyes Assurance: will be checked by the SCA

Testing

Presentation from GM 2015

N/A 2015-03-01 finish 2015-07-31 Consolidation of GRIB2 and usage at other centers Darte Liermann, Ulrich 5.03
Description

With the earlier implementation of grib_api (use of local shortname concept, local use sections) it was not possible for centers /= DWD (WMO Code 78) to use GRIB2.

Modifications have been implemented therefore, which now allow all centers to run with grib_api (in io_metadata.f90):

  • remove local section before changing the center and set it again afterwards
  • set localInformationNumber in local section also for other centers
  • use key "backgroundProcess" instead of backgroundGeneratingProcessIdentifier

Also there have been changes to the grib2 definition files that have to be used together with grib_api. These changes are first implemented for the DWD definition files (definitions.edzw) of grib_api-1.13.1.

Some of these definition files are especially written for center=78 (DWD), e.g. local.78.def or grib2LocalSectionNumber.78.table. For other centers we provide a script, which creates links with the centers WMO number to the DWD files, e.g. for the center COSMO=250:

grib2LocalSectionNumber.250.table -> grib2LocalSectionNumber.78.table

local.250.def -> local.78.def

In this way all centers can use INT2LM (and COSMO-Model) together with grib_api and the DWD definition files.

Technical Issues

The modifications have been implemented in a pre-release of version 5.03, which has been given to MeteoSwiss for testing. This pre-release version has to work with grib_api-1.13.1 and the corresponding definition- and sample-files.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: runs every day now by Mr. Jenkins at MCH for a GRIB2 MCH case.

4-eyes Assurance: implemented by D. Liermann, checked by U. Schättler

Testing

MeteoSwiss made tests with INT2LM and the COSMO-Model. Other centers can now also test with this version.

Documentation

A special COSMO Web Page for documenting GRIB2 and its implementation in INT2LM and the COSMO-Model is (still) under development.

N/A 2013-12-05 finish 2014-02-05 Online Trajectory Module Annette Miltenberger (ETH) et 5.01
Description

A module to calculate online trajectories has been implemented into the nonhydrostatic limited-area weather prediction and climate model COSMO. Whereas offline trajectories are calculated with wind fields from model output, which is typically available every one to six hours, online trajectories use the simulated resolved wind field at every model time step (typically less than a minute) to solve the trajectory equation. As a consequence, online trajectories much better capture the short-term temporal fluctuations of the wind field, which is particularly important for mesoscale flows near topography and convective clouds, and they do not suffer from temporal interpolation errors between model output times.

Status

21. November:

the WG6 coordinator has been informed about the ongoing activity

28. November:

the proposed activity has been accepted by TAG

11. December:

presentation to SMC

Technical Issues
  • The COSMO standards are respected
  • This development is a simple diagnostic tool and doesn"„¢t affect the prognostic equations of the model. The code passes the MeteoSwiss technical test suite
  • The code has been developed by Annette Miltenberger and colleagues. Anne Roches reviewed the code in details. She also has rewritten some parts to ensure "COSMO quality level". These parts have been re-examined by Annette Miltenberger and Stephan Pfahl
  • Stephan Pfahl, senior scientist at ETH in the Atmospheric Dynamics group and co-author of Miltenberger et al. (2013), will be the responsible person
Testing

As a first application of the new COSMO-model module, an Alpine north foehn event in summer 1987 has been simulated with horizontal resolutions of 2.2, 7 and 14 km.

Documentation
N/A 2013-11-11 finish 2013-12-20 GRIB2 and general vertical coordinates U. Schaettler 5.01
Description

INT2LM 2.0 and COSMO-Model 5.0 are now able to read and write model data with the GRIB2 format using the ECMWF grib_api.

Another change we plan when going to GRIB2, is the introduction of the new general vertical coordinate. This brings some changes in the way we run our operational models:

  • Instead of exchanging vertical coordinate (and reference atmosphere) between programs by using GRIB meta data, a 3D field has to be used by all programs. This field contains the information about the height of the model levels and we call it the HHL-field (height of half levels). This field could be considered as external parameter, but it changes, when the number of levels or their position in space is changed. It also changes, when the underlying orographie is changed.
  • The vertical coordinate parameters, which are necessary to compute the HHL field, are now available only in the INT2LM (which generates the HHL field), but not in the COSMO-Model or in postprocessing programs. But still these programs rely on the knowledge of these parameters.
  • Dealing with the "exchange" of the HHL field using an extra file is cumbersome in an operational production environment. And if also archiving of data is used, it is even more difficult to keep track of which HHL-field was used at which time.
  • In GRIB1, also the reference atmosphere parameters were coded as "vertical coordinate parameters" in the grid description section. In this way, every program reading these "vertical coordinate parameters" could compute the reference atmosphere (mainly the 3D field p0). In this way we only needed to exchange the pressure deviation (PP) between INT2LM and the COSMO-Model or within a COSMO Nudging cyle. Because of the grib packing (in GRIB1 we used a packing to 16 bits) and the corresponding precision loss, it was better to exchange this field than exchanging the whole pressure. But these reference atmosphere parameters are not available any more.

There are now some ideas how these problems can be handled. These ideas were discussed within WG 6:

  • About the usage of vertical coordinate parameters:
    After discussing the usage of the vertical coordinate parameters, it seems to be possible to remove them from the COSMO-Model (and also from other programs which still use them). It really seems to be that their usage up to now is not correct. Especially when they are used for example to define the index k of the layer which is in about 850 hPa. Because this would be related to height above sea level. But the index k is also used above the mountains. So these things really have to be replaced by using the height information in hhl.
  • About the usage of reference atmosphere parameters:
    The computation of the reference atmosphere p0 is necessary, if we transfer only the pressure deviation between programs (e.g. from INT2LM to COSMO-model or within the data assimilation cycle). This can be avoided, if we would transfer the full pressure. This has not been done up to now, because of the grib-packing to 16 bits. For the full pressure this is not enough precision. But if we would pack the full pressure to 24 bits, this would be ok. This is now used between ICON model and the corresponding data assimilation without problems. So our suggestion here would be to replace the pressure deviation in all cases by full pressure, but packed with 24 bits at least between INT2LM and COSMO and within the COSMO data assimilation. COSMO forecast outputs still could be packed to 16 bits. Of course the COSMO-Model still would need to compute the reference pressure, because it works with the prognostic variable pressure deviation. For that we have to implement new Namelist parameters to specify the reference parameters also in the COSMO-model (as is done in INT2LM). Please note that also in INT2LM we have to use a reference atmosphere, because we only want to do interpolations on the pressure deviation. But it is not necessary to have the same reference atmosphere in INT2LM and in the COSMO-Model, when transferring the full pressure. Also other postprocessing programs could construct a reference pressure "of their own", if necessary.
  • About the usage of HHL:
    With the new general vertical coordinate it is necessary to transfer the HHL field between the programs (INT2LM => COSMO, within COSMO assimilation, COSMO => postprocessing), because this cannot be done any more, when the vertical coordinate parameters are no more available. The possibility to do this is implemented in INT2LM 2.0 and COSMO-Model 5.0. The 3D HHL field can be stored (and read) from an external GRIB file, even in full (64 bit) precision right now. For operational productions it is a challenge to take care of different HHL fields, if you (for example) modify the horizontal or vertical grid or the underlying orography of an application. And with all the licence takers there are very many of different applications now. Therefore there is a wish for a more easy way of handling that. Here we are considering the following solution (as an alternative to external HHL files): The HHL file can also be written to the laf-files to be transferred between INT2LM and COSMO-Model and within the data assimilation cycle. It is already written to the constant file lfff00000000c for every forecast. But in order to let the data amount not grow to infinity, it must be packed. Again, a packing rate of 24 bits would be enough, while 16 bits would be too low. In this way the size of the laf-files would be larger, but the handling of operational forecast chains would be easier.

This is something we will implement and test here at DWD during November / December

Status of the work

08. November:

  • INT2LM 2.0 and COSMO-Model 5.0 have been implemented but the possibility to use GRIB2 with the new general vertical coordinate is very difficult to use.

15. November:

  • The issues have been discussed within WG 6 and some ideas were formulated to implement a better approach (see Description)
  • Work has started to implement and test these ideas
  • Tests should be finished during December 2013

06. December:

  • The vertical coordinate parameters have been eliminated from the dynamics and the diagnostics
  • An alternative has been implemented to determine the levels klv950, klv800, etc. (index of the level near the 950 hPa, 800 hPa, etc)
  • Work on the assimilation and the physics (radiation, convection) is still ongoing
  • At DWD, the decision has been taken to introduce GRIB2 only after the migration to the new computing system, somewhen in early Summer 2014. Therefore work on the GRIB2 issues will be delayed to next year.

14. April 2014:

  • INT2LM and the COSMO-Model have been adapted to exchange the HHL-field with the laf-files and the full pressure P with the lbff-files in a higher precision. Also the usage of the vertical coordinate parameters has been re-visited. The "real" vertical coordinate parameters are now passed in GRIB2 using the "typeOfSecondFixedSurface" scaledValue and scaleFactor meta data. The modified code will be put to the parallel production suite at DWD early May.
  • The new versions are still special DWD versions: INT2LM 2.0.2 and COSMO-Model 5.0.2
  • Most of the work still has to be documented.

12. May 2014

  • The new versions of INT2LM and the COSMO-Model are running in the parallel production suite of DWD using GRIB2
  • These new versions are running in a pre-operational suite of DWD on the new computer system of Cray still using GRIB1. They will run operational, when the new computer system goes "into production" (end of May).
Technical Issues

Coding Standards: Coding standards are fulfilled

Technical Test Suite: the new versions passed technical tests.

4-eyes Assurance: The changes have been implemented by Uli Schaettler and have been cross-checked by DWD colleagues also involved in grib_api and GRIB2 implementation (Helmut Frank, et al.)

Testing

The new (DWD special) versions INT2LM 2.0.2 and COSMO-Model 5.0.2 are running in the parallel production suites. Verification results will be available end of May / beginning of June.

There were 2 different parallel runs, where DWD special versions (COSMO-Model 5.0.1.1, 5.0.2.1 and INT2LM 2.0.1.1, 2.0.2.1) were tested. These versions contain the changes necessary for working with grib_api using GRIB1 and / or GRIB2.

  1. Parallel run from 06.02.2014 - 05.03.2014:
    • Operational: COSMO-Model 5.0 and INT2LM 2.0 running with DWDLIB, input and output in GRIB1
    • Parallel Suite: COSMO-Model 5.0.1.1 and INT2LM 2.0.1.1 (DWD special versions) running with grib_api, input and output in GRIB1

The following pictures show the COSI Index for forecast days 1, 2 and 3: It can be seen that the two different runs are nearly identical. The differences that occur are due to different start times (and different cut-off times) for the operational and the parallel suite at DWD.

  1. Parallel run from 06.06.2014 - 11.06.2014:
    • Operational: COSMO-Model 5.0.2.1 and INT2LM 2.0.2.1 (DWD special versions) running with grib_api, input and output in GRIB1
    • Parallel Suite: COSMO-Model 5.0.2.1 and INT2LM 2.0.2.1 (DWD special versions) running with grib_api, input and output in GRIB2

Again, the COSI index for forecast days 1, 2 and 3 is shown and it can be seen that there is no significant difference.

Documentation

A special web page for the COSMO Web is under construction. It will be extended in the next weeks.

N/A 2013-02-10 work 2100-12-01 Unified interface for OASIS3/OASIS3-MCT (land, ocean, GCM couplings) [CLM] J. Brauch (DWD) N/A
Description

A unified interface for the OASIS3/OASIS3-MCT coupler needs to be implemented to allow couplings with multiple components (land, ocean, GCM...). OASIS-MCT coupler is the new parallelised coupler supporting 3D field exchange.

0.09 2012-09-10 finish 2014-09-10 GPU Version of COSMO PP POMPA participants 5.06
0.11 2012-01-31 finish 2012-09-01 Additional values in (long) meteograph output Reinhardt (DWD) 4.23
Description

Additional values, which are calculated in the radiation, should be written to the (long) meteograph output to enhance the diagnostic output of the model.

This will change the format of the long meteograph output, therefore all users have to be informed before.

The new values are:

  • SWDIR_S: direct component of solar radiative flux at surface
  • SWDIFD_S: diffuse downward component of short wave radiative flux
  • SWDIFU_S: diffuse upward component of short wave radiative flux
  • SNOW_MELT: snow melt amount
Status

The modifications have been implemented in Version 4.23 and could be tested by everybody. No complaints up to now.

Technical Issues

Coding Standards: fulfilled. This is a pure technical change. It is only necessary to check the functionality.

Technical Test Suite: not yet available; Functionality tested with DWD COSMO-EU and COSMO-DE setup.

4-eyes assurance: done by the Source Code Administrator (Uli Schaettler).

Testing

Only functionality tests are needed.

Documentation

There was no need to update the User Guide, because the additional soil and surface variables are not explained in detail.

0.12 2012-01-31 finish 2012-09-01 Smoothing of fields on p-/z-levels Uli Blahak 4.23
Description

At the moment it is only possible to smooth all fields in the output list for p- or z-levels, or none of them. Because some of the output fields should not be smoothed (e.g. W), the smoothing should only be done for the fields, that need it (e.g. PMSL)

Up to now, the following means were available to smooth special fields:

  • l_p_filter = .TRUE.: smooth all fields that are written on p-levels
  • l_z_filter = .TRUE.: smooth all fields that are written on z-levels and also smooth PMSL, PMSL_ANAI
  • l_fi_ps_smooth = .TRUE.: special smoothing of PMSL and FI in mountaineous terrain

First modification:
The switch l_fi_ps_smooth has been renamed to l_fi_pmsl_smooth, because not ps but pmsl is smoothed in that case.

The actions done are now:

Two new switches have been introduced in Namelist group /GRIBOUT/, to independently smooth FI and PMSL:

  • l_pmsl_filter: if .TRUE., PMSL is smoothed, independently from the setting of l_z_filter; Default: .TRUE.
  • l_fi_filter: if .TRUE., FI is smoothed, independently from the setting of l_[p/z]_filter; Default: .FALSE.

The actions of l_z_filter / l_p_filter are the same as before

Status

The modifications have been implemented in Version 4.23 and could be tested by everybody. No complaints up to now.

Technical Issues

Coding Standards: fulfilled. This is a pure technical change, but needs additional Namelist switches.

Technical Test Suite: not yet available; Functionality tested with DWD COSMO-EU and COSMO-DE setup

4-eyes assurance: done by the Source Code Administrator (Uli Schaettler)

Testing

Only functionality tests needed.

Documentation

The User Guide has been updated accordingly.

0.15 2012-01-15 finish 2012-09-01 Time measurement for long simulations: Problems with memory Uli Schaettler 4.23
Description

Problems have been reported with the memory usage, when running long simulations. The model crashes at the end of the forecast, when the timing informations from the processors are gathered for output. This is due to the fact, that all hours are gathered separately, so the amount of memory can be too big then.

Solution:

For itype_timing = 1/3: A loop over all hours has been implemented to gather values only from one hour and process them in PE 0

For itype_timing = 2/4: The sum over all hours is computed in the PEs and only the sums are gathered from the different PEs.

Status

The change has been implemented into Version 4.23 and could be tested by all COSMO Partners and the CLM Community. No complaints were raised.

Technical Issues

This is a pure technical change. The functionality has been tested with some standard runs.

Testing

Only check the functionality.

Documentation

No need to update existing documentations.

The change has been documented in the Release Notes.

N/A 2011-10-31 finish 2012-12-01 Asynchronous NetCDF I/O Strategy Carlos Osuna (C2SM, ETH) 4.25
Description

An asynchronous solution for output of Netcdf files will be implemented similar to the asynchronous Grib I/O. The focus will first be on Output. Depending on the available time and resources, also prefetching of input will be considered.

Status

A new module netcdf_io.f90 has been implemented in the source code of the COSMO-Model and existing modules (src_input.f90, src_output.f90, organize_data.f90) have been adapted to properly use that module. All changes have been implemented in Version 4.25. When I/O is done without asynchronous processors, nothing has been changed in the behaviour of the model. In that way, the new strategy can now be tested by the CLM community (or NetCDF users).

Technical Issues

Coding Standards: have been met

Technical Test Suite: the prototype suite at MeteoSuisse has been used to test the developments

4-eyes Assurance: The code has been reviewed and checked by the CLM Source Code Administrators.

Testing

Functionality tests have been performed. Now the users of the model should test with their configurations.

Documentation

A presentation on the implementation and results has been given at a COSMO User Workshop in January 2012.

0.13 2011-09-10 finish 2012-12-01 I/O Optimization with MPI_ALL2ALL Fuhrer (MCH) 4.25
Description

An additional method has been implemented for gathering the subdomains of a field from all other processors using MPI_ALLTOALL. A Namelist switch itype_gather has been implemented to choose the special method. Which method behaves might depend on the computer used.

Status

The modifications have been implemented in Version 4.25 and functionality has been tested successfully.

Technical Issues

Coding Standards: are fulfilled.

Technical Test Suite: The MeteoSwiss prototype of the technical test suite has been run successfully.

4-eyesAssurance: done by the Source Code Administrator (Uli Schaettler).

Testing

Functionality has been tested successfully.

Documentation

User Guide has been updated accordingly.

0.14 2011-09-10 finish 2012-09-01 Removal of (dead) code Schaettler, et al 4.23
Description

There are several parts in the model. which are not used and not maintained any more. These parts should be removed from the code. The following items could be removed soon:

  • old Runge-Kutta implementation in src_2timelevels.f90
  • Non-prognostic versions of microphysics (and switch lprogprec)
  • Kain-Fritsch convection scheme. This was never fully working
  • fast_waves: there are several internal switches that are of no interest any more and will be deleted
Status

The items listed above have been removed in Version 4.23.

Technical Issues

Not applicable; Just make sure that nobody is using that any more

Testing

Working configurations must not be touched. Up to now, nobody complaint.

Documentation

The User Guide has been updated accordingly.

0.16 2011-09-10 finish 2012-09-01 Use SST forecast from an ocean model as boundary condition Lucio Torrisi 4.23
Description

The usual procedure for numerical weather prediction for few days is

Usually in numerical weather prediction for few days, the Sea Surface Temperature (SST) is held constant over the ocean. Only in climate runs, it is updated as are all the other slowly varying external parameters (as leaf area index, root depth, etc.). But sometimes it is useful to have an updated SST without updating the other external parameters. Therefore a new logical switch is implemented in the group /IOCTL/, to update only the SST over the ocean during a NWP simulation.

Status
  • The new switch has been implemented and its functionality has been checked successfully.
  • With lbdsst=.FALSE., the results are not changed

The change has been implemented into Version 4.23 and could be tested by all COSMO Partners and the CLM Community. No complaints were raised.

Technical Issues

Coding Standards: fulfilled

Technical Test Suite: not yet available, but some standard tests have been conducted without problems

4-eyes Assurance: done by Uli Schaettler

Testing

No changes of results. Only some functionality tests are necessary.

Documentation

User Guide has been updated.

0.04 2011-09-10 finish 2012-12-01 Implementation of a tracer module Roches / Fuhrer (MeteoSwiss) 4.25
Description

Currently, every module that uses passive tracers (e.g. COSMO-ART, microphysics) handles this individually. This detoriates the maintainability of the code (there is a lot of redundant code) and makes the introduction of a new tracer field tedious. Therefore, a general implementation of tracers is developed. There will be 2 new source files (data_tracers.f90 with constants and type definitions, src_tracers.f90 with the methods to implement the framework for handling tracers).

The tracers will be stored in a contiguous memory block of the form trcr(i,j,k,ntracer,nt). The memory structure of current tracers in the model is not consistent. Therefore a choice has to be made about the data layout. The tracer module will keep as much information private as possible, in order to allow future changes to the internal data structure. Additional metadata may be added to the above strucutre as needed.

The functionality of the tracer module will contain

  • initialization of tracer variables (src_input.f90, src_tracer.f90)
  • application of boundary conditions (src_relaxation.f90)
  • correct checkpointing in the restart files (organize_data.f90)
  • advection (src_leapfrog.f90, src_advection_rk.f90)
  • explicit horizontal diffusion (hori_diffusion.f90)
  • turbulent mixing (slow_tendencies.f90, slow_tendencies_rk.f90)
  • output (src_output.f90)
Status

The new tracer module is available in COSMO-Model Version 4.25. All humidity variables are now treated as tracers, which led to a significant reduction in source code of the dynamics (instead of re-writing code for every qx-Variable, there now is a loop over the tracers). All modifications have been done in a way that the code gives bit-identical results.

The new version has already been given to the COSMO-ART group and they started to adapt their codes to that new structure. Feedback and some necessary adaptations of the new tracer module have already been implemented in Version 4.26.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: The new version has been tested with the MeteoSwiss Technical Test Suite

4-eyes Assurance: the code has been checked by Uli Blahak and Uli Schaettler.

Testing

Only functionality tests are necessary, as the code gives bit-identical results.

Documentation

A COSMO Technical Report on the new Tracer Module, which serves as technical documentation, is in preparation. It is expected in December.

0.07 2011-09-10 finish 2013-11-30 Unified COSMO-ICON Physics PP POMPA 5.05
Description

In the future, DWD wants to unify the physical packages between the COSMO-Model and the new global model ICON in a way, that if the same package is used from both, the COSMO-Model and the ICON, then also the same source code has to be used (which is at the moment not the case between COSMO-Model and GME, for example). For such a unification, several issues have to be addressed:

  • Memory layout, data structures: The data structure, that should be implemented in all parameterizations, is a 2-dimensional one (number of grid points, vertical dimension). The COSMO-Model up to now uses a 3D memory layout and data structure. All parameterizations therefore have to sweep over the full domain. Internally, some parameterizations use such a 2D data structure, as is considered now again. This is due to the fact that these routines originate from implementations on former machines, where only few memory was available.
  • Interfaces: The original idea was that all global variables, which are used in a parameterization, should be passed by argument lists. Therefore, these lists could be very long. This is the reason why the actual implementation in ICON uses a mix: all fields (multidimensional arrays) are passed via argument lists, all scalar variables can be accessed via USE lists. In the COSMO-Model, all variables (fields and scalars) are accessed via USE lists at the moment. There was a valuable suggestion, that (besides all arrays) also scalar variables should be put to the argument list, if they are modified within the parameterization.
  • Naming conventions: There are different naming conventions for modules and routines, but also for variables. An example is the name of the working precision. In the COSMO-Model ireals is used for specifying the KIND parameter for the working precision, while wp is used in ICON. For modules, ICON has the convention, that the name should start with mo_, which leads to the actual situation, that a parameterization must either use data_xy (for COSMO) or mo_data_xy (for ICON). If possible, these names should also be unified.

There are some other advantages of such an approach: When passing 2D structures to the parameterizations, the user can make the choice to pass rather few grid points (or short vectors), which is good for cache based machines, or to pass long vectors (good for vector processors) to the subroutines. All grid points have to be grouped to blocks then, which allows for an easy parallelization over these blocks (e.g. for OpenMP, but could also be good for implementation on GPUs).

Work on the physical parameterizations has started to convert them to the correct memory layout.

During this work, several issues occured at MeteoSwiss:

  • Because of performance reasons, it would be good to have all physical parameterizations called in one block (at the moment the microphysics is called at a different place)
  • The saturation adjustment is called several times during the time stepping. Is this really necessary? And when best to call?
  • In the COSMO-Model some parameterizations are only called in the interior of the domain, some are called for the whole domain. This should be unified, because it is rather awkward to track this when copying to the block data structure.

Work done since 2011:

MeteoSwiss ported most of the physical parameterizations (which are necessary to run COSMO-1) to GPUs using the block structure version. A framework was developed to copy the necessary COSMO fields from the (i,j,k) data structure to the blocked structure and back. This framework has been modified early 2014 to make its usage more comfortable and straightforward.

But developments were also going on in the ICON physics, so that most packages have now diverged. The new ICON versions therefore have to be brought back to the COSMO-Model and tested there.

Microphysics (Work done in 2014):

  • April, May: The latest developments for the microphysics (done by Carmen Köhler, DWD) are incorporated to the COSMO-Model and tested by MCH and DWD. This will be a candidate to be included in the official COSMO Version 5.1
    • MeteoSwiss tested the microphysics without changes done at DWD with success in the new framework
    • DWD also tested the new modifications and bug fixes:
      • Cloud Ice Sedimentation: This plays an important role in restructuring the high clouds and counteracting overprediction or too long lifecycles of cirrus. Cloud ice sedimentation was implemented and tuned in ICON for the cloud ice scheme hydci_pp. It is now also implemented in the graupel scheme hydci_pp_gr.
      • Sticking Efficiency: This influences the aggregation and ice autoconversion and was changed accordingly to the cloud ice sedimentation
      • Evaporation: In ICON, also a limitation for maximum evaporation was implemented. This is needed to provide numerical stability for large horizontal resolutions.
      • Supercooled liquid water and reduced freezing rate: The supercooled liquid water approach reduces the depositional growth for temperatures below 250K, which is assumed to be the threshhold for mixed-phase clouds. The reduction in freezing rate of in-cloud and below-cloud rainwater takes effect for the temperatures below the threshhold for heterogeneous freezing of raindrops (= 271.15K). These changes were already tested for COSMO-EU in 2013. They proved to improve the forecasts for aircraft icing (ADWICE).
  • May, June: DWD tested all changes in COSMO-EU and COSMO-DE experiments for summer and winter periods. Less importance was given to COSMO-EU, as some of the changes have already be tested last year. Therefore, the COSMO-EU experiments only run for 24 hours to provide boundary data for COSMO-DE. Verification results are shown in "testing".
  • November: The blocked version of the new microphysics has been implemented in COSMO-Model 5.1. ICON also implemented the changes to the microphysics, so ICON and the COSMO-Model use the same contents. But ICON did not incorporate the version modified by MeteoSwiss, where all vector optimizations were eliminated and only one big loop is used. It turned out that the Cray Compiler also could vectorize the loops better before, which lead to a slow-down of the microphysics in ICON.
  • July 2015: Implemented the possibility of calling the microphysics at the beginning of the time loop before all other parameterizations. This has been realized by a switch lgsp_first. Note that the results are changed, if lgsp_first=.TRUE.

Radiation (Work done in 2015, May - July)

  • A blocked version of the Ritter-Geleyn (RG) radiation (in module radiation_rg.f90) and the corresponding interface (radiation_interface.f90) has been implemented. The RG radiation scheme needs special input variables (si milar to other radiation schemes as RRTM), which are computed in the interface. The different computations are grouped in subroutines, which have been put to a new module (radiation_utilities.f90).
  • This version also supports the possibility to work on a coarser grid, and because of that we need a special data structure for the variables in the interface xvar (nproma*nradcoarse, nradcoarse) where nradcoarse is the number of grid points to group together in i- and in j-direction for one coarse grid point. Note that for the full COSMO grid (nradcoarse=1) this is just the usual blocked data structure, just with an additional dimension 1. For this data structure we need two fields mind_ilon_rad, mind_jlat_rad (similar to mind_ilon, mind_jlat), which give the correspondance between indices (i,j) of the full COSMO grid to this data structure. The fields mind_ilon_rad, mind_jlat_rad have the dimension (nproma*nradcoarse, nradcoarse, nblock_rad) where nblock_rad is the number of blocks for radiation (is different between using the full grid or a coarse grid).
  • The interface module computes all input variables for the radiation scheme on this new data structure. If a coarse grid is used, an additional subroutine ( average_to_coarse_grid) is called, which computes the averaging of nradcoarse*nradcoarse to one coarse grid point.The results of these averaging are given to the driving routine fesft of the RG radiation.
  • The decision that we want to support the coarse grid for the radiation and also the fact that the input variables for the radiation scheme are different ones than for all other parameterizations, lead to the decision, that we do not use the "copy-in/copy-out" that we use for the other blocked versions of the physics, but the method described above for the computations.
  • A more detailed documentation of the "Radiation in blocked data structure" is in preparation.
  • The results of the new blocked version are bit-identical to the old version of the RG radiation.
Technical Issues

MCH developed the "copy-to-and-from block data structure" environment and most of the interfaces for the different parameterizations, when porting the code to the GPUs. The work has been followed and monitored by DWD. When updating the parameterizations to the new ICON versions, the still missing interfaces will be developed.

Testing

Microphysics:

The modifications to the microphysics have been tested in several experiments at DWD. A first experiment for COSMO-EU has already been done in Summer 2013 based on model version 4.26. In May / June 2014 more experiments have been conducted based on model version 5.0.2. Some basic verification results are summarized here.

Radiation:

Since results are bit-identical to old version, only the technical test suite has been run, which confirms the bit-identity.

Documentation

Extensions for the documentation of the microphysics in the "Physical Parameterizations Documentation" is available and will be incorporated soon.

0.10 2011-09-10 finish 2012-09-01 Physics-Dynamics Coupling Oliver Fuhrer (MCH) 4.23
Description

Move computation of total physical tendencies to the physics.

Up to now this has been done seperatly in the different dynamical cores. But the proper place is in the module organize_physics.f90, after all tendencies have been computed.

This is a pure technical change without changing of results.

Status

The change has been implemented into Version 4.23 and could be tested by all COSMO Partners and the CLM Community. No complaints were raised.

Technical Issues

Coding Standards: fulfilled

Technical Test Suite: The prototype of the Test Suite by MeteoSwiss has been run without problems.

4-eyes Assurance: done by Uli Schaettler

Testing

As there are no changes to the results, only the technical Test Suite was necessary.

Documentation

Change is documented in the Release Notes. No other change of documentation necessary.

0.05 2011-06-30 finish 2013-05-31 Implementation of grib-api Schaettler (DWD) 4.28
Description

Since some years, the new GRIB standard (GRIB2), defined by WMO, is ready to be used. ECMWF developed an application programmers interface (grib_api), which can be used within programs to read, create and manipulate grib messages for GRIB2, but still also for GRIB1. At DWD it has been decided to use grib_api as the official GRIB library in the future. Also the COSMO partners agreed to use grib_api. Therefore, grib_api will be implemented in the COSMO-Model and the INT2LM in the next few months.

At DWD the implementation is based on using the concept of the shortnames and the tables and definitions provided by grib_api. These tables and definitions have to be coordinated with the COSMO-partners.

Status

Work has started with delay in March 2013 to implement grib_api. It is implemented in addition to the DWD Grib-library, so the user can choose, whether Grib1 shall be written using the DWDLIB or whether the grib_api (for Grib1 or for Grib2) shall be used.

27.05.13: First implementation finished, Functionality tests started; General vertical coordinate still missing.

28.06.13: Added general vertical coordinate (new level type 150). But there are still issues with grib_api. Need Version grib_api 1.11.0 to process the new keys for the general vertical coordinate.

12.07.13: Several tests have been done and finished. There are still problems with writing the general vertical coordinate in ensemble mode; but new model version released now anyhow (for testing)

Technical Issues

Coding Standards: have been met

Technical Test Suite: a DWD-pre-implementation of the test suite has been run.

  • Restart runs: are ok
  • Reproducibility:
    • COSMO-EU: results can be reproduced with different domain decompositions
    • COSMO-DE: results are NOT reproducible on the NEC-SX9, but on the IBM. This seems to be a compiler problem on the NEC-SX9

4-eyes Assurance: code is cross-checked by DWD colleagues with grib_api experience

Testing

27.05.13: Functionality tests started, but will go on during June 2013.

28.06.13: Functionality tests using grib_api are positive.

16.07.13: The new releases of INT2LM and the COSMO-Model are put to DWD's parallel suite.

Experiments will be started soon using grib_api and GRIB2

Documentation

A COSMO-web page has been set up to document the implementation and GRIB2 usage. This page is not yet visible (still work in progress). It will be enhanced in the next few weeks.

User Guide has been updated.

0.06 2011-06-30 finish 2012-09-01 Reconstruction of mpe_io.f90 Prill (DWD) 4.25
Description

The module mpe_io.f90 is a stand-alone module of the NWP suite, containing an asynchronous parallel implementation for reading and writing GRIB1 data from / to disk. It is used in the COSMO-Model and also in INT2LM. At DWD it is also used in the GME. Lately, a bug has been detected for writing the ready-files (see below) in asynchronous mode. At the same time, some other optimization issues treated.

  • Write operation: In a traditional operation mode, the IO is actually performed by the first compute process. Besides, there also exists a truly asynchronous mode, where dedicated IO processes receive data from the compute PEs and perform writing without blocking the compute process.
  • Read operation: The reading of GRIB1 files is inherently sequential, thus it is always conducted by a single I/O process. If there are multiple I/O PEs in use, then I/O PE #0 opens, reads and closes the input file. In principle, the reading process is a non-blocking operation for the compute PEs. However, it may constitute a barrier when input data is actually required for the next compute step.
  • Pre-fetching mode: Pre-fetching strives to avoid blocking of the compute PEs due to reading of boundary data. The term denotes the reading of files ahead of time, i.e. when the forthcoming I/O operation will be the input of a GRIB file, then this will be performed simultaneously with the preceding compute steps.
  • Ready files: The mpe_io implementation supports the use of ready files, i.e. small files indicating the completion of a write operation. Ready files are used within DWD's NWP suite to handle inter-programs dependencies.

Current implementation work:

  • Fix a bug when writing ready files. In truely asynchronous mode these have been written too early up to now.
  • Eliminate the usage of the database interface.
  • Fully implement the pre-fetching mode.
  • Implement non-blocking communication between compute PEs and I/O PEs (has been blocking up to now).

It turned out, that some interfaces of mpe_io had to be extended.

Side Note:

Within HP2C and the PP POMPA, work on a scaling, asynchronous I/O not only for GRIB, but also for NetCDF is ongoing. This work on mpe_io.f90 is not an extra parallel work, but just to fix the bug with ready files and to improve I/O of GRIB1 files immediately. The work is coordinated within PP POMPA.

Status

All above mentioned items have been implemented into a new module mpe_io2.f90. In this way we can adapt the single programs (INT2LM, GME) one after the other to the changes in the asynchronous GRIB I/O.

The modifications have been implemented in Version 4.25 and functionality has been tested successfully.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: technical tests have been performed to prove functionality.

4-eyes Assurance: All above mentioned items have been implemented into mpe_io2.f90 and will be cross-checked by Uli Schaettler.

Testing

The reconstructed module has been tested with the COSMO-Model in the experimentation system of DWD. A problem when using many compute processors has been reported by DWD and by MeteoSwiss and could be fixed in Version 4.26.

Documentation

A LaTeX documentation of mpe_io2.f90 is available. Together with a (still to be developed) similar documentation for the asynchronous NetCDF I/O this should be published as a COSMO Technical Report to serve as technical documentation of (asynchronous) I/O.

0.02 2011-04-16 finish 2011-08-31 Digital Filter Initialization Schaettler 4.20
Description

In tests for historical storm events, driven by ERA Reanalyses, it turned out that the digital filter initialization used together with the Runge-Kutta scheme did not deliver reproducible results.

But for the Runge-Kutta scheme an adiabatic backward integration is not possible at all. So the option ndfi=2 (backward-forward initialization) has been disabled, if the Runge-Kutta scheme (l2tls=.TRUE.) is used (in Version 4.20).

To run the forward initialization (ndfi=1) with the Runge-Kutta scheme, some technical adaptations were necessary. These have been implemented in Version 4.18.

Status of work: This issue has been fully implemented in Version 4.20:

  • When using the Runge-Kutta scheme, only ndfi=1 is possible now.
  • Necessary modifications have been implemented in Version 4.18, when using ndfi=1.See the version history documentation for further details.
Technical Issues

The changes are still evaluated and tested by colleagues from the Bundeswehr.

Testing

See Technical Issues.

Technical Issues

The changes have been implemented by colleagues from ETH Zurich and have been cross-checked and implemented by the Source Code Administrator.

Testing

Few single test cases have been performed to ensure that the results have not been changed.

WG7
5.1 2016-09-01 finish 2019-08-31 Development of COSMO-E A. Walser N/A

The COSMO-E ensemble is now operational at MCH:

- 2.2 km hor. res., 60 vertical levels

- 20 members

- ICs from KENDA

- BCs from ECMWF ENS

- SPPT as model perturbation

Status:

  1. There are problems in t and td in the first hours of the forecast due to the use of KENDA, which are under investigation.
  2. The improvement of COSMO-E over COSMO-LEPS is particularly evident in summer.
  3. Adaptation of the SPPT were needed due to some problems encountered (see SPRED PP)
  4. Test of perturbation of soil moisture and soil temperature (see SPRED PP)
5.2 2016-09-01 finish 2019-08-31 Development of COSMO-2I-EPS C. Marsigli N/A

COSMO-IT-EPS is in its development phase:

- 2.8 km hor. res. (soon 2.2), 50 levels

- 10 members

- ICs now from downscaling (later KENDA)

- BCs either from COSMO-ME-EPS or COSMO-LEPS

- model perturbations: SPPT and parameters (see SPRED PP)

- perturbation of soil mositure ICs (see SPRED PP)

Developments (see SPRED PP):

- study the combination of SPPT and parameter perturbation

- impact of soil mositure perturbation

- use of ICs from KENDA

5.4 2016-09-01 finish 2019-08-31 Development of TLE-MVE A. Mazur N/A
Description

TLE-MVE is in development phase:

- 2.8 km hor. res.

- 20 members

- ICs and BCs are provided by 4 successive ICON deterministic run (intermediate step with COSMO 7 km)

- no model perturbation

- soil perturbations are applied to each member

Status

soil perturbation (see SPRED PP)

5.5 2016-09-01 finish 2019-08-31 Development of COSMO-DE-EPS C. Gebhardt N/A
Description

COSMO-DE-EPS is operational since 2012:

- 2.8 km hor. res. 50 levels

- 20 members

- ICs and BCs from BCEPS

- perturbed parameters

- soil perturbation

Status

Development (see SPRED PP):

- random parameters

- more parameter perturbed (energy)

- EM scheme for model perturbation

- test of ICs from KENDA (also in combination with BCEPS)

4.1 2014-03-01 finish 2015-08-31 Test of the verification of ensemble forecasts with VERSUS, with WG5 Tesini, Walser, Bundel N/A

Exchanges of expertise about ensemble verification between WG7 and WG5 is on-going. The work is now concentrating, for WG7, in providing to WG5 and especially to VERSUS PL and developers, specifications about the further implementation and refinement of EPS verification in VERSUS.

On-going.

5.3 2013-05-01 finish 2013-12-10 Evaluate ECMWF LAM-EPS BC test data-sets for the convection-permitting scale A. Walser & C. Marsigli N/A

The EPS-BCs test data-sets described in WP 7.1.5 are tested for the convection-permitting ensembles developed at MCH and ARPA-SIMC. A feedback is provided to ECMWF.

Completed the first test. Now is on-going a test of more frequent LBCs from ENS.

2.1 N/A finish 2014-01-31 Development of the 7km ensemble system for the Sochi olympic games Andrea Montani N/A
Description

A 7-km ensemble similar to COSMO-LEPS is implemented on the Sochi area (COSMO-RU-LEPS). This work is part of the CORSO Priority Project.

A 10-member downscaling of the 12 UTC EPS is performed with the COSMO model, up to 72h forecast range.

Products specifically designed for RHM have been prepared and disseminated.

Verification has been performed and presented at the last COSMO GM.

Technical Issues

For some products, coding in GRIB2 require more work, since grib-api is not ready for this.

Testing

Testing will be performed for Winter 2011-2012 and 2012-2013.

1.5 N/A finish 2012-08-31 Migration to grib-api of the COSMO-LEPS clustering code Andrea Montani N/A
Description

In the clustering code EMOSLIB is still used.

The code should be migrated to grib-api.

Technical change.

Technical Issues

Use of grib-api, F90 code.

Testing

Check that results do not change after and before the migration.

KENDA
N/A 2018-10-31 finish 2019-02-27 ensure reproducibility of redundancy check, adaptations for buoy and AMV reports Schraff (DWD) 5.06
Description
  • Option introduced to ensure that the redundancy check becomes reproducible irrespective of the domain decomposition.
    If this option ('lredn_repro') is set, redundancy is constrained to occur only between reports assigned to the same grid point. This limits the validity of the redundancy limits set in 'data_obs_cdfin.f90' and increases the risk that redundancy of the two reports, e.g. one from an original ASCII TAC report and the other one from an original BUFR report, is not detected and that both reports may be used actively.
    If this option is not set (which coincides with the implementation in the previous code versions) then the results of the redundancy check may depend on the domain decomposition (which was a 'known bug'). As a consequence of this, the 'fof' feedback files from different ensemble members running on different processor configurations could then contain different sets of reports, and using these 'fof' files in the LETKF as input could then lead to a fatal crash.
  • Adaptation to a new BUFR template for buoy reports, such that element MTODB (type of data buoy, WMO Table 002149) is stored as report header entry 'instype' in the ('fof') feedback file.
  • Adaptation for AMV (Atmospheric Motion Vector) reports such that a 'satellite frequency digit' is added to the wind computation method stored as report header entry 'retrtype' in the ('fof') feedback file. This is required for the correct processing of AMV data in the KENDA-LETKF (e.g. at CNMCA).

Changes of the namelist variables:

  • 'lredn_repro' added (default: .false.):
    if true then reproducibility of redundancy check ensured irrespective of domain decomposition by allowing for redundancy only between reports assigned to the same grid point.

Changes of the results:

None for the use of conventional data, unless 'lredn_repro' is switched on.

Status

All changes implemented.

All changes tested in short experimental trials, handed to CNMCA for successful testing of the adaptations of the buoy and AMV processing.

Technical Issues

Coding Standards: YES

Technical Test Suite: By Uli.

Testing

All changes tested in short technical experimental trials.

New option ensuring reproducibility avoids a crash of the LETKF if the ensemble members run with different domain decompositions.

Adaptations for buoy and AMV data further tested at CNMCA where the new code allows successful processing of these data.

Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code
  • external product documentation: scientific documentation, User Guide and (possibly)implementation documentation
  • process documentation: documentation of the chages to the existing software forinclusion to the version history and the changes log-file.
N/A 2018-04-11 work 2019-08-31 new data types: high-res (BUFR) radiosonde, radiosonde descent data, tower profile data; option for superobbing of vertical profiles; minor (technical) changes and bug fixes Schraff (DWD) 5.07
Description
  • Definition and processing of new types of observations, read from the following new observation input files:

input file name , description of code type
- cdfin_tower : tower profile reports (e.g. Falkenberg) (as a subtype of observation type PILOT)
- cdfin_temphirs : high-resolution BUFR land radiosondes,
high-resolution BUFR ship radiosondes, and
high-resolution BUFR dropsondes
- cdfin_tempdesc : high-resolution BUFR radiosonde descent data
For these new code types, switches are introduced to define their active or only passive use.
Note that for the radiosonde descent data, the station identifier is still missing in the BUFR reports (more precisely: YXXNN="////////"). Practically, this prevents these data from being monitored and hence being used actively. (As soon as the identifier is defined and reported, a small code change may possibly have to be implemented to allow for monitoring and active use.)

  • Obs input file names 'cdfin_*.x' are now inquired and read also for x = 1.
  • Superobbing of high-resolution profiles introduced.

The criterion for which profiles superobbing is applied depends on the new namelist variable 'av_reso'. The target superobbing layers depend on the new
namelist variables 'av_levs' and 'av_incr'. Superobbed levels get a proprietary level significance.

The redundancy check is adjusted to avoid supplementing a superobbed profile by data from the original report (with state 'merged').

  • Processing of relative humidity and mixing ratio is added to dewpoint temperature as observed humidity variable for multi-level reports.
  • Any obs levels from multi-level reports are now discarded with height above 'model top' (defined here as the mean of top main and half model level) or with pressure smaller than certain limits (e.g. pressure limit = 30.1 hPa for model top <= 22 km).
  • Observation operators (subroutine 'surf_obs_opr_1h') added for temporally non-local obs (1-h sums of precipitation and radiation), in order to write model equivalents for these 1-hour sums to the feedback file.
  • Update for 'DACE modules' ('mo_*.f90') to DACE V2_00; this includes the definition of new observation types, code types, and variable numbers. Use of 'mo_mpi' is replaced by 'mo_mpi_dace'.
  • Bug fixes:
    • Corrected computation of the cloud base height (replacing cloud top height) for output in the feedback files.
    • Fix to strictly avoid two levels in a multi-level report with the same pressure; if the surface level is one of these levels, it will be kept.
    • If frames are used for lateral boundaries (lbd_frame=.true.) then the secondary first guess check against the lateral boundary fields is switched off (by setting the namelist var. qcflbcp=0.).
    • Minor fix in 'list_of_neighbours' (if n_ngb is zero).
    • Corrected initialisation of variable 'rc_tv'.
    • Corrected (de-)allocation of several fields in module src_obs_cdfin_mult.f90.
  • Code clean-up and formal changes:
    • Code related to 1DVar of satellite retrievals is removed (or commented out). Some other unused variables are also removed.
    • In all data assimilation modules used for KENDA (i.e. all modules used for nudging except those on lateral spreading, applying the nudging equations and the subsequent field correction steps),
    • all 'iintegers' are removed and replaced by standard integers, and the use of 'data_parameters' is replaced by 'kind_parameters'.
    • In all the modules jointly used by COSMO and DACE, the default is changed from 'public' to 'private' and variables and subroutines used by other modules are set to public explicitly one by one.

Changes of the namelist variables:

  • added namelist variables (default):
    • lcd139 (.false.): switch for active use of tower profile data
    • lcd109 (.true.) : switch for active use of high-res. BUFR land radiosondes
    • lcd111 (.true.) : switch for active use of high-res. BUFR ship radiosondes
    • lcd230 (.true.) : switch for active use of high-resolution BUFR dropsondes
    • lcd231 (.true.) : switch for active use of high-resolution BUFR radiosonde descent data
    • av_levs (1075., 755., 710., 90., 75., 5.) : level definition list
    • av_incr ( 10., 15., 20., 15., 10., 0.) : level increment list for superobbing layers of high-resolution radiosonde data
    • av_reso (2.) : superobbing is applied if the averaged resolution of the observed profile exceeds 'av_reso' times the vertical model resolution
  • removed namelist variables (default):
    • lcd022 (.true.) : switch for active use of abbreviated ship reports
    • lcd023 (.true.) : switch for active use of reduced 'shred' ship reports
    • lcd241 (.true.) : switch for colba constant level balloon reports
    • lcd188 (.true.) : switch for active use of SST as dribu reports
    • lcd063 (.true.) : switch for active use of bathy dribu reports
    • l1dvar (.false.): inactive switch for 1DVar to derive satellite retrievals

Changes of the results:

  • In the (occasional) occurrence of profiles e.g. from wind profilers with a resolution high enough to meet the criteria (roughly more than 3 times higher resolution than the model resolution) for superobbing, the superobbed profile will have a smaller (and more appropriate!) amount of (single-level) data to be fed into the LETKF, and this modifies locally the influence of that report on the analysis; larger changes would occur if very high-resolution BUFR radiosonde reports were present in the observation input file for radiosondes (cdfin_temp).
  • Discarding observation levels from multi-level (usually radiosonde) reports above the model top may alter the outcome of the multi-level and / or height and thickness quality control checks and change the use of data further below (i.e. below the model top and in the range where data can be used actively) and hence the results occasionally (often slightly); since it is not consistent to use data from outside the 3-D model domain to control (based on extrapolation of model values) the quality of data from inside the model domain (as is done in the old version), this change can be considered a bug correction.
  • Minor bug fixes in the redundancy check may change the results only rarely and slightly.
Status

All modifications implemented, currently in private version of C. Schraff.

Technical Issues

Coding Standards: Yes.

Technical Test Suite, 4-eyes Assurance

Testing

All changes tested in short experimental trials (technical tests).

An experiment over several weeks is currently ongoing, with neutral results expected (without changing the selection of actively used observation types).

N/A 2016-06-01 finish 2016-08-23 technical options for LETKF/MEC: UV10M station selection; reader of DWD national stations; simple IAU; analysis as initial LBC; extrapolation of lateral boundary fields Schraff (DWD) 5.05
Description

All changes are new options, or relate to options that are currently not used operationally:

  • option(s) for revised station selection for use of 10-m wind data; addtional criteria depend on roughness length and on 2nd derivative of orography
  • reading routine / option for processing DWD national synop reports; these reports contain 1-hourly precip and wind gust data as opposed to the DWD standard synop reports and are therefore required for the MEC / standard surface verification
  • simple IAU (incremental analysis update), to add analysis increments over a certain period at the beginning of the model forecast instead of adding the analysis increments at analysis time
  • use of analysis as lateral BC at time zero, to reduce noise
  • option to integrate the model past the time of the last available lateral BC (linear extrapolation of lateral boudary fields), by typically <= 1 hour (for LETKSmoother)
  • a minor modification to cope with incorrect coding of relative humidity (variable MUUU defined as float instead of integer) in Mode-S aircraft NetCDF observation input files.
Status
  • UV10M station selection: implemented
  • DWD national reports: to be done
  • IAU: implemented
  • Analysis as LBC: implemented
  • extrapolation of lateral boundary fields: implemented (and used in LETKSmoother experiment)
  • fix for Mode-S humidity variable: implemented
Technical Issues

Coding Standards: YES

Technical Test Suite: By Uli.

4-eyes Assurance: By Uli for IAU / LBC

Testing

(Single Test Cases, Experiments:)

Short technical tests have been performed to make sure that the code run properly.

Documentation

Provide specific information on availability of the following documentation required by the COSMO source code management rules:

  • internal product documentation within properly structured code: YES (with rather extensive descriptions e.g. on IAU)
  • external product documentation: User Guide: updating of namelist parameters being done. Scientific (and possibly some) implementation documentation will be done later in autumn (after EWGLAM meeting).
  • process documentation: documentation of the chages to the existing software for inclusion to the version history and the changes log-file: YES
N/A 2016-06-01 finish 2016-08-23 technical options for LETKF/MEC: UV10M station selection; reader Schraff (DWD) of DWD national stations; simple IAU; analysis as initial LBC; extrapolation of lateral boundary fields Schraff (DWD) 5.05
Description

All changes are new options, or relate to options that are currently not used operationally:

  • option(s) for revised station selection for use of 10-m wind data; addtional criteria depend on roughness length and on 2nd derivative of orography
  • reading routine / option for processing DWD national synop reports; these reports contain 1-hourly precip and wind gust data as opposed tothe DWD standard synop reports and are therefore required for the MEC / standard surface verification
  • simple IAU (incremental analysis update), to add analysis increments over a certain period at the beginning of the model forecast instead ofadding the analysis increments at analysis time
  • use of analysis as lateral BC at time zero, to reduce noise
  • option to integrate the model past the time of the last available lateral BC (linear extrapolation of lateral boudary fields), by typically ≤1 hour(for LETKSmoother)
  • a minor modification to cope with incorrect coding of relative humidity (variable MUUU defined as float instead of integer) in Mode-S aircraftNetCDF observation input files.
Status
  • UV10M station selection: implemented
  • DWD national reports: to be done
  • IAU: implemented
  • Analysis as LBC: implemented
  • extrapolation of lateral boundary fields: implemented (and used in LETKSmoother experiment)
  • fix for Mode-S humidity variable: implemented
Technical Issues

Coding Standards: YES

Technical Test Suite: By Uli.

4-eyes Assurance: By Uli for IAU / LBC

Testing

(Single Test Cases, Experiments:)

Short technical tests have been performed to make sure that the code run properly.

N/A 2013-01-30 finish 2013-11-08 for OSSE capability: read obs from feedback files Schraff (DWD) 4.28
Description

Develop option to read observations from feedback ('fof') files instead of (or in addition to) 'cdfin' files, to use the simulated observation values from the feedback files as observations (from the nature run of an OSSE), and to perturb them randomly.

Status

It is coded and tested in V4_22, and ported to V4_27.

It is part of the task 'optional new QC check for surface pressure against lateral BC fields' (see WG1 list), and is being submitted together with that task

Technical Issues

Coding Standards : fulfilled.

Technical Test Suite : -

4-eyes Assurance : together with task 'modular observation operators for existing obs types' (see KENDA list), partly Andreas Rhodin and Uli Schaettler

Testing

1-month test with V4_22 and only some of these technical modifications

Single test runs with all modifications based on V4_27 done, a longer test period is about to start

Documentation

Model Documentation : improved in-line documentation

External Documentation : no changes required for scientific documentation, User's Guide

N/A 2012-12-01 finish 2014-03-31 read Meteosat radiances Faulwetter (DWD) 5.06
Description
  • Implement reading of Meteosat SEVIRI radiances (probably from HRIT files, but this has to be checked) --> it is already included in the code, making use of an external library for processing of satellite data

Modification for V5.06:

  • additional option for RTTOV-12 (in addition to RTTOV-10, RTTOV-9)
  • removal of option for bias correction of Africa and Jason, which depends on observed cloud top height and makes use of the NWC-SAF cloud (top height) products
  • various bug corrections
Status

Robin Faulwetter produces a new official version of the external library for satellite data. Based on this, Axel Hutt upgrades the adaptions of the COSMO code from V5.02 to V5.03, and then Uli Schättler continues the upgrade to V5.05 .

N/A 2012-12-01 finish 2014-06-30 read / process GPS slant path delay data Bender (DWD) 5.05
Description

Observation operator for the use of GNSS zenith (ZTD) and slant total delay (STD) data in KENDA. This includes the writing of NetCDF feedback files by the COSMO model which can then be read by the LETKF.

The current version can read two types of data:

  • ZTD data from NetCDF observation input files with the same template as already used for the nudging of GNSS IWV (integrated water vapour) data, and
  • STD data only from special ASCII input files, which are produced by the GNSS processing centre GFZ, plus an additional file with a list of stations. A standard BUFR template for slant path delay data does not yet exist: In the future, this ASCII interface will have to be replaced by a BUFR-to-NetCDF interface with an template that is yet to be defined.

In addition, a file is read containing the geoid undulation which is required to convert the heights above the geoid (used for the observations) into ellipsoidal heights (used by the model).

The inclusion of the current version of this observation operator into V5.05 is important for DWD, because DWD requires to run this in passive mode as soon as possible in the pre-operational suite to prepare a meeting with GFZ delegates in December.

Status

The code is ready and sent to Uli.

Technical Issues

Coding Standards are fulfilled, some technical tests have been performed (code was running stably in BACY for short period (few days) with STD and/or STD or without), the interface has been cross-checked briefly.

Testing

Single observation sensitivity experiments showed expected behaviour, and BACY trials using the full data set showed some positive impact of precipitation forecasts compared to a control with use of only conventional obs (both in comparisons with and without LHN).

Some plots should be available here before end of August.

Documentation

Availability of the following documentation required by the COSMO source code management rules:

  • User Guide: updated User Guide , and added parts to the User Guide as a separate file for a quick look
  • The observation operator is described in a manuscript for a peer-reviewd paper, and a first version of the scientific documentation is included in the DACE documentation of which the added parts can be seen here.
  • process documentation: documentation of the chages to the existing software for inclusion to the version history and the changes log-file: sent to Uli.
7 2012-12-01 work 2014-03-31 pattern generator for additive covariance inflation and stochastic physics Tsyrulnikov (HMC) N/A
Description
  • Implement pattern generator, which allows to create univariate random patterns with specifyable spatial and temporal correlation scales; this can be applied for stochastic physics or for direct additive model perturbations
4 2012-09-10 finish 2013-11-08 modular observation operators for existing observation types Schraff (DWD) 4.28
Description
  • observation operators and quality control in separate modules with clean interfaces, in order to be included in the 3DVAR/ LETKF package
  • this is for existing obs types: synop, aircraft, buoy, radiosonde, PILOT (including wind profiler, RASS, radar VAD), GPS ZPD/IWV
Status

It is coded and tested in V4_22, and ported to V4_27.

It is part of the task 'optional new QC check for surface pressure against lateral BC fields' (see WG1 list), and is being submitted together with that task.

Technical Issues

Coding Standards : fulfilled.

Technical Test Suite : -

4-eyes Assurance : together with task 'modular observation operators for existing obs types' (see KENDA list), partly Andreas Rhodin and Uli Schaettler

Testing

1-month test with V4_22 and only some of these technical modifications

A new test is being started

Documentation

IModel Documentation : improved in-line documentation

External Documentation : no changes required for scientific documentation, User's Guide

6 2012-05-31 finish 2012-12-13 RTTOV obs operator + read / write satellite radiances Messer (DWD) 4.26
Description
  • Implement RTTOV-10
  • Implement reading of satellite radiances from polar orbiting satellites (e.g. IASI radiances) from NetCDF files as produced by satellite pre-processing program 'sat-pp' of DWD
  • Implement reading of Meteosat SEVIRI radiances (probably from HRIT files, but this has to be checked) --> postponed to following task
  • Implement processing of satellite radiances and application of RTTOV-10 observation operator
  • Implement writing of observed and model-derived satellite radiances onto NetCDF feedback files
Status

The modifications have been implemented in Version 4.26 (using ifdef RTTOV10). With setting -DRTTOV10 it is now possible to use the RTTOV10-library for producing the synthetic satellite images and to perform satellite observation processing.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: Not yet available, but technical functionality has been tested with DWD COSMO-EU and COSMO-DE setup.

4-eyes Assurance: by Messer and Schaettler.

Testing

The use of RTTOV10 is optional and could be tested now. Because of performance problems with the vectorization of the RTTOV10 library on the SX-9, it is not yet used operationally at DWD. See some pictures from runs with the different versions.

Documentation

Offline documentation is available from DWD, FE12.

The implementation is documented in the Release Notes of 4.26.

The User Guide has been updated accordingly.

2 2012-03-01 finish 2012-12-01 adaptions for sub-hourly analysis update with LETKF Reich (DWD) 4.24
Description
  • extension of file names to include minutes and seconds , e.g. for the (analysis) GRIB files (and extension of internal computations by minutes / seconds
  • temporal interpolation of lateral boundary fields to initial time
  • option for initial lateral boundary condition (LBC) from the local analysis itself (to avoid imbalances near the LBC at the beginning of the model runs)
Status

The modifications have been implemented in Version 4.24. The extension of file names has been implemented in a way that it is backward compatible:

  • If ydate_ini is specified without minutes and seconds, file names and dates are treated as before. So there is no change in the behaviour
  • If ydate_ini is specified including minutes and seconds, file names for output files do include minutes and seconds (applicable for analysis files or for ytunit='d'). Input files will be recognized with or without minutes and seconds.

Introducing the new file names can therefore be done smoothly by every partner.

Technical Issues

Coding Standards: are fulfilled

Technical Test Suite: not yet available, but technical functionality has been tested by running LETKF experiments and for the old file names by running the DWD COSMO-EU and COSMO-DE setup.

4-eyes assurance: done by Christoph Schraff and Uli Schaettler

Testing
  • only technical tests required: basically done by running the code for LETKF experiments
Documentation

New way of specifying ydate_ini has been documented in the COSMO User Guide

The implementation of the modifications has been documented in the Release Notes.

3 2011-09-10 finish 2014-04-16 stochastic physics Torrisi (CNMCA) 5.01
Description

Introduction of stochastic perturbation of the physics tendencies (SPPT).

Its application will be optional, selectable by a namelist switch.

For an outline of the basic method, see also:

consortium/generalMeetings/general2012/wg1-kenda/torrisi_stochastic_physics.pdf

Status

Previous questions on how to perturb which tendencies (e.g. microphysics) have been sorted out.

Namelist switches have been added to also perturb qc, qi resp. qs, qr tendencies

Revised SPPT version (with i.e. removal of erroneous perturbations of Coriolis term) has been tested over 1 month; SPPT gives positive results

In order to allow for applying SPPT in a (rapid) DA cycle without destroying the temporal correlations of the random fields: an option has been implemented recently to make all random fields in subsequent model runs reproducible.

Originally, a minor technical modification to avoid using vertical coordinate parameters (which are not available any more with Grib-2 input) has been planned. However, recent communication with Uli Schaettler revealed that a modification is going to be implemented in propriety DWD Version V5.0.2. in mid / end of May which makes the vertical coordinate parameters available even for Grib-2 input. A more uniform approach will be implemented thereafter nevertheless to avoid the use of these parameters everywhere in the (physics and data assimilation parts of the) code.

The bottom line is that the current code of SPPT is the final candidate to enter in V5.1 without any further changes.

Technical Issues
  • 4-eyes principle: written by Lucio Torrisi (CNMCA), checked by Daliah Maurer (MCH), partly checked by Christoph Schraff (DWD)
  • Coding standards fulfilled
Testing

Testing has shown small, but positive impact:

- consortium/generalMeetings/general2013/wg7-kenda.htm : talk by Andre Walser, for COSMO-E forecasting component, showing small but positive impact (larger positive impact than from using perturbed parameters, as done in COSMO-DE-EPS)

- consortium/generalMeetings/general2013/wg1.htm : talk by Daniel Leuenberger, in LETKF assimilation with COSMO-2, showing small but positive impact

- consortium/generalMeetings/general2012/wg1-kenda/torrisi_stochastic_physics.pdf : talk by Lucio Torrisi, in COSMO-ME forecasting component, showing small but positive impact

Recent Testing has been performed at MeteoSwiss for COSMO-E and has been reported at the COSMO-User Seminar.

Documentation

Inline version history is written.

Changes log-file is availableThis includes a description of all the new namelist parameters.

Update of the COSMO User's Guide: Shall be postponed, since Uli Schaettler is going to change the format of the namelist tables in this document. When the new format is being implemented, the new namelist parameters will be added, based on the changes log-file. This is planned to be done before V5.1 will be available.

Scientific documentation: A short section has been written (Lucio Torrisi)

The scheme has been outlined in a talk by Lucio Torrisi held at a 'Stochastic Physics' workshop at DWD on 26 Nov. 2013.

N/A 2011-03-31 work 2014-06-30 read / process cloud analysis for KENDA Schomburg (DWD) N/A
Description
  • Read cloud top height analysis as observation input from Grib file
  • Apply observation operator to compute simulated obs
  • Write obs and simulated obs to a NetCDF feedback file
5 2011-03-31 finish 2014-03-31 radar obs operators + nudging of radial winds Blahak / Stephan (DWD) 5.06
Description
  • observation operators for radar reflectivity + radial winds (for KENDA)
  • reading radar data, processing, applying observation operator, and writing results to NetCDF feedback files.
Status

Some (further) code clean-up will be done by Uli Blahak before the code will enter V5.06.

Later on (after the code is introduced in the official version), some (even) further code cleanup is planned, e.g. splitting of the large src_obs_radar.f90 into several modules.

Technical Issues

Coding standards fulfilled (except for some in-line comments in German, which will be partly replaced by comments in English, but probably not all by the time of bringing it into V5.06 - note that the code consists of 20'000 code lines).

4-eyes assurance for much of the code (commonly written by Yuefeil Zeng, Dorit Jerger, Uli Blahak).

The code has been applied by various users, and the latest bug report was two year ago. This shows that the code is very stable, indeed

Testing

The operator has been thoroughly tested and already applied by various users and in various studies, incl. the peer-reviewed paper of Bick et al, 2016, QJRMS.

The latest bug report was two year ago which shows that the code is very stable.

Documentation

Scientific documentation:

  • Zeng Y, Blahak U, Jerger D. 2016. An efficient modular volume scanning radar forward operator for NWP-models: Description and coupling to the COSMO-model. Q. J. R. Meteorol. Soc., doi:10.1002/qj.2904.
  • Blahak U. 2016. RADAR_MIE_LM and RADAR_MIELIB - Calculation of Radar Reflectivity from Model Output. COSMO Technical Report 28 (23.58 MB).
  • Jerger D. 2013. Radar forward operator for verification of cloud resolving simulations within the COSMO model. Dissertation. IMK-TRO 62, KIT Scientific Publishing: Karlsruhe, Germany, doi:10.5445/KSP/1000038411.
  • Zeng Y. 2013. Efficient radar forward operator for operational data assimilation within the COSMO-model. Dissertation. IMK-TRO 60. KIT Scientific Publishing: Karlsruhe, Germany, doi:10.5445/KSP/1000036921..

Presentation of results: E.g.:

  • Bick T, Simmer C, Trömel S, Wapler K, Hendricks Franssen HJ, Stephan K, Blahak U, Schraff C, Reich H, Zeng Y, Potthast R. 2016. Assimilation of 3D radar reflectivities with an ensemble Kalman filter on the convective scale. Q. J. R. Meteorol. Soc., 142, 1490-1504, doi:10.1002/qj.2751.

User's Guide: There are 3 parts (to be) written:

  • Example run scripts with documented namlists are available from Uli Blahak. They decribe the 3 modi which can be run ((i) setup for idealized tests, (ii) ..., (iii) reading of real radar data, application of observation operator to (real) model fields, and writing of feedback files).

These descriptions has been found sufficient by the several users of the code to get started, apply the operator and do experiments.

  • A full User's Guide with more extended explanations is in development, but this will take time and likely not be finished by the time of delivery of V5.06.
  • Description of the template of the radar NetCDF observation files.
N/A 2011-03-31 finish 2014-04-16 interface for radar obs operators Blahak (DWD) 5.01
Description

Only technical changes:

Add interface to radar observation operators; this in particular includes the calls for the cpu time measurement.

Use of ifdef e.g. for the call to the radar obs operator and even the cpu time measurement.

Status

All is ready, code has been handed to Uli Schaettler

Technical Issues
  • 4-eyes principle: written by Uli Blahak, partly checked by Christoph Schraff and Yuefei Zeng (DWD)
  • Coding standards fulfilled
Testing

Works technically.

Documentation

Modification comments included in code;

no external documentation required.

1 2010-09-30 finish 2012-03-31 new modular nudging code (with many new options) Schraff (DWD) 4.22
Description
  • re-structuring of code:
    • modules for reading NetCDF obs input files + obs pre-processing
    • (preliminary) preparations on modular observation operators for multi-level reports
  • more flexible observation input:
    • several files for the same observation type
    • more variables optional instead of mandatory
  • optimisations for speed-up on NEC-SX9: nudging part by > 25 % , whole nudgingrun by > 15 % (speed-up)
  • option for writing NetCDF feedobs files (for LETKF / for verification; includesadditional flags and elements (e.g. solar zenith angle)
  • revised format of the VOF (YUVERIF) file
  • height differences betw. station / model orography considered in a more consistent way (forgrid point assignment, station selection, obs errors, etc.)
  • new flag words, more consistent setting of flags / monitoring statistics (for a passiveobs / report, the reason for rejection is now always indicated)
  • after checking for redundancy, the redundancy check loop is re-run with different settingsto put TEMP or PILOT parts A, B, C, D together
  • no redundancy any more between 1 RASS + 1 wind profiler , or between 2 different ships(this help the verification / monitoring)
  • quality control: no temporal consistency check (within the 'spatial consistency check'),this greatly improves 1 case with severe analysis errors
  • latitude dependent reduction of geostrophic wind correction introduced, in order to getreasonably small geostrophic increments near the equator
  • bug fixes, e.g.
    • prevent vertically collocated levels after redundancy check
    • condition to reject AMDAR obs with reported height below model orography: replaced bypressure condition, because reported height is ficticious
    • avoid array bound violations, etc.
  • new option for mobile TEMP / PILOT
  • new option of GPS ZTD (IWV) obs from NetCDF obs input files (preference of processingcenters can be selected)
  • new option for scatterometer 10-m wind (using a simple NetCDF file obtained by an offlinepre-processing tool)
  • new option for a new balancing: pressure increments balancing wind analysis incrementsgeostrophically (for scatterometer wind, and optionally for in-situ 10-m wind obs)
  • new options for new weighting for multiple observations / observation types (net incrementsand weights can be computed separately for different pre-specified sets of observing systems; this helps improving the relative influence of e.g. sparse radiosonde data and high-resolution data such as surface obs, GPS obs, future satellite retrievals or radar radial winds
Technical Issues
  • technical: 1 month experiment is run without technical problems, code is robust
  • coding standards mostly fulfilled (and improved compared to the previous code)
  • compilation with full debug options (e.g. incl. array bound checking): binary produced and tested successfully
  • reproducibility with vastly different domain decomposition tested successfully
  • testing on an other platform at MeteoSwiss done successfully, including test for capability of reading observations from AOF files instead of NetCDF files
  • 4-eyes assurance partly done

task completed, except (as at end April)::

completion of 4-eyes assurance (Daniel Leuenberger, MeteoSwiss: check interfaces first, and based on the results, decide on what other parts of the code should rigorously be check by means of the 4-eyes principle)

Testing
  • single case with large analysis error has been greatly improved (because temporal consistency checking has been removed in spatial consistency check)
  • 1-month experiment: neutral results
  • 1-week test at MeteoSwiss done successfully
  • COSMO-EU / -DE parallel suite with V4_22 completed: > 2 months run without problems, verification neutral
  • (V4_22 introduced operationally at DWD on 28 March 2012.

task completed.

Documentation
  • results (of single test case related to qualtiy control + a 1-month experiment) : presented at GM Rome, 5 Sept. 2011
  • comprehensive documentation on observation file input available, integrated into updated COSMO User's Guide
  • comprehensive documentation on NetCDF feedback file format available
  • COSMO User's Guide fully updated with the V4.22 and all past modfications from the recent years (April 2012)
  • scientific documentation available (COSMO Documentation Part III, Nudging part fully updated with the V4.22 and all past modifications from the recent years) (29 Feb. 2012)
  • in-line documentation of all changes

task completed

External people
1 2012-02-01 finish 2012-09-01 CLM Contributions to Unified Version 5.0 Hans-Jurgen Panitz 4.23
Description

For the next unified version of the COSMO-Model there are some contributions from the CLM Community. All these contributions are either of a pure technical nature or are optional (for the NWP mode) and can be switched on/off by Namelist parameters. Therefore the results of NWP applications are not affected by these contributions. This is a short summary of the contributions:

  • Introduction of new GHG concentration scenarios
  • Introduction of prescribed soil albedo values based on MODIS
  • Spectral Nudging
  • Technical Changes
    • FLake
    • Diagnostic Variables
    • Support for a climatological year with 365 days
    • Treatment of variables for multi-layer snow model
  • Miscellaneous
    • ifdef GRIBDWD
    • mpe_io.f90
    • NetCDF I/O
    • Restarts

The changes are documented and described in more detail in the Release Notes of Version 4.23

Status

The change has been implemented into Version 4.23 and has been given to the CLM Community for further testing. Additional feedback has been implemented in Versions 4.24 / 4.25.

Technical Issues

Coding Standards: fulfilled

Technical Test Suite: not yet available, but changes could be tested by all COSMO Partners

4-eyes Assurance: done by Uli Schaettler

Testing

All changes have been tested by the CLM Community and in addition by the COSMO partners. No complaints were raised.

Documentation

The COSMO User Guide has been updated accordingly.

The changes have been described in detail in the Release Notes of Version 4.23

2 2010-03-31 finish 2013-04-30 Modular Earth Submodel System (MESSy) N/A 4.27
4 N/A idea N/A Fusion of COSMO-ART and M7 N/A N/A
3 N/A idea 2012-02-28 bufr2netcdf Cesari and Patruno (ARPA-SIMC) N/A
Description

Library and applications to use bufr/crex reports in COSMO data assimilation.

The library provides featureful BUFR and CREX encoding and decoding.

Bufr2netcdf convert bufr/crex messages to netcdf file format suitable for cosmo data input.

Notice that the bufr2netcdf program is able to convert almost any BUFR message to Netcdf format, but the COSMO model is able to import only Netcdf files created from a BUFR which was coded according to the proper template for each kind of observation (e.g. WMO for SYNOP and TEMP). For template conversion a downlodable external software is needed (DB-all.e).

Components are:

  • wreport: a featureful C++ library for BUFR and CREX encoding and decoding
  • bufr2netcdf: a conversion tool from BUFR to the NetCDF representation used in the COSMO Consortium for data assimilation.
Technical Issues

Netcdf observation data input format fault documentation so the software and test are based on reverse engenering of the existing software and files.
The software is C++.

External sofware should be provided for bufr template conversion: DB-all.e, high-level tools to work with point-based weather data, based on its physical interpretation. It can do conversion between report templates, data manipulation from C++, Fortran and Python using a database, which can also be explored graphically.

The software is provided under the GNU-GPL license:

  • it is can be freely used, modified and redistributed, also for commercial purposes, provided that the licensing terms are not
    modified and that the source code is always included
  • it can be freely used as a command line tool but it cannot be incorporated as a library into a proprietary application

ARPA-SIMC holds the copyright and, if needed, may agree to relax the last requirement for COSMO partners (i.e. license it under LGPL).

Testing

Package include automatic tests.

Bufr2netcdf has been tested on bufr data provided by DWD. It produces the same netcdf output as DWD Bufrx2netcdf for:
acars, amdar, temp, synop, ship, buoy, tempship, pilot, rass, gps_zenith, radar_vad, wind profile.
A list of known minor differences can be found in the package (doc directory).

Further testing is required to ensure that these differences are negligible. The proposed test to be done is:

1) run of COSMO with data assimilation (nudging) with operational-like bufr converted to netcdf by bufrX2netcdf
2) run of COSMO with data assimilation (nudging) with the same operational-like bufr converted to netcdf by bufr2netcdf
3) comparison of the YU* files produced by the two runs

The SW is available at: http://sourceforge.net/p/wreport
The DB-all.e tool to convert ECMWF-template bufr to WMO-template bufr is also available.

Int2lm developments
Start date Task status Expected
delivery
Task
subject
Responsible
person
Target
version
WG3a
2016-01-01 finish 2017-06-01 Kinne (2015) climatology (AOT12,SSA12,ASY12 --> TAU_KINNE,SSA_KINNE,G_KINNE) Marina Shatunova (RHM) 2.05
Description

Implement new fields for the Kinne (2015) aerosol climatology, which are read from the external parameters and written to the analysis.

Status

Ongoing work. Various new external parameters have been obtained from Stefan Kinne by Natalia Chubarova (Moscow State Univ.), have been prepared to be used in COSMO by Marina Shatunova (RHMS) and have been submitted to EXTPAR as netcdf files. Once these are available from EXTPAR, final implementation in int2lm is possible.

WG3b
2013-12-01 work 2014-05-30 Interpolation of soil moisture in the vicinity of glaciers Guy DeMorsier
Description

When interpolating coarse grid COSMO to fine grid and in the case where the SOILTYP ice (1, therefore no soil moisture) of the coarse grid covers larger areas as the fine grid, the interpolation of the soil moisture variable W_SO is modified. In this case, the original coarse grid COSMO soil moisture comes from the nearest grid point which is not an ice point and the interpolated fine COSMO grid points have a meaningful moisture different from 0.

This procedure could be used in a similar way for the case of rock (SOILTYP 2 which neither has any soil moisture).

Status

Work on this issue has been given back to the developers. There are concerns, because the soil temperature is not modified accordingly, which in special cases could lead to cold pools in the COSMO-Model.

WG6
2017-01-16 finish 2017-01-31 Remove clipping of T_S and T_SO to -0.8 deg C below (partially) snow covered grid points Ulrich Blahak 2.03
Description

Previously the surface temperature T_S has been clipped to a maximum of -0.8 deg C for (partially) snow covered soil (W_SNOW > 0 and T_SNOW <= 2 deg C).

However, this clipping propagates also down into the soil via conservation of vertical differences when computing the grid-mean soil temperatures and may cause artificial cold patches of soil in situations with very little snow cover. Clearly this is not appropriate. Also, if there is an insulating effect of the snow on soil temperature, it should already be contained in the input soil temperatures.

Therefore, this artificial clipping has been removed.

Testing

Does what it should do. Removes unrealistic cold soil temperature patches in partial snow covered areas.

Documentation

Documentation:

2016-12-05 finish 2016-12-10 Option to blend the soil temperature profile from the "normal" adaption method to new orography to a climatological-only height correction for deeper levels Ulrich Blahak (DWD) 2.03
Description

New option for climatological height correction of deep soil temperatures for the multi-layer soil model

New switch "lmultlay_deepsoil_clim_hcorr" (logical, default: .TRUE.) to specify if blending to a climatological height correction of soil temperatures for deeper soil layers is desired. The normal method is to preserve the temperature differences to the lowest atmospheric temperature across the interpolation, and this method is then only applied in the upper soil levels with a decreasing weight with increasing depth.

This should reduce the danger that, e.g., local extremes in near-surface air temperatures, which may have been artificially created by the PBL-profile adaption from coarse to fine orography, create also artificial extremes in deep-soil temperatures where they have a long memory.

The climatological height correction is based on a constant temperature gradient of 0.007 K/m with respect to orography difference coarse minus fine levels. In this respect it is similar to the already existing option "lt_cl_corr" for the climatological deep-soil temperature t_cl in the old 2-layer soil model.

Status

Implemented

Technical Issues

Coding Standards fulfilled, 4-eyes assurance pending

Testing

Not really possible at DWD. Should be investigated at a center where COSMO is started from interpolated analyses without DA on a daily basis.

Documentation

See slides of U. Blahak (page 30 ff)

2016-11-01 finish 2017-01-31 New methods for profile adaption from coarse to fine orography in case of non-hydrostatic input models Ulrich Blahak 2.03
Description

For non-hydrostatic input models, the methods for adapting the profiles from the coarse input orography to the fine orography are ok in general, but still there is room for improvement.

First, the PP profile is no longer needed (because of the new hydrostatic pressure computation instead of PP interpolation), second new methods to stretch/compress the other profiles into deeper valleys or over higher mountains have been developed. These produce less initial noise when COSMO model is started from an interpolated coarse model analysis over mountaineous regions.

Testing

Experiments at DWD showed that the initial noise in COSMO-DE is reduced over mountaineous regions.

Documentation
2016-08-01 finish 2017-01-31 Hydrostatic pressure computation instead of PP interpolation for non-hydrostatic input models Ulrich Blahak 2.03
Description

For non-hydrostatic input models (ICON, COSMO, UM, CM), up to now the pressure deviation was vertically interpolated rather computed from the basic hydrostatic equation. Especially over mountaineous terrain this lead to very noisy pressure fields in the horizontal, which generated a lot of sound- and gravity waves after COSMO model start. To mitigate this, now the pressure is hydrostatically integrated based on the interpolated T and QV profiles in each grid column, so that this noise is considerably reduced.

Status

For the hydrostatic pressure computation, existing subroutines from COSMO src_artifdata.f90 have been implemented and used.

No technical problems and issues were encountered.

Work and implementation are finished.

Technical Issues

Coding standards are fulfilled.

Technical testing has been done at DWD and other COSMO centers and found no problems.

Testing

Tests at DWD showed that, when started from an interpolated analysis (ICONEU in this case) the initial noise in COSMO simulations (DPSDT, WA500) decreased by 15 % on average in the entire COSMO-DE domain. Most of this reduction comes from the Alpine region, which in turn means that in this region the noise reduction is even larger.

Small positive effects are also found through the boundary data alone, but COSMO-DE does not significantly "slice" through mountain ranges at its domain boundaries.

Documentation
2016-01-01 finish 2016-08-22 Linear vertical interpolation as an option to splines Ulrich Blahak (DWD) 2.03
Description

Linear vertical interpolation for some variables can now be chosen more easily in the code (src_vert_inter_lm.f90) by new internal switch in subroutine call:

vert_interp (qr_lm, 'qr', ... --> vert_interp (qr_lm, 'qr', 'linear‘‚ … (or ‚ctspline‘)

but no actual change yet (I‘m thinking about changing it for moisture variables and tracers in the future).

No change of the results yet.

Technical Issues

Internally implmentet, but not activated so far. Would require an additional namelist parameter or a hardwired choice in

src_gribtabs.f90.

Testing

Technically tested for a single case, where it worked correctly.

2016-01-01 finish 2016-08-22 For GFS, possibility to use RELHUM instead of QV Ulrich Blahak (DWD) 2.03
Description

In case of GFS input data possibility for input of RELHUM data.

Previously only QV was read, but since 01/2015 GFS data has switched to RELHUM.

Huge change of results, because before, qv_lm was set to the value for 1 % relative humidity, if no QV present in input data!

Testing

Tested by Helmut Frank (DWD) and colleagues from RosHydromet.

2016-01-01 finish 2016-08-22 General 4D field to hold new 3D fields for easier integration into the code. Ulrich Blahak (DWD) 2.03
Description

General 4D field to hold new 3D fields for easier integration into the code.

Works a bit like the tracer structure in COSMO, but much more rudimentary.

It is meant only for the code developers to easily test and integrate new fields.

Purely technical, does not change results.

Testing

It was successfully used to implement the 11 CAMS aerosol mixing ratios from ECMWF in the framework of PP T2RC2.

2016-01-01 work 2016-08-22 MACC (CAMS) aerosol data from ECMWF Harel Muskatel (IMS) 2.03
Description

Implemented interpolation of MACC aerosol data to COSMO grid with the help of the new 4D field. 11 new fields.

2016-01-01 finish 2016-08-22 TERRA_URB: new EXTPAR fields AHF and FR_PAVED/ISA Hendrik Wouters (KU Leuven) 2.03
Description

TERRA_URB needs the two new external parameter fields AHF and FR_PAVED/ISA from the COSMO external parameters. These have been implemented in int2lm.

New namelist switch lterra_urb.

New grib-codings have been implemented in the DWD grib_api in the local use section. They have also been submitted to WMO, but this will take time.

Status

Works technically , but grib codings are still local and preliminary. Int2lm uses shortnames 'aermrXX' (where XX stands for the number of the species, 01 to 11) for grib2 and local DWD-table 206, ee=101...111 for grib1.

In the COSMO, these fields are only usable in the PP T2RC2 test version of the code.

Technical Issues

grib coding of the CAMS aerosol fields 'AERMRXX'

Testing

Works correctly using our local preliminary grib coding.

2016-01-01 finish 2016-08-22 Field SSO_STDH needed for the new blocked COSMO turbulence code Ulrich Blahak (DWD) 2.03
Description

For the new blocked turbulence code, the field SSO_STDH is needed. This field is now required in any case and must be present in the external parameter files. Therefore, new external parameter files should be generated (from ASTER orography).

Testing

Works correctly

2016-01-01 work 2100-12-01 For ICON input: Interpolation of convective precip rates for moisture enhancement in COSMO Ulrich Blahak (DWD) 2.03
Description

ICON has a very active convection scheme, which means that initial and boundary conditions derived from ICON have generally less moisture than for example COSMO-EU. This leads to a precipitation gap near the inflow boundary and a considerable spinup zone for precipitation. To reduce this effect in a practical way, the 3D convective rain and snow rates from ICON are interpolated and written to the analysis and boundary condition files so that the COSMO model will be able to convert these rates to mass densities (division by fall speed) and add them either to QR and QS or to QV.

Status

Implemented in int2lm. PRR_CON and PRS_CON can be interpolated either as 2D or 3D fields. But the corresponding COSMO development is still under testing.

Technical Issues

Requires ICON to write out two more 3D fields, which is a heavy burden on the disk space! Therefore, the COSMO part should rely on the 2D fields and use a climatological relative profile instead of the full 3D fields.

2016-01-01 finish 2016-08-22 ICON-nest, ICON-lam or ICON-sub input: domain checker Ulrich Blahak (DWD) 2.03
Description

For ICON input which is not a global dataset (ICON-LAM, ICON-NEST or ICON-SUB) the int2lm simply crashes with a segfault if some COSMO domain points are outside the ICON domain. Two different methods for domain checks have now be implemented:

1) A graphical ASCII-ART map showing the ICON and COSMO domains and their overlap. This is very handy to detect domain problems.
New ASCII output files: "YUICON_COSMO_DOMAINS_[suv]" (s=scalar, u=u-points, v=v-points) is output in any case to show the domains.
"YUERROR_ICON_COSMO_DOMAINs_MISMATCH_[suv]" is output in case of COSMO domain too big / ICON domain too small.

2) In case of ICON-SUB, a checker for the rotated lat/lon domain specifications of ICON-SUB and COSMO

Technical Issues

None. 4-eyes pending.

Testing

Works as expected

2014-01-15 finish 2014-05-30 SLEVE2 coordinate Guy DeMorsier 2.01
Description

A generalized SLEVE (Smooth LEvel VErtical) coordinate with a modified vertical decay of the topographic signature with height is implemented as a new vertical coordinate type in INT2LM and in the COSMO-Model. It can be chosen with the parameter ivctype=4. For a detailed description see Leuenberger, D., M. Koller and C. Schär, 2010: An improved formulation of the SLEVE coordinate. Mon. Wea. Rev., 138 (9), 3683-3689, DOI: 10.1175/2010MWR3307.1

Basic changes to the INT2LM are in the module vgrid_refatm_utils.f90, in the Subroutines reference_atmosphere_2 and reference_atmosphere_BVconst, where the vertical coordinate values zbk and zbk2 are computed according to the modified formulation:

zbk (k) = SINH( (vc_type%vcflat/svc1)**zn - (vc_type%vert_coord(k)/svc1)**zn ) / SINH( (vc_type%vcflat/svc1)**zn )
zbk2(k) = SINH( (vc_type%vcflat/svc2)**zn - (vc_type%vert_coord(k)/svc2)**zn ) / SINH( (vc_type%vcflat/svc2)**zn )

With zn=1, the original SLEVE coordinate is computed. For the modified SLEVE a value of zn=1.35 is chosen.

Status

Up to February 2014: The modified SLEVE coordinate has been implemented and tested in local MeteoSwiss INT2LM implementations.

March 2014: The code has been given to the Source Code Administrator and to Uli Schättler for reviewing.

Technical Issues

The code has been given to Uli Schättler (DWD) to review the implementation (4-eyes principle).

All coding standards are fulfilled.

Testing

The modified SLEVE coordinate is only activitated if the Namelist variable ivctype=4 is set. For other values the results are not changed.

Tests have been performed at MeteoSwiss.

Documentation

An update of the INT2LM User Guide has been provided.

2014-01-01 finish 2014-09-15 Implementation of ICON to COSMO interpolation Thorsten Reinhardt 2.01
Description

Interpolation of the data from DWD's new global model ICON to the COSMO-grid is implemented.

ICON uses a similar icosahedral grid as GME, but the implementation is rather difficult. GME still uses regular 2D Fortran arrays to store the variables, but ICON chose a full irregular approach using indirect addressing. Therefore, the computation of the ICON grid is rather complex, and it is not computed during model run, but only pre-computed grids are read when the program starts. INT2LM takes over the necessary routines from ICON to deal with this irregular grid and do the horizontal interpolations to the COSMO grid. A new module src_icon_interpol.f90 is implemented for that issue.

Status

ICON to COSMO interpolation has been implemented in the first half of 2014. Since then it is tested.

A preliminary version of INT2LM has been distributed to all COSMO partners mid of October, who whose GME as driving model, to test ICON to COSMO interpolation for their setups.

Technical Issues

The COSMO Coding standards are fulfilled.

The implementation has been cross-checked by U. Blahak and U. Schättler.

Testing

The interpolation is tested in DWD's parallel suite.

Documentation

Extension of INT2LM documentation: How to use ICON data for the COSMO-Model has been documented in a new chapter of the INT2LM User Guide: "Driving Models for the COSMO-Model"

2013-12-01 finish 2014-05-30 Consolidation of GRIB2 and usage of grib_api Uli Schättler 2.01
Description

After implementing the new ECMWF grib_api to read and write GRIB1 and GRIB2 data into INT2LM, tests have started at DWD to port all model I/O to GRIB2. These tests showed that still not all GRIB2 meta data are set properly to run a forecast suite, where INT2LM, data assimilation cycle, forecast model and ensemble mode have to be adjusted. Therefore the implementation has to be adjusted.

Also, changes in the source code of INT2LM and the COSMO-Model are necessary to deal with the non-existent vertical coordinates. It has been agreed that the height field HHL and the full pressure P are transfered from INT2LM to the COSMO-Model and also within the COSMO data assimilation cycle with higher grib packing rate (24 bits per value). Several modules have to be adapted to eliminate the usage of the vertical coordinate parameters.

Status

Nov 2013: Tests (and work) started at DWD

April 2014: Consolidated code has been implemented in DWD versions of INT2LM.

July 2014: DWD switched on operational use of GRIB2 in all models.

Technical Issues

The code has been implemented according to the COSMO-Standards.

Several colleagues at DWD, who were also involved in coding GRIB2 in other models, reviewed the code.

Since July, the code runs operational at DWD in a special DWD version.

Testing

The code has been technically tested in experiments and in the DWD parallel suite, before it was used operationally since July 2014.

Documentation

A special COSMO page for GRIB2 is in preparation.

2013-06-28 finish 2013-08-19 Implementation of grib_api for reading / writing Uli Schättler 1.22
Description

Since some years, the new GRIB standard (GRIB2), defined by WMO, is ready to be used. ECMWF developed an application programmers interface (grib_api), which can be used within programs to read, create and manipulate grib messages for GRIB2, but still also for GRIB1. At DWD it has been decided to use grib_api as the official GRIB library in the future. Also the COSMO partners agreed to use grib_api. Therefore, grib_api will be implemented in the COSMO-Model and the INT2LM in the next few months.

At DWD the implementation is based on using the concept of the shortnames and the tables and definitions provided by grib_api. These tables and definitions have to be coordinated with the COSMO-partners.

In INT2LM, grib_api has been implemented in several steps:

  • First, only reading coarse grid data with grib_api has been implemented (version 1.18)
  • in a second step, also writing data with grib_api has been done (version 1.21)
  • and finally, writing the new general vertical coordinate is now possible (version 1.22)
Status

27.05.13: the new general vertical coordinate has been implemented, but there are still issues with grib_api. Version grib_api 1.11.0 is necessary to compile and link INT2LM with grib_api.

28.06.13: implementation finished; functionality tests ongoing

17.06.13: while restructuring the treatment of the vertical coordinate parameters, a bug in the module src_vert_inter_lm has been found:

  • while computing the boundary layer height, the vertical coordinate parameters akh_in, bkh_in were used to compute the reference pressure on the main levels and to compare it to 85000 Pascal.
  • But if incoming data have vertical coordinate type 2 (height based Gal-Chen coordinate), akh_in and bkh_in are not given in pressure values, but in height values.
  • This has been changed now, so that in all cases the pressure based values (sigm_coord) are used.

11.07.13: new version released as a test version

Technical Issues

Coding Standards: have been met

Functionality tests have been performed

4-eyes Assurance: will be done by DWD colleagues with grib_api experience

Testing

Single Test Cases: have been performed. For GME => COSMO-EU there are no changes of results.

The results for COSMO-EU => COSMO-DE, the results do change because of the bug fix in src_vert_inter_lm.f90

Documentation

A COSMO-web page has been set up to document the implementation and GRIB2 usage. This page is not yet visible (still work in progress). It will be enhanced in the next few weeks.

User Guide has been updated.

2013-06-28 finish 2013-08-19 Multi-layer treatment of IFS soil Davide Cesari 1.22
Description

With the current interpolation scheme for the IFS soil model, if you use l_multi_layer_lm=.TRUE. and yinput_model='IFS', the soil is first interpolated to the 2-layer soil model levels, and successively interpolated (actually extrapolated) to the multi-layer levels, so input temperature below the COSMO T_CL level gets lost and deep temperature is unrealistic. With a new direct interpolation all the input layers should influence the output, so higher precision and less extrapolation is obtained.

Status

A new direct interpolation scheme has been implemented.

Technical Issues

Coding Standards: are met

Technical Tests: have been performed

The new interpolation is activated when

  • yinput_model='IFS' and
  • l_multi_layer_in=.TRUE. (and of course l_multi_layer_lm=.TRUE.)

which was a forbidden combination before. When l_multi_layer_in=.FALSE. the old behaviour is retained.

So now the new version can be tested.

Testing

Single Test Cases, Experiments can now be done by all interested partners.

Documentation

See the release notes of Version 1.22

finish 2017-02-14 This version is just a re-naming of version numbers to be consistent with DWD internal version control, without changing the content Ulrich Blahak (DWD) 2.04