The key to this installation is to build eccodes correctly (for your machine architecture) and successfully point pygrib to it. This setup should also work with lower and higher Ubuntu versions (as someone below mentioned) and other Linux distros (like RHEL - AWS Linux AMI etc). You can just as well use your system Python 3 however I personally find virtualenv a clean way to deal with these kind of complicated setups (prevents me mucking up my system's Python). Note: You don't have to use virtualenv Python. In this tutorial I use Ubuntu 18 and python 3.6.5 virtualenv. Pygrib for python is by far the best library for reading grib files but the installation can leave you dizzy ![]() Needless to say, if you're reading this, you probably know how hard it is to get a library that can read them and even harder, setting up those libraries. ![]() Recently I've had to work with Meterological data of the GRIB format. How to install PyGrib with ECCodes (Python 3.6.5, Ubuntu 19, 18, 16, RHEL, Lambda, Linux AMI, Docker)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |