Obtaining informtion about a GRIB file

You can get basic information about the content of a GRIB file from the command line using the grib/eccodes utilities, for example by applying grib_ls. You may also use the grib library called from code in Fortran, Python, or whatever you prefer.

The attached python script will give an overview of the the content and provide a compact information about the extent of the grid, with an optional plot.

Usage: ./ <gribfile> [map]

The map will only be shown if the map keyword is present.

Last modified 2 years ago Last modified on Jun 13, 2018, 11:55:00 AM

Attachments (1)

Download all attachments as: .zip

hosted by ZAMG