GeoscienceAustralia / dea-sandbox

Digital Earth Australia Sandbox config and planning
Apache License 2.0
13 stars 6 forks source link

Upgrade `geopandas` and `pandas` to avoid recent regressions #207

Closed robbibt closed 2 years ago

robbibt commented 2 years ago

Describe the bug The Sandbox currently has geopandas==0.10.0 and pandas==1.3.3. These versions include two regressions that cause errors and silent failures when using the geopandas.union functionality: https://geopandas.org/en/stable/docs/changelog.html#version-0-10-2-october-16-2021 https://pandas.pydata.org/docs/whatsnew/v1.3.4.html#fixed-regressions

These regressions are fixed by upgrading to geopandas==0.10.2 and pandas==1.3.4.

To Reproduce geopandas.union(a, b, how='union')

Expected behavior geopandas.union to run without silent failure or Cannot convert non-finite values (NA or inf) to integer error.