You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looked a bit further into this, the CRS is also not picked up by rasterio 1.4.2.
I debugged this as far as I could in the python code:
in rioxarray, there is a check: rio_crs = riods.crs or result.rio.crs, located here
For rasterio 1.3.11, riods.crs has a value: CRS.from_epsg(28992), and result.rio.crs is None. With rasterio 1.4.2, there is no value for both. riods is the dataset as opened by rasterio.open, unfortunately I did not manage to debug much further as I ran into Cython code from rasterio, which my Python VSCode debugger could not open.
In this giant merge of the imod5 feature branch (#1252), I updated our pixi lockfile and 2 tests failed.
One I could fix, but
test_gdal_compliant_grid_crs
fails with rasterio 1.4 causes a failure. For some reason:Gives an
AssertionError
, as thecrs
attribute equalsNone
.I resorted to setting rasterio to 1.3.11 in our dev environment, but it is something to keep track of.
Possibly related to:
The text was updated successfully, but these errors were encountered: