Add test to illustrate change in behaviour between rasterio/gdal verions#46
Add test to illustrate change in behaviour between rasterio/gdal verions#46alexgleith wants to merge 1 commit intomainfrom
Conversation
b7cc5d3 to
1da2c59
Compare
1da2c59 to
052db39
Compare
|
It's the workflows that use Rasterio 1.5 that fail and I recognize the second warning message, so my guess is that this is one of the bugs we hit in datacube-core. If it is the same bug, it should disappear if one rebuilds Rasterio to use GDAL 3.12.2 instead of the GDAL version the binary wheels of Rasterio are built with. (It's possible some earlier version of GDAL will fix this specific problem too, I only remember that all the bugs I was tracking were fixed for 3.12.2.) |
I built locally against |
|
@alexgleith I'm confused about this whole
Sounds to me like a change in how |
|
Yes, @Kirill888, I think you have it captured. Note that on point 5, fusing works as expected when not reprojecting on both versions. The warning from GDAL seems to imply it's being more strict with destination nodata definitions, but I don't know about that. I'm reporting the issues I've seen using the tooling and the change (unexpected/bad behaviour) in new versions of rasterio/gdal. |
|
At the risk of being redundant, here's the GDAL warning:
|
|
Let's be even more redundant and document versions of GDAL you tested that differ in behaviour for this case. |
|
In our case |
This configuration produces the error: This configuration works: There's more info in the original issue opendatacube/odc-stac#259 |
See issue raised in
odc-stacat opendatacube/odc-stac#259This test is intended to illustrate the change in behavior between older and newer versions of rasterio/gdal.
Note that in versions of Python that are supported by rasterio version
1.5.0, we see this warning twice: