The aim of this course is to introduce students to ecCodes: A package developed by ECMWF which provides an application programming interface and a set of tools for decoding and encoding GRIB messages.

Note: The version of the ecCodes software used for this training course is now released (v2.6.0). Please see here.

 Monday 26th FebruaryTuesday 27th FebruaryWednesday 28th FebruaryThursday 1st March
9:30 - 11:00 


  • Coded and computed keys
  • Namespaces
  • Examples of keys
      Slides

Xavi Abellan (30 minutes)

 

Paul Dando (60 minutes)

 


  • Use of the indexing routines
  • Encoding GRIB messages and using GRIB samples
    Slides

 

Dominique Lucas, Xavi Abellan, Cristian Simarro


Shahram Najm

Tea and Coffee
11:30 - 13:00 


  • Copying GRIB messages with grib_copy
  • Making simple modifications to the GRIB header information with grib_set
  • Conversion from GRIB to NetCDF with grib_to_netcdf
  • GRIB tools modify practicals

Paul Dando


  • Use of the indexing routines
  • Encoding GRIB messages and using GRIB samples
      Practicals  

Dominique Lucas, Xavi Abellan, Cristian Simarro

 


  • GRIB parameter database
  • Conversion from GRIB1 to GRIB2 
  • How to define your own local parameters  

 Slides

Shahram Najm

 

12:50 Q&A session

Lunch
14:00 - 15:15

14:00 Welcome

Anna Ghelli

In this lecture we will cover the following topics:

  • GRIB editions 1 and 2: structure and differences
  • ecCodes design and concepts

Slides

Xavi Abellan


  • Overview of the API
    Using the API functions for decoding GRIB with Fortran and Python
    Slides     

Dominique Lucas, Xavi Abellan, Cristian Simarro

 


  • A short introduction to Python and its use at ECMWF
  • The Python interface to ecCodes for decoding, encoding and indexed access to GRIB messages
     Slides 
    Challenge solutions

Xavier Abellan

 
Tea and Coffee
15:45 - 17:00


In this lecture we will cover the following topics:

  • Introduction to the command-line tools
  • Obtaining information about the ecCodes installation with codes_info
  • Inspecting the content of GRIB files with grib_ls and grib_dump

Slides

Carsten Maass


  • Overview of the API  
  • Using the API functions for decoding GRIB with Fortran and Python
       

Dominique Lucas, Xavi Abellan, Cristian Simarro

 


Paul Dando

 

 



Go to the training home page

 

Lecture notes: ecCodes: GRIB decoding and encoding software

 

 

Monday 26th February at 17:00 – Ice breaker

Tea and coffees: 11.00-11.30 am and 15.15 to 15.45 pm

Lunch: 13.00 to 14.00

Tuesday 7.30 pm dinner (self funded)