ecmwf / eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Apache License 2.0
113 stars 32 forks source link

Selfcheck warning recommends ecCodes 2.17.0 or higher, but latest available release is 2.16.0 #17

Closed SpiralArray closed 1 year ago

SpiralArray commented 4 years ago

Using Anaconda3, I installed eccodes-2.15.0 (latest avail from conda-forge), then followed instructions to install eccodes-python with Fast CFFI bindings: $ git clone https://github.com/ecmwf/eccodes-python $ cd eccodes-python $ pip install -e .

I then had to modify builder.py so that python builder.py would find my eccodes.h file and build properly - ffibuilder.set_source( "gribapi._bindings", "#include </home/user/anaconda3/include/eccodes.h>", libraries=["eccodes"], )

Now when I run a selfcheck or >>>import eccodes, I get the warning:

(base) [user]:~]$ python -m eccodes selfcheck Warning: ecCodes 2.17.0 or higher is recommended. You are running version 2.15.0 Found: ecCodes v2.15.0. Your system is ready.

I see at https://confluence.ecmwf.int//display/ECC/Releases that the latest release is v2.16.0, which was released yesterday, 13 Jan 2020.

I then located the following in gribapi/init.py:min_reqd_version_str = "2.17.0". Should this be changed to read "2.15.0"?

Thanks!

shahramn commented 4 years ago

Please get the "master" branch and not "develop"


From: SpiralArray notifications@github.com Sent: 15 January 2020 04:27 To: ecmwf/eccodes-python eccodes-python@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [ecmwf/eccodes-python] SelSelfcheck warning recommends ecCodes 2.17.0 or higher, but latest available release is 2.16 (#17)

Using Anaconda3, I installed eccodes-2.15.0 (latest avail from conda-forge), then followed instructions to install eccodes-python with Fast CFFI bindings: $ git clone https://github.com/ecmwf/eccodes-pythonhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fecmwf%2Feccodes-python&data=02%7C01%7Cshahram.najm%40ecmwf.int%7C2175bba5ffeb40ec34f908d799734804%7C21b711c6aab74d369ffbac0357bc20ba%7C0%7C0%7C637146592712018958&sdata=UWbQAPv5oYecL6MnaCH5KuafbUn19czUzoW9JHb0gP0%3D&reserved=0 $ cd eccodes-python $ pip install -e .

I then had to modify builder.py so that python builder.py would find my eccodes.h file and build properly - ffibuilder.set_source( "gribapi._bindings", "#include </home/user/anaconda3/include/eccodes.h>", libraries=["eccodes"], )

Now when I run a selfcheck or >>>import eccodes, I get the warning:

(base) [user]:~]$ python -m eccodes selfcheck Warning: ecCodes 2.17.0 or higher is recommended. You are running version 2.15.0 Found: ecCodes v2.15.0. Your system is ready.

I see at https://confluence.ecmwf.int//display/ECC/Releases that the latest release is v2.16.0, which was released yesterday, 13 Jan 2020.

I then located the following in gribapi/init.py:min_reqd_version_str = "2.17.0". Should this be changed to read "2.15.0"?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fecmwf%2Feccodes-python%2Fissues%2F17%3Femail_source%3Dnotifications%26email_token%3DAF4HFU6M6GYTZOXO6YEPWITQ52GELA5CNFSM4KG5PMRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGHWQOQ&data=02%7C01%7Cshahram.najm%40ecmwf.int%7C2175bba5ffeb40ec34f908d799734804%7C21b711c6aab74d369ffbac0357bc20ba%7C0%7C0%7C637146592712018958&sdata=ux2U%2FNcS34jv3%2FDS8CuXERUz4sMbu%2BZ2HXvdmHwHeYY%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAF4HFU5264PPOPHE7V6WDIDQ52GELANCNFSM4KG5PMRA&data=02%7C01%7Cshahram.najm%40ecmwf.int%7C2175bba5ffeb40ec34f908d799734804%7C21b711c6aab74d369ffbac0357bc20ba%7C0%7C0%7C637146592712028950&sdata=FVKxL4AvfGaM%2F6gc1QFDhCNeozMlvWoW5jRXRYkHRVg%3D&reserved=0.