Documentation of the Changes in INT2LM
Version 1.21

22.03.2013

In this version the interfaces to write GRIB (1 and 2) messages with ECMWF's new grib library, the grib_api, have been implemented

Contents:

  1. Implemented grib_api for Writing Grib Messages
  2. CLM Changes for NetCDF I/O
  3. Changes in the Namelists
  4. Changes of the Results

1. Implemented grib_api for Writing Grib Messages

(by Uli Schättler)

The INT2LM has been extended with the interfaces for grib_api to write grib-messages now also with the new ECMWF grib-library. Choosing the grib_api for writing can be specified by the Namelist variable ylm_form_write with the values api1 and api2, resp.

NOTE:
This is a first implementation, so that everybody can test now. It is expected that problems could still occur.

NOTE:
A documentation of GRIB2, grib_api and its usage will be provided on the COSMO web page in a few weeks (when grib_api is also implemented into the COSMO-Model)

The following list gives the basic changes done:

Back to Contents


2. CLM Changes for NetCDF I/O

(by Burkhardt Rockel)

Back to Contents


3. Changes of the Namelists

New Namelist variables:

Group Name Meaning Default
/DATA/ nlocaldefnr to set a local definition number for GRIB2 Local Use Section. The following numbers are accepted:
254 DWD local definition number for standard products
253 DWD local definition number for ensemble products
252 DWD local definition number for ensemble and postprocessing products
250 COSMO local definition number: still under construction
The default value of -1 indicates, that no local section should be defined in the GRIB data.
-1
nsubcenter to define a sub-center per namelist input for proper setting of GRIB (2) meta data. 255

Namelist variables with additional values:

Group Name Meaning Default
/DATA/ ylmext_form_read Input format of external data for the COSMO-Model. This variable now accepts an additional value for reading files with grib_api:
  • 'grb1': to choose the DWDLIB for Grib1
  • 'ncdf': to choose NetCDF input
  • 'apix': to choose the grib_api for Grib1 or Grib2: NEW
'grb1'
yinext_form_read Input format of external data for the driving model. This variable now accepts an additional value for reading files with grib_api:
  • 'grb1': to choose the DWDLIB for Grib1
  • 'ncdf': to choose NetCDF input
  • 'apix': to choose the grib_api for Grib1 or Grib2: NEW
'grb1'
ylm_form_write Output format of COSMO-Model data. This variable now accept additional values for writing files with grib_api:
  • 'grb1': to choose the DWDLIB for Grib1
  • 'ncdf': to choose NetCDF output
  • 'api1': to choose the grib_api for writing Grib1 data: NEW
  • 'api2': to choose the grib_api for writing Grib2 data: NEW
'grb1'

Back to Contents


7. Changes of the Results

Existing applications are not influenced by these modifications.

Back to Contents