This page contains a few rules on the S2S parameters. A complete list of all the parameters and sample GRIB2 encoding is given here.

General rules

Units

Accumulations

Instantaneous fields

Daily mean/max/min

Re-forecasts

Fluxes

Missing values

Grid and resolution

Number of forecasts

GRIB2 encoding

ECMWF encoding/decoding Software

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

S2S GRIB2 checking tool

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

Encoding

1) S2S Production status of processed data

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:

S2S extension (Section 2)

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.

2) Control and perturbed forecasts

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 perturbedExample control
21type of processed data4 3 


Ensemble (section 4, template 4.61)
Octets
Example perturbedExample control
8-9product definition template number

1/11* (real-time)

60/61* (reforecast)

1/11* (real-time)

60/61* (reforecast)

35type of ensemble forecast255 (missing) 255 (missing) 
36perturbation number70
37number of forecasts in ensemble5151

3) Time component and reforecasts 

real-timere-forecast
daily averagedaily average
accumulationsaccumulations
instantaneousinstantaneous
maximum over the last 6 hoursmaximum over the last 6 hours
minimum over the last 6 hoursminimum over the last 6 hours

4) Examples of GRIB2 files


real-timere-forecast
Daily averageControl  PerturbedControl Perturbed
AccumulationsControl  PerturbedControl  Perturbed
InstantaneousControl  PerturbedControl Perturbed
Maximum over the last 6 hoursControl  PerturbedControl Perturbed
Minimum over the last 6 hoursControl Perturbed
Example of a new ocean parameter *

real-timere-forecast
Daily averageControl  PerturbedControl Perturbed

(*) ecCodes version>= 2.13.0 is needed to see correct MARS meta data