Contents of the sample static dataset

To help users begin planning for the migration, we have produced an initial static sample dataset which provides sample data encoded in GRIB edition 2 from: 

Sample data encoded in GRIB2 from the ensemble post-processed products (ensemble mean, maximum, etc, EFI and Sot), ensemble hindcasts, sub-seasonal and sub-seasonal hindcasts will also be made available in due course.

The sample data are based on the output from the current IFS cy49r1 output for the 00 UTC cycle on 30 November 2024 but encoded in GRIB2 as the data which will be produced by IFS cy51r1 are currently expected to be encoded.  All fields provided are global and interpolated to a 1.0° x1.0° regular latitude-longitude grid.

Where to obtain the static sample dataset

On both the ECMWF HPC and the web server, the data are organised in a directory structure described in the next section.

Directory structure of static sample dataset

Data are ordered in a MARS-like folder structure under <root_dir>/<class>/<stream>/<type>/<levtype>.  Shown below is a diagrammatic layout of the structure under <root_dir>=/ec/vol/mtg2_sample/: 

<root_dir>/od/enfo
└── pf
    ├── pl
    ├── pt
    ├── pv
    ├── sfc
    └── sol

<root_dir>/od/oper
├── an
│   ├── ml
│   ├── pl
│   ├── pt
│   ├── pv
│   ├── sfc
│   └── sol
└── fc
    ├── ml
    ├── pl
    ├── pt
    ├── pv
    ├── sfc
    └── sol

<root_dir>/od/waef
└── pf
    └── sfc

<root_dir>/od/wave
├── an
│   └── sfc
└── fc
    └── sfc

Structure of file names

Each directory at the end of a branch of the tree contains one file per parameter with all forecast time steps.  The files are named <paramId>_<class>_<stream>_<type>_<levtype>_<shortName>_<year>_<expver>_<gridType>.grib2 and are based on the ecCodes paramId, shortName and gridType and the MARS class, stream, type, levtype used for the current operational output at IFS cy49r1.

For example, the file named 151_od_oper_fc_sfc_msl_2024_0001_regular_ll.grib2 in the <root_dir>/od/oper/fc/sfc/ directory contains the GRIB2 encoding of mean sea-level pressure from the Control (ex-HRES) forecast at all available forecast steps. 

Who should use the initial static sample dataset ?

The initial static sample dataset is aimed at GRIB encoding and decoding specialists that need early access to samples of ECMWF GRIB2 data to test and prepare any decoding software used that is not based on ECMWF ecCodes GRIB encoding and decoding software to handle the GRIB2 ECMWF data.  The dataset is not suitable for the general users of ECMWF data that want to test their full processing chain.

Sample data for the general user will be made available in the coming months when it will be possible to download the data from the ECMWF MARS archive and process the data using versions of ECMWF software, such as ecCodes and Metview that fully support the new ECMWF GRIB2 encoding.

What can be tested using the static sample dataset ?

The static sample dataset can be used for making some basic tests using your GRIB decoder to ensure the data can be read correctly.  In particular, testing is encouraged if you use a third-party GRIB decoder, such as wgrib2, which is not based on ecCodes.

If your decoder is based on ecCodes then ecCodes version 2.42.0 should be used  - see ecCodes version 2.42.0 released.  This is available for download from our ecCodes Releases page.

Note that ecCodes version 2.42.0 comes with a significant reworking of the concepts and lookup related to the paramIds/shortNames/names as well as the keys in the MARS namespace in preparation for the migration to GRIB2.  This mechanism is predominantly handled by the WMO tables version, with tablesVersion 33 imposing the pre or post migration behaviour.  All data using the MARS namespace will default to this switching behaviour, but some exceptions have been implemented to, for example, preserve ECMWF operations until IFS CY51R1.  See the ecCodes version 2.42.0 release notes for further details.

In particular, ecCodes version 2.42.0 should be used with care and not introduced into any operational processing chain unless it has been fully tested beforehand to ensure that none of the changes impact your production.

For users with access to the ECMWF Atos HPC, ecCodes 2.42.0 is also installed as part of the 2025.06.0.0 version of the ecmwf-toolbox.  This can be accessed on the Atos using:

