Seasonal water yield model keeps giving ufunc "isfinite" error

The only workaround at the moment is to use a development preview of what will eventually be released as InVEST 3.9, which can be installed from this development build. Seasonal Water Yield is basically unchanged in this development build from what is in InVEST 3.8.x, so you should be just fine to use it here.

For the other error (TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'') could you check to see that your climate zones raster has a defined nodata value? Not having one defined could cause this error to happen.

Thanks,
James

1 Like