ValueError in SDR model : Input Rasters are note the same dimensions

Hello guys,

I ran SDR for InVEST 3.7.0 but I got this error: “ValueError encoutered: Input Rasters are note the same dimensions. The following raster are not identical set ([(878,1365),(881,1412)]).” I know it is because of the drainage raster cause when I ran without this raster I got the corrects results of the model. Could some one help me please.

Thank you for the attention.

InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2019-09-30–10_06_08.txt (3.5 KB)

Hi @Aline -

I’ve never used the drainage input to SWY, so am not sure if it has special coverage requirements (if there are, we should add that to the User Guide.) If it does have special requirements, I would guess that it would need to have the same spatial extent as the streams.tif layer that the model creates, which should be the same spatial extent as the DEM.

So, if you’re sure that this layer is causing the problems, I’d try re-processing your drainages layer such that it has the same extent as the DEM and see if that helps. It is also possible that the drainages layer can cover a larger extent than the DEM, just not a smaller one in either dimension. Please give it a try and let us know how it goes.

~ Stacie