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

Drop internal ecCodes bindings and switch to eccodes-python #95

Closed
alexamici opened this issue Jul 10, 2019 · 1 comment · Fixed by #221
Closed

Drop internal ecCodes bindings and switch to eccodes-python #95

alexamici opened this issue Jul 10, 2019 · 1 comment · Fixed by #221
Assignees
Labels
distribution Packaging and distribution enhancement New feature or request

Comments

@alexamici
Copy link
Contributor

The internal API is ready and you can test it by setting the environment variable CFGRIB_USE_EXTERNAL_ECCODES_BINDINGS to ON, for example:

$ pip install eccodes-python>=0.9.2
$ CFGRIB_USE_EXTERNAL_ECCODES_BINDINGS=ON ipython
@cdibble
Copy link

cdibble commented Nov 3, 2020

Does it need to be CFGRIB_USE_EXTERNAL_ECCODES_BINDINGS=1 ?

given:

try:
    # select between using the external ecCodes bindings or the internal implementation
    if int(os.environ.get('CFGRIB_USE_EXTERNAL_ECCODES_BINDINGS', '0')):
        import eccodes
    else:
        from . import bindings as eccodes

from messages.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution Packaging and distribution enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants