Version 3 (modified by pesei, 6 years ago) (diff) |
---|
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: ./grib_domain.py <gribfile> [map]
The map will only be shown if the map keyword is present.
Attachments (2)
- grib_domain.py (2.5 KB) - added by pesei 6 years ago.
-
grib_domain3.py
(2.9 KB) -
added by pesei 3 years ago.
v3 for Python3
Download all attachments as: .zip