Documentation of the Changes in the COSMO-Model
Version 4.30

08.11.2013

This version contains the last technical changes before the next big release.

Contents:

  1. Problems when reading boundary files with bitmaps
  2. New GRIB2 level types for FLake variables
  3. Initialization of prognostic rain, if no rain data are read from initial files
  4. Technical Changes and Bug Fixes
  5. Changes to the Namelists
  6. Changes of Results


1. Problems when reading boundary files with bitmaps

Because of the usage of the array ipds (for GRIB1 meta data for product definition section) in src_input and in src_output, a problem occured when running with boundary data defined on frames using a bitmap. After reading such boundary data, the bitmap-flag in ipds was set and never cleared. Therefore, all output data also had the bitmap-flag set without defining the bitmap-section.

Solution: Introduction of two different arrays ipds_in for input and ipds_out for output
(routines affected: data_io.f90, io_metadata.f90, src_input.f90, src_output.f90, src_sfcana.f90)

Back to Contents


2. New GRIB2 level types for FLake variables

In GRIB1, all FLake variables were coded with the level type "surface", which (of course) is not correct. Therefore, new leveltypes have been introduced for GRIB2, which are now officially accepted at WMO and are included in GRIB2, Version 11. The new level types are described in Code Table 4.5 and are listed below:

Number Name Unit
160 Depth below sea level m
161 Depth below water surface m
162 Lake or river bottom -
163 Bottom of sediment layer -
164 Bottom of thermally active sediment layer -
165 Bottom of sediment layer penetrated by thermal wave -
166 Mixing layer -

Because most FLake variables are valid for a layer in the lake, the typeOfFirstFixedSurface and the typeOfSecondFixedSurface are set different. In grib_api there are additional values for the coded key typeOfLevel (which is derived from the two keys typeOfFirstFixedSurface and typeOfSecondFixedSurface). The settings for the FLake variables are given below:

FLake variable grib_api typeOfLevel typeOfFirstFixedSurface typeOfSecondFixedSurface
DEPTH_LK entireLake 1 162
T_MNW_LK entireLake 1 162
GAMSO_LK entireLake 1 162
FETCH_LK surface 1 1
T_WML_LK mixedLayer 1 166
H_ML_LK mixedLayer 1 166
C_T_LK thermocline 166 162
T_BOT_LK lakeBottom 162 255
DP_BS_LK sedimentLayerTA 162 164
H_B1_LK sedimentLayerTW 162 165
T_BL_LK sedimentBottomTA 164 255
T_B1_LK sedimentBottomTW 165 255

Consequences for the COSMO-Model:
The check for typeOfLevel has been omitted now in the COSMO-Model. Using grib_api this is implicitly done by checking the shortName (as long as there are not several variables with the same GRIB2 triple but different typeOfLevels). Also, for output the typeOfLevel need not be set, because it is again implicitly set by setting the shortName.

Back to Contents


3. Initialization of prognostic rain, if no rain data are read from initial files

In Version 4.23 the option to run without prognostic precipitation was removed. At the same time, initialization of rain and snow was moved from the first time step to the initialization phase of the physics. But at this stage the variable dt2 (=2*dt) was not set. This has been added now in subroutine organize_physics.f90.

Back to Contents


4. Technical Changes and Bug Fixes

Back to Contents


5. Changes to the Namelists

There were no changes to the Namelists.

Back to Contents


6. Changes of Results

There are no changes of results!

Back to Contents


This version will be renamed to COSMO-Model 5.0 beginning of November!