Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the difference between the eccodes and python-eccodes conda-forge packages ? #56

Open
jypeter opened this issue Sep 16, 2021 · 3 comments

Comments

@jypeter
Copy link

jypeter commented Sep 16, 2021

Apologies for a possibly stupid question, but I'm a python+netcdf user, and not a grib user

One of our users needs a/the python wrapper for eccodes and I see on conda-forge that there is

What is the difference between the packages? Does eccodes provides the binaries, and python-eccodes the python wrapper around the binaries. python-eccodes would be a conda-forge replacement of the pip python bindings mentioned in How to install ecCodes with Python bindings in conda - ecCodes FAQ

Needless to say I'd rather use conda than pip for installing the bindings, if possible :)

This kind of reminds me of a problem I had with cdo: Try2Code/cdo-bindings#33

@shahramn
Copy link
Collaborator

ecCodes is the main engine (library + command line tools) and eccodes-python is the Python3 bindings (which uses the library)

@jypeter
Copy link
Author

jypeter commented Sep 16, 2021

Thanks!

So, the bindings we get with
import eccodes
actually comes from the python-eccodes package?

About the python documentation, is the ecCodes Namespace Reference page the right/best page to check?

@blaylockbk
Copy link

I am also confused about the names and different versions that are installed.

In an environment where eccodes is installed from conda forge...

> conda list eccodes
# Name                    Version                   Build  Channel
eccodes                   2.23.0               h11d1a29_3    conda-forge
python-eccodes            2021.03.0        py38h6c62de6_1    conda-forge

In a separate conda environment, I installed just pdbufr from pip (did not install eccodes from conda-forge, yet). Is this different than python-eccodes?

> conda list eccodes
# Name                    Version                   Build  Channel
eccodes                   1.3.3                    pypi_0    pypi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants