Closed skimprem closed 1 month ago
Hello @skimprem, Thank you for the issue. We haven't tested demcompare in python 3.12 and it appears that rasterio is upgraded and some rasterio functions have not the same output, which breaks some internal slope computation function in demcompare. The quickest fix is to downgrade rasterio to 1.3.11:
pip uninstall rasterio pip install rasterio==1.3.11
We shall produce a fix through an upcoming commit, but no release is foreseen yet.
Thanks again for the bug anyway, hope the quick fix answers your need.
The bug is dealt in last commit : https://github.com/CNES/demcompare/commit/be440b75201f8f081cea72cacf3d61892c2f11b6
Please tell me if it is ok, so that I can close the issue
The bug is dealt in last commit : be440b7
Please tell me if it is ok, so that I can close the issue
It is ok. This issue can be closed.
thanks for the bug ! I close the issue
If you run the demcompare with example data, you will get an error:
demcompare sample_config.json --loglevel DEBUG