Versions Compared

Key

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

...

General requirements

Encoding format

Units

Output frequency

  • The model output steps should be between 1 and 12 hour

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)

Grid and resolution

  • The fields have to be provided on a  regular latitude‐longitude grid at the resolution that is best matching the native resolution of the direct  model output.
  • Grids are defined in GRIB2 using an accuracy of 1/1000000 (one millionth) of a degree.
  • If several limited areas will be provided  they should be merged into one larger area on a regular lat-lon grid, with a missing value indicator in the grid-points not covered.

GRIB2 encoding

All data must be encoded following the required rules described below to achieve fully compliant LC-WFV format from all centres.

Encoding software

ECMWF makes available a GRIB decoding library (ecCodes) for the benefit of the WMO community. The 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

For more general information about GRIB2 format please refer to WMO Manual on Codes .

Encoding details

The complete WMO compliant GRIB2 definitions of all wave parameters are linked in the page Wave verification

General encoding details

 

...

Parameters

General encoding

Specific details which should be encoded in GRIB2 sections 1 and 4:

...

Section 1
Octets Key nameValueDescription
6-7centreXWMO Centre's code (

...

table below)
8-9subCentreX

...

WMO Sub-Centre's code if needed (table below)
10tablesVersion19The latest WMO table
20productionStatusOfProcessedData0

...

Operational products

...

Production data



1

...

Test data
21typeOfProcessedData0Analysis products


1Forecast products

...

 

asdfa


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))

WMO Centre codes

The codes below are based on

...

WMO Manual 306 - WMO Codes

...

. Each organization must be uniquely identified by its WMO code. If necessary to distinguish between two organizations using the same WMO code the Sub-Centre one which differs must be provided.

OrganisationAcronym

...

WMO Centre codeWMO subCentre codeCentre acronym*1

European Centre for  Medium-Range Weather, UK

ECMWF

...

98

...

 N/A

...

ECMWF (RSMC)

ecmf
Met office, UKUKMO

...

74

...

 N/Aegrr

...

Fleet Numerical Meteorology and Oceanography

...

Center, USAFNMOC

...

58

...

 N/Afnmo
Environment and Climate Change Canada, CanadaECCC

...

54 N/A

...

cwao
National Centres for Environmental Prediction, USANCEP

...

7 

...

N/Akwbc
Météo France, FranceMETFR

...

84 N/A

...

lfpw
Deutscher Wetterdienst, GermanyDWD

...

78 N/A

...

edzw
Bureau of Meteorology, AustraliaBoM

...

1 N/A

...

ammc
Laboratoire D'Océanographie Physique et Spatiale

...

, France

...

LOPS

...

84

...

202

...

lops

...

Japan Meteorological Agency, JapanJMA

...

34 

...

N/Arjtd
Korea Meteorological Administration, Republic of KoreaKMA

...

40 N/A

...

rksl
Puertos del Estado, SpainPRTOS

...

214

...

 N/Alemm
Danmarks Meteorologiske Institut, DenmarkDMI

...

94 N/A

...

ekmi

National Institute of Water

...

and Atmospheric Research, New Zealand

NIWA

...

204 

...

N/Aniwa

...

Det Norske Meteorologiske Institutt, Norway

METNO

...

88 N/A

...

enmi

Servicio de Hidrografía Naval, Servicio Meteorológico, Argentina

SHNSM

...

41 N/A

...

sabm

New Zealand MetService

NZMS

...

69 N/A

...

nzkl
Servizio Meteorologico dell'Aeronautica Militare, ItalyMETEOAM

...

80 N/A

...

cnmc

...

 

nazdar

 

 

 

 

 

...

Value

...

Description

...

0

Analysis and Forecast products (instantaneous)

Remarks:

*1 in ECMWF's eCcodes

...


Example of the validity type encoding

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

Examples of  the required GRIB2 files

parameter

Sample file

10 metre U wind component 

WAVE_165.128_1x1.grb2wave.10u.grib2

10 metre V wind component 

WAVE_166.128_1x1.grb2wave.10v.grib2
Mean wave period based on second momentWAVE_221.140_1x1.grb2wave.mp2.grib2
Mean wave directionWAVE_230.140_1x1.grb2wave.mwd.grib2
Peak wave periodWAVE_231.140_1x1.grb2wave.pp1d.grib2

Significant height of combined wind waves and swell

WAVE_229.140_1x1.grb2

 

 

...