Sunday, June 7, 2020

ecCodes install; pygrib

Ref:
https://github.com/ecmwf/eccodes-python#system-dependencies

==== ecCodes
On large macpro laptop

#homebrew works
brew install eccodes

(base) CS313BQin:build hqin$  python -m eccodes selfcheck
Found: ecCodes v2.17.0.
Your system is ready.

pip, pip3, and conda did not work

=====pygrib

#conda install -c conda-forge pygrib

download github sources

Copy setup.cfg.template to setup.cfg #did not make anychanges
(base) CS313BQin:pygrib-master hqin$ python setup.py build

  • Run 'python setup.py build' #passed
  • Run 'sudo python setup.py install' #passed
  • Run 'python test.py' to test your pygrib installation. #passed

No comments:

Post a Comment