Versions Compared

Key

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

...

This article gives examples how to extract data for a specific location and/or time from a GRIB or NetCDF file.

Download data

Let's say you have a data file containing ERA5 data, specifically hourly surface pressure (sp) for the month 2003-08.

...

This download gives you a GRIB file 'e5-sp-201008xx.grib' and a NetCDF file 'e5-sp-201008xx.nc', containing surface pressure for the month 2010-08, hourly, with global coverage.

Looking up data values in GRIB

We want to look up the surface pressure (sp) data value for 2010-08-05 00:00, at the model point closest to our target location lon=7.36 lat=43.89

...

Code Block
...
shortName    value 
sp          88510       
...
Input Point: latitude=43.89  longitude=7.36
Grid Point chosen #3 index=84109 latitude=43.98 longitude=7.50 distance=15.11 (Km)
...

Looking up data values in NetCDF

We want to look up the surface pressure (sp) data value for 2010-08-05 00:00, at the model point closest to our target location lon=7.36 lat=43.89

...