In progress. All details still to be updated.. |
Scanning mode 0
|
CCSDS compression should be used
All data must be encoded following the required rules described below to achieve fully compliant WPMIP format from all centres.
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.
For more general information about GRIB2 format please refer to WMO Manual on Codes .
Specific details which should be encoded in GRIB2 sections 1 and 4:
Section 1 | ||||
---|---|---|---|---|
Octets | Key name | Value | Description | Comments |
6-7 | centre | X | WMO Centre's code (table below) | |
8-9 | subCentre | 0 | WMO Sub-Centre's code if needed (table below) | |
10 | tablesVersion | 36 | The latest WMO table*1 | |
11 | localTablesVersion | 0 | Local tables not used | |
20 | productionStatusOfProcessedData | 16 | Weather Prediction Model Intercomparison Project *2 | To use during production phase |
17 | Weather Prediction Model Intercomparison Project *2 | To use during testing phase | ||
21 | typeOfProcessedData | 0 | Analysis products | |
1 | Forecast products |
*1 New WMO tables version 36 (containing also new WPMIP keys) will be officialy released by WMO later in 2025 (November)
*2 New codes for the WPMIP (part of GRIB 2 tables version 36) to be approved by WMO by August 2025 (Manual on Codes (WMO-No. 306), Volume I.2, GRIB code table 1.3)
Section 4 | |||
---|---|---|---|
Octets | Value (Example perturbed) | Value (Example control) | |
8-9 | productDefinitionTemplateNumber | 1/11* | 1/11* |
13 | backgroundProcess | ||
14 | generatingProcessIdentifier | ||
35 | typeOfEnsembleForecast | 255 (missing) | 255 (missing) |
36 | perturbationNumber | 7 | 0 |
37 | numberOfForecastsInEnsemble | 51 | 51 |
(*) statistically processed (typeOfStatisticalProcessing is set up)
Section 5 | |||
---|---|---|---|
Octets | Value | Description | |
10-11 | dataRepresentationTemplateNumber | 42 | [Grid point data - CCSDS recommended lossless compression (grib2/tables/29/5.0.table) ] |
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.
Organisation | Acronym | WMO Centre code | Centre acronym*1 |
---|---|---|---|
China Meteorological Administration, China | CMA | babj | |
European Centre for Medium-Range Weather, UK | ECMWF | 98 | ecmf |
Japan Meteorological Agency, Japan | JMA | 34 | rjtd |
National Centres for Environmental Prediction, USA | NCEP | 7 | kwbc |
National Aeronautics and Space Administration | NASA | nasa |
Remarks:
*1 in ECMWF's ecCodes package
parameter | Sample file | GRIB metadata dump*1 |
---|---|---|
*1 using "grib_dump -O" command from ecCodes package