RuntimeWarning: invalid value encountered in reduce - SWY

Hi,

I’ve been trying to run this model but I encounter an “invalid value encounter in reduce” and that’s after calculating AET. After checking the raste, I noticed there are values less than 0 (-3.40282e+38) which I guess the problem is. I’ve changed DEM, soil and LULC rasters to avoid, as well as the biophysical table, but I still don’t know what to do.

InVEST-Seasonal-Water-Yield-log-2019-11-28–10_31_54.txt (23.1 KB)

Thanks in advance.

Hi @Mpmoreno -

This sounds like an error that someone else posted about recently. Please check out this post (it actually points to another one where there’s more information), see if it helps, and let us know.

~ Stacie

Hi Stacie,

I could run it by subbasin to see if the error was in the alignment or in the size of the pixel. I came to a similar conclusion as the one given on the threat. I suggest to be put that information in the user guide in data needs, because in my case, I have some success when I use the DEM as the aligning file for precipitation, evapotranspiration and soil. Thanks for the redirection, because I tried looking for it, but I couldn’t find it.

Thanks,

~ Martha