https://pypi.org/project/pygrib/
pip3 install numpy pyproj sudo apt-get install libeccodes-dev
下载解压缩
https://github.com/jswhit/pygrib
复制一份setup.cfg.template
to setup.cfg
修改一行
packages_to_install = [pygrib, ncepgrib2]
python3 setup.py build sudo python3 setup.py install python3 test.py