Comments (3)
from eccodes-python.
@shahramn No worries. But how should running into this sort of error be prevented?
If the user installs some ecCodes
version and then pip install eccodes-python
this can break if the correct ecCodes
version is not available.
Would it be possible to check for the needed version of ecCodes
and issue a warning/error with additional guidelines?
from eccodes-python.
@shahramn the version check that you added here:
eccodes-python/gribapi/__init__.py
Line 5 in a896f60
looks way too strict. The failure reporte in this issue happen only when you try to build the bindings, but by raising and exception it is not possible to use eccodes-python even with the ABI, that is what most of current users do.
At the moment for example the whole cfgrib test suite would pass with version 2.12.0 if it were not for this check.
Can you change the raise to a simple print, please?
from eccodes-python.
Related Issues (20)
- Unexpected behavior if not all GRIB messages in a file are read HOT 1
- data file tiggelam_cnmc_sfc.grib2 not included in released tar file eccodes-1.4.0.tar.gz HOT 7
- Can eccodes decode buffr radar image? HOT 6
- When the package ecmwflibs is available, ECCODES_DEFINITION_PATH is removed after `from gribapi import *` HOT 13
- open up discussion tab on github?
- Please use the warnings library for selfcheck HOT 6
- failing tests due to missing sample file. HOT 1
- read data from bytes object HOT 2
- Reading NCEP BUFR with Local Tables HOT 2
- Please support Python 3.10 (and 3.11) HOT 2
- Add support for `GRIB_TYPE_BYTES` to `codes_get_native_type` and `codes_get_array` HOT 4
- `codes_get` silently returns `None` for unsupported key types HOT 3
- Please support Python 3.11 HOT 1
- Latitude/longitude grid inconsistent behavior between GRIB1 and GRIB2 HOT 5
- Add method to access the result of the json bufr_dump HOT 5
- Update min_recommended_version for eccodes HOT 3
- Enabling thread safety using pip HOT 2
- aarch64 supports HOT 4
- 1.7.0: build fails with gcc error HOT 3
- Doesn't install on ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eccodes-python.