$ module load ecmwf-toolbox/2025.06.0.0

$ grib_ls -V

ecCodes Version 2.42.0

Version 2025.06.0.0 of the ecmwf-toolbox also provides an installation of Metview linked with ecCodes 2.42.0 and which can be used to test Metview code that process the static sample data.

The static sample dataset can be decoded by versions of ecCodes older than 2.42.0 but some keys, in particular the shortName and paramId, may not be set correctly.  However, it is possible use the grib_dump tool to inspect the GRIB headers and here the keys are set to the correct values as far as we are aware.

In general, the static sample dataset  is not suitable for initialising an NWP model.  Although encoding examples of all parameters at all forecast steps are provided, for those parameters on constant pressure levels, for example, only the 1hPa level is provided.  However, users that use initial and lateral boundary conditions (LBCs) from ECMWF data to initialise and update their NWP models should note the change in the way the parameters on soil levels are provided as this may require changes to your code.  Instead of having four separate parameters at each soil layer (level), in GRIB2 there will be one parameter available at each of the four layers - see Soil temperature, volumetric soil moisture and sea-ice temperature, below, for details.

Other sources of ECMWF GRIB2 data that can be used for testing

Along with the static sample dataset, users can also use the ECMWF Open Data to test their processing of GRIB2 data.  All of the open data are encoded in GRIB2.  For more information about these data and how to obtain them, see ECMWF open data: real-time forecasts from IFS and AIFS.

Changes to encoding of parameter paramId, shortName, name and units

The encoding of the ecCodes paramId, shortName, name and units have changed for some surface parameters from the analysis and forecast.  Users may need to adapt their workflows in order to process these parameters successfully.  The main changes affecting parameters provided in the static sample dataset are summarised below.  For a list of all changes to parameter encoding made at each ecCodes version, see Migration to GRIB2 - new in ecCodes.

Soil temperature, volumetric soil moisture and sea-ice temperature

In GRIB1, soil temperature, volumetric soil moisture and sea-ice temperature have different paramIds for each of the 4 soil layers.  In GRIB2, only a single paramId is used with the layer indicated by the level key.

For example, in GRIB1, there is a paramId for Volumetric soil water layer 1 and a different paramId for Volumetric soil water layer 2, etc.  In GRIB2, only a single paramId is used for Volumetric soil water, with the layer 1 having level=1 and layer 2 having level=2. 

Old paramIdOld shortNameOld nameOld unitsNew paramIdNew shortNameNew nameNew unitslevel
139stl1Soil temperature level 1K260360sotSoil temperatureK1
170stl2Soil temperature level 2K260360sotSoil temperatureK2
183stl3Soil temperature level 3K260360sotSoil temperatureK3
236stl4Soil temperature level 4K260360sotSoil temperatureK4
39swvl1Volumetric soil water layer 1m**3 m**-3260199vswVolumetric soil moisturem**3 m**-31
40swvl2Volumetric soil water layer 2m**3 m**-3260199vswVolumetric soil moisturem**3 m**-32
41swvl3Volumetric soil water layer 3m**3 m**-3260199vswVolumetric soil moisturem**3 m**-33
42swvl4Volumetric soil water layer 4m**3 m**-3260199vswVolumetric soil moisturem**3 m**-34
35istl1Ice temperature layer 1K262024sitSea ice temperature K1
36istl2Ice temperature layer 2K262024sitSea ice temperature K2
37istl3Ice temperature layer 3K262024sitSea ice temperature K3
38istl4Ice temperature layer 4K262024sitSea ice temperature K4

These parameters will be archived in MARS with levtype=sol (surface other levels).  To retrieve these parameters in GRIB2, users will need to change their MARS requests to specify levtype=sol,levelist=1/2/3/4.

Parameters statistically processed over a time window

In GRIB1, parameters that are statistically processed over a time window, such and maximum, minimum and average values over the last 3 or 6 hours, have different paramIds for each time window available.  In GRIB2, there is a unique paramId indicating the parameter and type of statistical processing, e.g., paramId=237167, shortName=max_2t for maximum temperature at 2 metres.  A separate key, called statisticalwindow, is then used to specify the time window.  For example, paramId=237167, statisticalwindow=3h identifies maximum temperature at 2 metres during the last 3 hours.

This change applies to:

To retrieve these parameters in GRIB2 from MARS, users will need to use the new paramId and also specify the statistical processing time window using a new MARS keyword - timespan - that is to be introduced. 

Maximum 10m wind gust

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameNew ParamIdNew shortNamenameunitstimespanstepType
4910fgMaximum 10 metre wind gust since previous post-processing237318max_i10fgTime-maximum 10 metre wind gustm s**-11h/3h/6hmax
22802810fg3Maximum 10 metre wind gust in the last 3 hours237318max_i10fgTime-maximum 10 metre wind gust m s**-13hmax
12310fg6Maximum 10 metre wind gust in the last 6 hours237318max_i10fgTime-maximum 10 metre wind gust m s**-16hmax

Maximum and minimum 2m temperature

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameNew ParamIdNew shortNamenameunitstimespanstepType
201mx2tMaximum temperature at 2 metres since previous post-processing237167max_2tTime-maximum 2 metre temperature K1h/3h/6hmax
202mn2tMinimum temperature at 2 metres since previous post-processing238167min_2tTime-minimum 2 metre temperatureK1h/3h/6hmin
228026mx2t3Maximum temperature at 2 metres in the last 3 hours237167max_2tTime-maximum 2 metre temperature K3hmax
228027mn2t3Minimum temperature at 2 metres in the last 3 hours238167min_2tTime-minimum 2 metre temperatureK3hmin
121mx2t6Maximum temperature at 2 metres in the last 6 hours 237167max_2tTime-maximum 2 metre temperature K6hmax
122mn2t6Minimum temperature at 2 metres in the last 6 hours238167min_2tTime-minimum 2 metre temperature K6hmin

Maximum and minimum total precipitation rate

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameOld unitsNew paramIdNew shortNameNew nameNew unitstimespanstepType
228226mxtprMaximum total precipitation rate since previous post-processingkg m**-2 s**-1 237055max_tprateTime-maximum total precipitation ratekg m**-2 s**-1 1h/3h/6hmax
228227mntprMinimum total precipitation rate since previous post-processingkg m**-2 s**-1 238055min_tprateTime-minimum total precipitation ratekg m**-2 s**-1 1h/3h/6hmin
228222mxtpr3Maximum total precipitation rate in the last 3 hourskg m**-2 s**-1 237055max_tprateTime-maximum total precipitation ratekg m**-2 s**-13hmax
228223mntpr3Minimum total precipitation rate in the last 3 hourskg m**-2 s**-1 238055min_tprateTime-minimum total precipitation ratekg m**-2 s**-13hmin
228224mxtpr6Maximum total precipitation rate in the last 6 hourskg m**-2 s**-1 237055max_tprateTime-maximum total precipitation ratekg m**-2 s**-16hmax
228225mntpr6Minimum total precipitation rate in the last 6 hourskg m**-2 s**-1 238055min_tprateTime-minimum total precipitation ratekg m**-2 s**-16hmin

Maximum CAPE and CAPE Shear

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameOld unitsNew paramIdNew shortNameNew nameNew unitstimespanstepType
228035mxcape6Maximum CAPE in the last 6 hoursJ kg**-1237287max_capeTime-maximum convective available potential energy J kg**-16hmax
228036mxcapes6Maximum CAPES in the last 6 hoursm**2 s**-2237321max_capesTime-maximum convective available potential energy shearm**2 s**-26hmax

Mean total lightning flash density

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameOld unitsNew paramIdNew shortNameNew nameunitstimespanstepType
228051litota1Averaged total lightning flash density in the last hourkm**-2 day**-1235326avg_litotiTime-mean total lightning flash density km**-2 day**-11h/3h/6havg
228057litota3Averaged total lightning flash density in the last 3 hourskm**-2 day**-1235326avg_litotiTime-mean total lightning flash density km**-2 day**-13havg
228058litota6Averaged total lightning flash density in the last 6 hourskm**-2 day**-1235326avg_litotiTime-mean total lightning flash density km**-2 day**-16havg

