Public Repository

Last pushed: 2 months ago
Short Description
A useful set of command line tools is also provided to give quick access to GRIB messages.
Full Description

Unofficial ECMWF GRIB-API image

The ECMWF GRIB API is an application program interface accessible from C, FORTRAN and Python programs developed for encoding and decoding WMO FM-92 GRIB edition 1 and edition 2 messages. A useful set of command line tools is also provided to give quick access to GRIB messages.

Reference

Official documentation about ECWMF GRIB-API can be found at https://software.ecmwf.int/wiki/display/GRIB

Usage

There are a number of command line tools that come with the GRIB-API. These include:

All are located in /usr/local/bin

There are two volumes mapped that can be used for interaction with GRIB command line tools These are /input and /output

the following are are some examples

docker run -it --rm -v `pwd`:/input ecmwf-grib-api /usr/local/bin/grib_ls /input/gfs.t00z.pgrb2.1p00.f006

The above example maps the current directory to /input and runs grib_ls on a local file called gfs.t00z.pgrb2.1p00.f006 and will produce output like the following:

edition centre date dataType gridType stepRange typeOfLevel level shortName packingType
2 kwbc 20160309 fc regular_ll 6 unknown 0 u grid_complex_spatial_differencing
2 kwbc 20160309 fc regular_ll 6 unknown 0 v grid_complex_spatial_differencing
2 kwbc 20160309 fc regular_ll 6 unknown 0 unknown grid_complex_spatial_differencing
2 kwbc 20160309 fc regular_ll 6 surface 0 gust grid_complex_spatial_differencing
...

Docker Pull Command
Owner
agilesrc