Hi everyone,
My name is Matt Lombardo and I am a new QGIS and SWAT+ user. I’m a master’s student at UConn and I’m trying to use SWAT+ to create a model for my thesis project. Right now I'm trying to create the model and I’m getting this error code, which is at the bottom of the message, when I input both my soil and landuse rasters into their respective places. When I put the error code into ChatGPT it told me the error is from when QGIS is trying to clip the soil and landuse rasters to the DEM. To fix this I’ve tried to use DEM’s from different sources, I messed with the cellsize of my rasters, I expanded my area of interest, and played with the projections but nothing has worked. I have limited experience with ArcGIS Pro and no experience with QGIS so I ran out of ideas fast. Has anyone seen this error before and knows how to fix it? I’ve also included my sources for my files if that helps. For the soil raster, I downloaded a geodatabase from SSURGO and converted it to a raster using the instructions on the SWAT+ Global Data page.
DEM: CT ECO (https://experience.arcgis.com/experience/f884c9fd806b4a3e8f464f0c5991bb65/ )
Stream Shapefile: CT DEEP Hydrography Database (https://experience.arcgis.com/experience/f884c9fd806b4a3e8f464f0c5991bb65/)
Lake Shapefile: CT DEEP Hydrography Database (https://experience.arcgis.com/experience/f884c9fd806b4a3e8f464f0c5991bb65/)
Landuse Raster: NLCD (https://www.mrlc.gov/viewer/)
Soil Raster: SSURGO (http://datagateway.nrcs.usda.gov/)
Error Message:
2025-09-01T10:07:17 CRITICAL ERROR 1: Error: -srcwin 89835 81277 -114007 -107357 has negative width and/or height. 2025-09-01T10:07:17 INFO Input file size is 52862, 49946
Thank you for your time and consideration!