Most severe and most frequent precipitation type

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameNew paramIdNew shortNameNew nametimespanstepType
260318ptype_sev1hPrecipitation type (most severe) in the last 1 hours260682sev_ptypeTime-severity precipitation type1hseverity
260319ptype_sev3hPrecipitation type (most severe) in the last 3 hours260682sev_ptypeTime-severity precipitation type3hseverity
260338ptype_sev6hPrecipitation type (most severe) in the last 6 hours260682sev_ptypeTime-severity precipitation type6hseverity
260320ptype_freq1hPrecipitation type (most frequent) in the last 1 hours260683freq_ptypeTime-mode precipitation type1hmode
260321ptype_freq3hPrecipitation type (most frequent) in the last 3 hours260683freq_ptypeTime-mode precipitation type3hmode
260339ptype_freq6hPrecipitation type (most frequent) in the last 6 hours260683freq_ptypeTime-mode precipitation type6hmode

Ocean model output

The paramId's and shortNames for the following output from the ocean model have changed.  In addition:

Key values that are different are highlighted in bold.

Old paramIdOld shortNameOld nameOld unitsNew paramIdNew shortNameNew nameNew units
151130soSea water practical salinitypsu262100sosSea surface practical salinityg kg**-1
151131ocuEastward surface sea water velocitym s**-1262140sveEastward surface sea water velocitym s**-1
151132ocvNorthward surface sea water velocitym s**-1262139svnNorthward surface sea water velocitym s**-1
151145zosSea surface heightm262124zosSea surface heightm
151148mldMixed layer depthm3067mldMixed layer depthm
151163t20dDepth of 20C isothermm262104t20dDepth of 20 C isothermm
151164tav300Average potential temperature in the upper 300mdegrees C262144pt300mAverage sea water potential temperature in the upper 300mK
151175sav300Average sea water practical salinity in the upper 300mpsu262118sc300mAverage sea water practical salinity in the upper 300 mg kg**-1
174098sithickSea-ice thicknessm262000sithickSea ice thicknessm


Parameters provided with WMO units

For some parameters, ECMWF has been providing values in units which are not the official WMO units.  The static sample dataset also includes examples of the same parameters but with values provided in the official WMO units.  These parameters are provided in files identified by the ECMWF paramId and shortName in the file name but with the additional tag "_wmo_units".  For example, the total precipitation parameter, which ECMWF has been providing in units of "metres" (m), is also provided in units of kg/m2 in a file named 228_od_oper_fc_sfc_tp_2024_0001_regular_ll_wmo_units.grib2.

141_od_oper_an_sfc_sd_2024_0001_reduced_gg.grib2

15_od_oper_an_sfc_aluvp_2024_0001_reduced_gg.grib2

164_od_oper_an_sfc_tcc_2024_0001_reduced_gg.grib2

16_od_oper_an_sfc_aluvd_2024_0001_reduced_gg.grib2

174_od_oper_an_sfc_al_2024_0001_reduced_gg.grib2

17_od_oper_an_sfc_alnip_2024_0001_reduced_gg.grib2

186_od_oper_an_sfc_lcc_2024_0001_reduced_gg.grib2

187_od_oper_an_sfc_mcc_2024_0001_reduced_gg.grib2

188_od_oper_an_sfc_hcc_2024_0001_reduced_gg.grib2

18_od_oper_an_sfc_alnid_2024_0001_reduced_gg.grib2

198_od_oper_an_sfc_src_2024_0001_reduced_gg.grib2

206_od_oper_an_sfc_tco3_2024_0001_reduced_gg.grib2

210186_od_oper_an_sfc_aluvpi_2024_0001_reduced_gg.grib2

210187_od_oper_an_sfc_aluvpv_2024_0001_reduced_gg.grib2

210188_od_oper_an_sfc_aluvpg_2024_0001_reduced_gg.grib2

210189_od_oper_an_sfc_alnipi_2024_0001_reduced_gg.grib2

210190_od_oper_an_sfc_alnipv_2024_0001_reduced_gg.grib2

210191_od_oper_an_sfc_alnipg_2024_0001_reduced_gg.grib2

32_od_oper_an_sfc_asn_2024_0001_reduced_gg.grib2



.Parameters encoded with ECMWF units

Parameters encoded with WMO units

