This page contains a few rules on the S2S parameters. A complete list of all the parameters and sample GRIB2 encoding is given here.
Scanning mode 0
|
ECMWF makes available a GRIB decoding library (ecCodes) for the benefit of the WMO community. ecCodes can be freely downloaded from here and the documentation can be found here.
ecCodes provides a simplified access to GRIB2 headers through a set of virtual keys documented here.
The so called tigge_check tool is a part of ecCodes package. It should be used to validate all GRIB2 files prepared for S2S (the option "-s" for the real-time outputs and option "-s -r" for S2S reforecast files). The tool is checking all encoding details so that only fully compliant S2S files following exactly required definitions would pass. Find more information about the tool in the page Data encoding checking tools
Octet 36 of section 1 of a GRIB2 message contains the Production status of processed data. The WMO has added two values to table 1.3 Production status of data:
It is proposed that the section 2 for S2S fields be the same for all partners. A GRIB2 decoder must decode the section 2 as a TIGGE extension based on the octet 36 of section 1 (Production status of processed data) being 6 or 7.
The format of the S2S extension is not yet defined. The section 2 should either be missing or empty.
Control and perturbed forecasts are identified in section 1 and 4. The following tables explains how to code them in GRIB2:
Section 1 | |||
---|---|---|---|
Octets | Example perturbed | Example control | |
21 | type of processed data | 4 | 3 |
Ensemble (section 4, template 4.61) | |||
---|---|---|---|
Octets | Example perturbed | Example control | |
8-9 | product definition template number | 1/11* (real-time) 60/61* (reforecast) | 1/11* (real-time) 60/61* (reforecast) |
35 | type of ensemble forecast | 255 (missing) | 255 (missing) |
36 | perturbation number | 7 | 0 |
37 | number of forecasts in ensemble | 51 | 51 |
real-time | re-forecast | |
Daily average | Control Perturbed | Control Perturbed |
Accumulations | Control Perturbed | Control Perturbed |
Instantaneous | Control Perturbed | Control Perturbed |
Maximum over the last 6 hours | Control Perturbed | Control Perturbed |
Minimum over the last 6 hours | Control Perturbed | Control Perturbed |
real-time | re-forecast | |
Daily average | Control Perturbed | Control Perturbed |
(*) ecCodes version>= 2.13.0 is needed to see correct MARS meta data