Hi,
I’m planning to do a batch processing of the SDR model, so I was trying to run the model using a Python script. The script works but fails at some point - apparently at computing the zonal statistics of the raster files, as the output watershed shapefile (watershed_results_sdr) doesn’t have the fields usle_tot, sed_export, sed_retent and sed_dep.
Here is the log file:
log_error.txt (19.9 KB)
The model works fine using the GUI, all the outputs are created correctly.
I’m using Invest 8.9.0, Python 3.8.6, and Windows 10, and the sample data from the Gura watershed.
The package versions required for natcap.invest to work follow this (invest/requirements.txt at main · natcap/invest · GitHub). However, while I was updating some of the packages, the system told me that natcap.invest actually needed another version.
Can someone please help me to figure this out?
Thank you,
Ligia