I am getting the following error:
2023-11-17 17:33:42,781 (osgeo) utils._log_gdal_errors(97) ERROR [errno 5] C:\Users\ge59xoj\Documents\ArcGIS\Projects\231115_InVEST\Output_NDR\intermediate_outputs\crit_len_n_Output_NDR_231115_t0.tif, band 1: Access window out of range in RasterIO(). Requested(42496,-28159) of size 256x256 on raster of 76821x34433.
I am using the InVEST 3.13.0 Workbench. Attached you will find my Lognote.
Thanks for your reply! At the end my model worked. It turns out it was important to fill the DEM first, before projecting it to the common projected coordinate system that is also used by the other rasters in the NDR model. Before, I projected the DEM first before filling it, thinking that it would make no difference what comes first.
However, I know have encountered some problems with my SDR model that basically uses all the same inputs as the NDR model. The error encountered seemed similar to the github link shared. Do you think this is the case?
I have attached the logfile. Since the only difference between SDR and NDR are the erosivitiy and erodibility rasters representing the K and R factors, I have attached them as well. My guess is that the problem stems from these two rasters.
I also don’t think the order of these operations should make much difference with respect to this error, though doing the filling in the native coordinate system and saving the projection for last seems prudent. Perhaps the DEM’s datatype was inadvertently changed to an int32 (or lesser) type during one of these operations? That would also avoid the problem.