Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

General requirements

Encoding format

Units

Output frequency (TBD)

  • all details are available here 

Accumulations

  • All accumulations shall start from the beginning of the forecast
  • The initial state (forecast step zero) must not be included (as it should be 0 value field by definition)

Missing values

  • Bitmaps shall be used to indicate missing values (i.e. Soil temperature (st) shall be coded using a bitmap, because there is no model output over the sea)

...

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

WAVE-GRIB2 checking tool

TBD

Tool for checking input file compliance with the agreed GRIB2 format; any other additional checks (geometry, basic data quality i.e. allowed extremes check etc)? TBD

Encoding

...

details

The complete WMO compliant GRIB2 definitions of all wave parameters are linked in the parent page .The additional generally required Wave verification

General encoding details

...

Section 1
Octets Key nameValueDescription
6-7centre78COSMO products (code Offenbach edzw)
  84Meteo-France products (code Toulouse lfpw )
  82HARMONIE products (code Sweden eswi)
  74MO products (code UK Meteorological Office Exeter egrr)
TBDonly in local section i.e. not here?
10tablesVersion1719latest WMO table with some new definitions for UERRA 
20productionStatusOfProcessedData8TBD

operational UERRA products

  9test UERRA products

wave verification products

21typeOfProcessedData0Analysis products  1Forecast products

...

Section 4
OctetsKey name

Value

Description

8-9productDefinitionTemplateNumber

0

Analysis and Forecast products (instantaneous)

(Analysis or forecast at a horizontal level or in a horizontal layer at a point in time (grib2/tables/17/4.0.table))

  

8

Analysis and Forecast products (statistically processed = accumulated/min/max values)

(Average, accumulation, extreme values or other statistically processed values at a horizontal level or in a horizontal layer in a continuous or non-continuous time interval (grib2/tables/17/4.0.table))

Ensemble DA system (both analysis and forecast products)

...

Value

...

Description

...

1

 

...

Analysis and Forecast products (instantaneous)

(Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer at a point in time  (grib2/tables/17/4.0.table))

...

Analysis and Forecast products (statistically processed = accumulated/min/max values)

(Individual ensemble forecast, control and perturbed, at a horizontal level or in a horizontal layer, in a continuous or non-continuous time interval (grib2/tables/17/4.0.table))

...

Example

...

of the validity type encoding

...

Examples of UERRA compliant GRIB2 files

...

Accumulations

(evaporation)

...

grib

dump

...

grib

dump

...

Instantaneous on surface level

(Surface air temperature)

...

grib

dump

...

grib

dump

...

grib

dump

...

grib

dump

...

Instantaneous on model level

(Specific humidity on model level 1)

...

grib

dump

...

grib

dump

...

grib

dump

...

grib

dump

...

Maximum since previous post-processing

(Surface air maximum temperature since previous post-processing)

...

grib*

dump

...

grib*

dump

...

Minimum since previous post-processing

(Surface air minimum temperature since previous post-processing)

...

grib*

dump

...

grib*

dump

...

Parameter on soil level

(Soil temperature on soil level 1)

...

grib

dump

...

grib

dump

...

*disregard data values in this grib (some step/level values were created artificially as real data has not been available yet) 

Examples of encoding for various parameter validity types

Instantaneous

This example describes an instantaneous field  valid on 20120103 00Z from a forecast starting on 20120101 00Z (time step=48 hours) .

...

Time ( instantaneous )
Start of forecast ( section 1 )

Octets

 

 values

Meaning of valuesGrib_api values
12Significance of Reference Time1Start of forecast 
13-14Year (four digits)2012year of start of forecast

 

dataDate=20120101 

dataTime=0


15Month01month of start of forecast
16Day01day of start of forecast
17Hour00hour of start of forecast
 section 4 e.g. template 4.1
18Indicator of unit of time range 1Hour 
19-22Forecast time48Forecast stepstepType=instant, step=48
Accumulations

This example represents a  54 hour accumulation of a field produced by a forecast started on 20120101 00Z.

  • In bold, the values are fixed. They are meant to be used by all partners
  • In green, these are the values for the example.

...

Octets

...

Values

...

Examples of  the required GRIB2 files

parameter

Sample file

10 metre U wind component 

WAVE_165.128_1x1.grb2

10 metre V wind component 

WAVE_166.128_1x1.grb2
Mean wave period based on second momentWAVE_221.140_1x1.grb2
Mean wave directionWAVE_230.140_1x1.grb2
Peak wave periodWAVE_231.140_1x1.grb2

Significant height of combined wind waves and swell

WAVE_229.140_1x1.grb2

dataDate=20120101

dataTime=0

...

 

End of accumulated period, 20120103 06Z

...

   

 

endStep=54

 

 

...

Statistical process used to calculate the processed

field from the field at each time increment during the time range

...

stepType=accum

...

Type of time increment between successive fields used in the statistical processing

...

Successive times processed have same start time of forecast,

forecast time is incremented

...

Indicator of unit of time for time range over which statistical processing is done

...

Length of the time range over which statistical processing is done,

in units defined by the previous octet

...

 

...

Indicator of unit of time for the increment between the successive fields used

...

Time increment between successive fields, in units defined by the previous octet

...