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

OGGM 1.6. pytest.oggm failing after fresh install #1706

Open
hydrojon opened this issue Apr 22, 2024 · 2 comments
Open

OGGM 1.6. pytest.oggm failing after fresh install #1706

hydrojon opened this issue Apr 22, 2024 · 2 comments

Comments

@hydrojon
Copy link

Just done a fresh install of OGGM 1.6 (Python 3.12) and getting lots of these errors which seems to stem from geopandas:

ERROR miniconda3/envs/oggm/lib/python3.12/site-packages/oggm/tests/test_models.py::TestIdealisedInversion::test_inversion_noisy - ValueError: Assigning CRS to a GeoDataFrame without a geometry column is not supported.

I wonder if there are some incompatabillities with the version of geopandas that I'm using (0.14.3)

@pat-schmitt
Copy link
Member

Yes, this is a known problem with a new GeoPandas version (it was fixed in this PR #1579).

Their are two options for you:

@hydrojon
Copy link
Author

Thanks @pat-schmitt!

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

2 participants