open-forest-observatory / geograypher

Multiview Semantic Reasoning with Geospatial Data
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

UnsupportedGEOSVersionError for aggregate_predictions.ipynb in MVMT-stable #77

Closed asidhu0 closed 4 months ago

asidhu0 commented 4 months ago

The "Export the prediction to a vector file" cell in aggregate_predictions.ipynb fails due to a UnsupportedGEOSVersionError. The grid_size parameter requires GEOS >= 3.9.0 but the MVMT-stable conda environment has a GEOS version of 3.8.0.

russelldj commented 4 months ago

I rebuilt the MVMT-stable conda environment and it seems to have fixed the issue. However, I'm not seeing GEOS as a package when I run conda list and I can't run GEOS from the command line. We you able to see what version was installed somehow or did you just get that information from the error message?

asidhu0 commented 4 months ago

I tried it again in MVMT-stable and got the same results as you described. It runs successfully, but I also do not see a geos version when I run conda list. The error message from before only showed what version of geos was required, not the installed version. To check the installed version yesterday, I ran conda list which showed an older version was installed.

russelldj commented 4 months ago

Well I'm glad to see this is resolved. I'm not sure why GOES was listed before and now isn't, but I'm not going to put too much thought into it unless it becomes and issue again. Perhaps I tried to update an old version of MVMT-stable that had additional dependencies (perhaps from rastervision) and this left it in a broken state.