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
The complete WMO compliant GRIB2 definitions of all wave parameters are linked in the page Wave verification
|
asdfaCentre codes (WMO Manual 306 - WMO Codes)
nazdar
|
Section 4 | |||
---|---|---|---|
Octets | Key name | Value | Description |
8-9 | productDefinitionTemplateNumber | 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)) |
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 values | Grib_api values | |
12 | Significance of Reference Time | 1 | Start of forecast | |
13-14 | Year (four digits) | 2012 | year of start of forecast |
dataDate=20120101 dataTime=0 |
15 | Month | 01 | month of start of forecast | |
16 | Day | 01 | day of start of forecast | |
17 | Hour | 00 | hour of start of forecast | |
section 4 e.g. template 4.1 | ||||
18 | Indicator of unit of time range | 1 | Hour | |
19-22 | Forecast time | 48 | Forecast step | stepType=instant, step=48 |
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 moment | WAVE_221.140_1x1.grb2 |
Mean wave direction | WAVE_230.140_1x1.grb2 |
Peak wave period | WAVE_231.140_1x1.grb2 |
Significant height of combined wind waves and swell | WAVE_229.140_1x1.grb2 |