paramIdshortNamenameunitsparamIdshortNamenameunits
  • od/oper/an
  • od/oper/fc
  • od/enfo/pf
141sdSnow depthm of water equivalent3066sdeSnow depthm
  • od/oper/fc
  • od/enfo/pf
142lspLarge-scale precipitationm3062lspLarge-scale precipitationkg m**-2
  • od/oper/fc
  • od/enfo/pf
143cpConvective precipitationm228143cpConvective precipitationkg m**-2
  • od/oper/fc
144sfSnowfallm of water equivalent260025asnowTotal snowfallm
  • od/oper/fc
182e

 
  
  • od/oper/an
198srcSkin reservoir contentm of water equivalent160198srconSkin reservoir contentkg m**-2
  • od/oper/fc
205roRunoffm231002roweRunoff water equivalent (surface plus subsurface)kg m**-2
  • od/oper/fc
228216fzraAccumulated freezing rainm231001fzraweAccumulated freezing rain water equivalentkg m**-2
  • od/oper/fc
228251pevPotential evaporationm231005peva Potential evaporationkg m**-2
  • od/oper/fc
228tpTotal precipitationm228228tpTotal precipitationkg m**-2
  • od/oper/fc
243fal

 

 
  • od/oper/fc
44es 

Snow evaporation

m of water equivalent231003esweSnow evaporation water equivalentkg m**-2
  • od/oper/fc

45

smltSnowmeltm of water equivalent3099snomSnowmeltkg m**-2
  • od/oper/fc
8sroSurface runoffm231010ssurfroSurface runoffkg m**-2
  • od/oper/fc
9ssroSub-surface runoffm231012ssurfroSub-surface runoffkg m**-2



Parameters encoded with ECMWF unitsParameters encoded with WMO units

paramIdshortNamenameunitsparamIdshortNamenameunits
  • od/oper/an
  • od/oper/fc
164tccTotal cloud cover(0 - 1)228164tccTotal cloud cover %
  • od/oper/an
186lccLow cloud cover(0 - 1)3073lccLow cloud cover%
  • od/oper/an
187mccMedium cloud cover(0 - 1)3074mccMedium cloud cover%
  • od/oper/an
188hccHigh cloud cover(0 - 1)3075hccHigh cloud cover%









  • od/oper/an
15aluvp





  • od/oper/an
16aluvd





  • od/oper/an
17alnip





  • od/oper/an
18alnid





  • od/oper/an
  • od/oper/fc
32asnSnow albedo(0 - 1) 228032asnSnow albedo%
  • od/oper/an
  • od/oper/fc
174alAlbedo (climatological)(0 - 1) 260509alForecast albedo%
  • od/oper/an
  • od/oper/fc
210186aluvpiUV visible albedo for direct radiation, isotropic component (climatological)(0 - 1)210201aluvpi_pUV visible albedo for direct radiation, isotropic component (climatological)%
  • od/oper/an
  • od/oper/fc
210187aluvpvUV visible albedo for direct radiation, volumetric component (climatological)(0 - 1)210202aluvpv_pUV visible albedo for direct radiation, volumetric component (climatological)%
  • od/oper/an
  • od/oper/fc
210188aluvpgUV visible albedo for direct radiation, geometric component (climatological)(0 - 1)210200aluvpg_pUV visible albedo for direct radiation, geometric component (climatological)%
  • od/oper/an
  • od/oper/fc
210189alnipi

Near IR albedo for direct radiation, isotropic component (climatological)

(0 - 1)210263alnipi_p

Near IR albedo for direct radiation, isotropic component (climatological)

%
  • od/oper/an
  • od/oper/fc
210190alnipvNear IR albedo for direct radiation, volumetric component (climatological)(0 - 1)210264alnipv_pNear IR albedo for direct radiation, volumetric component (climatological)%
  • od/oper/an
  • od/oper/fc
210191alnipgNear IR albedo for direct radiation, geometric component (climatological)(0 - 1)210262alnipg_pNear IR albedo for direct radiation, geometric component (climatological)%





  

  • od/oper/an
  • od/oper/fc
206tco3

Total column ozone

kg m**-2260132tciozTotal column integrated ozoneDU