Open skimprem opened 1 week 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.
If you run the demcompare with example data, you will get an error:
demcompare sample_config.json --loglevel DEBUG