Install python3-grib by entering the following commands in the terminal:
sudo apt update sudo apt install python3-grib
Description:
Python 3 module for reading and writing GRIB files
Python 3 module for reading and writing GRIB (editions 1 and 2) files. GRIB is the World Meterological Organization standard for distributing gridded data. The module is a Python 3 interface to the GRIB API C library from the European Centre for Medium-Range Weather Forecasts (ECMWF). . This package also contains the cnvgrib1to2, grib_list, grib_repack, and cnvgrib2to1 scripts.
Homepage: https://github.com/jswhit/pygrib
Version: 2.0.2-3
Section: universe/python