GRIB2 Meta Data and grib_api Keys for Product Definition Template 4.11

Last updated: January 2013

The following table lists the GRIB2 meta data and associated grib_api keys for the Product Definition Section of GRIB2 messages with Product Definition Template 4.11. This template is applicable to statistically processed COSMO-Model products for Ensemble forecasts.


Octets Key Name Comments
1-4 section4Length Length of section in octets (nn)
5 numberOfSection Number of section (4)
6-7 NV Number of coordinate values after Template. Coordinates values are intended to document the vertical discretisation associated with model data on hybrid coordinate vertical levels. A number of zero in octets 6-7 indicates that no such values are present. Otherwise the number corresponds to the whole set of values.
8-9 productDefinitionTemplateNumber 11
10 parameterCategory Parameter category according to Code Table 4.1
0Temperature
1Moisture
2Momentum
3Mass
4Short-wave radiation
5Long-wave radiation
6Cloud
13Aerosols
11 parameterNumber Parameter number according to Code Table 4.2:
For every discipline and category there is a group of parameter numbers. Please see the official WMO Tables or the ECMWF Manual Pages for these numbers.
12 typeOfGeneratingProcess Type of generating process according to Code Table 4.3:
0Analysis
1Initialization
2Forecast
4Ensemble forecast
13 backgroundProcess Background generating process identifier (defined by originating centre)
14 generatingProcessIdentifier Analysis or forecast generating processes identifier (defined by originating centre)
15-16 hoursAfterDataCutoff Hours of observational data cutoff after reference time
17 minutesAfterDataCutoff Minutes of observational data cutoff after reference time
18 indicatorOfUnitOfTimeRange Indicator of unit of time range according to Code Table 4.4:
0Minute
1Hour
2Day
3Month
4Year
5Decade (10 years)
6Normal (30 years)
7Century (100 years)
8-9Reserved
103 hours
116 hours
1212 hours
13Second
14-191Reserved
192-254Reserved for local use
255Missing
19-22 forecastTime Forecast time in units defined by octet 18. The reference time in Section 1 and the forecast time together define the beginning of the overall time interval
23 typeOfFirstFixedSurface Type of first fixed surface according to Code Table 4.5:
0Reserved
1Ground or water surface
2Cloud base level
3Level of cloud tops
4Level of 0°C isotherm
5Level of adiabatic condensation lifted from the surface
6Maximum wind level
7Tropopause
8Nominal top of the atmosphere
9Sea bottom
10Entire atmosphere
11Cumulonimbus (CB) base m
12Cumulonimbus (CB) top m
13-19Reserved
20Isothermal level K
21-99Reserved
100Isobaric surface Pa
101Mean sea level
102Specific altitude above mean sea level m
103Specified height level above ground m
104Sigma level "sigma" value
105Hybrid level
106Depth below land surface m
107Isentropic (theta) level K
108Level at specified pressure difference from ground to level Pa
109Potential vorticity surface K m2 kg-1 s-1
110Reserved
111Eta level
112-116Reserved
117Mixed layer depth m
118Hybrid height level
119Hybrid pressure level
120-149Reserved
150Generalized vertical coordinate (under validation)
151-159Reserved
160Depth below sea level m
161-191Reserved
192-254Reserved for local use
255Missing
24 scaleFactorOfFirstFixedSurface Scale factor of first fixed surface
25-28 scaledValueOfFirstFixedSurface Scaled value of first fixed surface
29 typeOfSecondFixedSurface Type of second fixed surface according to Code Table 4.5 (see above)
30 scaleFactorOfSecondFixedSurface Scale factor of second fixed surface
31-34 scaledValueOfSecondFixedSurface Scaled value of second fixed surface
35 typeOfEnsembleForecast Type of ensemble forecast according to Code Table 4.6
0Unperturbed high-resolution control forecast
1Unperturbed low-resolution control forecast
2Negatively perturbed forecast
3Positively perturbed forecast
4Multi-model forecastt
5-191Reserved
192-254Reserved for local use
255Missing
36 perturbationNumber Perturbation number
37 numberOfForecastsInEnsemble Number of forecasts in ensemble
38-39 yearOfEndOfOverallTimeInterval Year of end of overall time interval
40 monthOfEndOfOverallTimeInterval Month
41 dayOfEndOfOverallTimeInterval Day
42 hourOfEndOfOverallTimeInterval Hour
43 minuteOfEndOfOverallTimeInterval Minute
44 secondOfEndOfOverallTimeInterval Second
45 NumberOfTimeRange n - Number of time range specifications describing the time intervals used to calculate the statistically processed field
46-49 numberOfMissingInStatisticalProcess Total number of data values missing in statistical process
50-61 Specification of the outermost (or only) time range over which statistical processing is done
50 typeOfStatisticalProcessing Statistical process used to calculate the processed field from the field at each time increment during the time range (according to Code Table 4.10):
0Average
1Accumulation
2Maximum
3Minimum
4Difference (Value at the end of time range minus value at the beginning)
5Root mean square
6Standard deviation
7Covariance (Temporal variance)
8Difference (Value at the start of time range minus value at the end)
9Ratio
10Standardized anomaly
11-191Reserved
192-254Reserved for local use
255Missing
51 typeOfTimeIncrement Type of time increment between successive fields used in the statistical processing according to Code Table 4.11:
0Reserved
1Successive times processed have same forecast time, start time of forecast is incremented
2Successive times processed have same start time of forecast, forecast time is incremented
3Successive times processed have start time of forecast incremented and forecast time decremented so that valid time remains constant
4Successive times processed have start time of forecast decremented and forecast time incremented so that valid time remains constant
5Floating subinterval of time between forecast time and end of overall time interval. This applies to instances where a single time subinterval was used to calculate the statistically processed field. The exact starting and ending times of the subinterval are not given, but it is known that it is contained inclusively between the beginning time and the ending time of the overall interval.
6-191Reserved
192-254Reserved for local use
255Missing
52 indicatorOfUnitForTimeRange Indicator of unit of time for time range over which statistical processing is done (see Code Table 4.4 for octet 18)
53-56 lengthOfTimeRange Length of the time range over which statistical processing is done, in units defined by the previous octet
57 indicatorOfUnitForTimeIncrement Indicator of unit of time for the increment between the successive fields used (see Code Table 4.4 for octet 18)
58-61 timeIncrement Time increment between successive fields, in units defined by the previous octet
62-mm These octets are included only if n > 1, where mm = 46 + 12 ⋅ n
62-73 As octets 50 to 61, next innermost step of processing
74-mm Additional time range specifications, included in accordance with the value of n. Contents as octets 50 to 61, repeated as necessary.
mm-nn pv Optional list of coordinate values. These are encoded in IEEE 32-bit floating point format