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
- Implemented grib_api for Writing Grib Messages
- CLM Changes for NetCDF I/O
- Changes in the Namelists
- Changes of the Results
(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:
- Introduced global variables for the handles of grib sample data
- Added write formats: 'api1', 'api2' as additional
values for ylm_form_write.
- Implemented subroutine write_gribapi in io_utilities.f90.
- Modified modules src_gme_interpol and src_read_coarse_grid to
read W_SO and W_SO_ICE from GRIB1 with level type 'depthBelowLand'"
and from GRIB2 with level type 'depthBelowLandLayer'.
- New Namelist parameters for specifying GRIB2 meta data: nlocaldefnr and
nsubcenter.
Back to Contents
(by Burkhardt Rockel)
- Change some variables which had dimension of length 1 to scalar and hence reduce the
number of dimension IDs
(in data_int2lm_io.f90, src_lm_output.f90, src_read_coarse_grid.f90, src_read_ext.f90).
- Adaptation to new file name convention in netCDF I/O.
- Make read of reference date in netCDF input more flexible.
- Rename several local variables in read_nc_gdefs and read_nc_vdefs
to meet the coding standards.
Back to Contents
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
Existing applications are not influenced by these modifications.
Back to Contents