I am trying to run the Seasonal Water Yield model using InVEST 3.10.2 , but I get the following warning and error: DeprecationWarning: The ‘warn’ method is deprecated, use ‘warning’ instead. ERROR Something went wrong when adding task aggregate recharge (42), terminating taskgraph. (log file is attached)
Hi @BiancaLima , thanks for letting us know about this issue! I’ll make sure we fix it and get you a development build soon.
In the meantime, this error is happening because one of your input geometries in your AOI doesn’t have any geometries attached to it. Normally the model would just log a warning and continue, but there’s a bug that’s causing the warning to become an error. So if you remove the feature that doesn’t have a geometry, then the error won’t cause the model to crash.
Thanks for the answers!
In fact, I had already fixed and double checked my geometries before running the model.
Maybe I redo the shapefile to test again.
I did the new shp and the model finished successfully, but the result raster is not looking right… It’s my first time using the model, so I lack some skills
Hi @BiancaLima I’m so sorry it’s taken me a little while to get to this! I tried opening your inputs and I’m getting some errors and can’t open the zip file. Could you try sending your complete set of inputs again? If it’s easier, feel free to send them to me, jdouglass@stanford.edu.
Hi @BiancaLima thanks for sharing your inputs! I was able to access them and reproduce the issue.
In this case, the model’s pitfilling step has a bug where it isn’t properly handling your nodata value. When I converted your raster’s pixel values from NaN to -3.4028235e+38, the model runs through and your QF raster looks much more reasonable.