Description
Reason
When generation sol table, ArcSWAT would do following work.
The error message comes from Step 4. ArcSWAT doesn’t check the case when the soil ID couldn’t be found in SSURGO_Soils table. In that case, the returned soil parameter will be an empty array. When trying to read the first element of this array, it would give an error message shown above.
Solution
Check soil shapefile/grid to make sure all soil IDs have been defined in SSURGO_Soils table. And redo the Land Use/Soil/Slope Definition.
Note: This should also work for other soil options (user soil lookup table or STATSGO) and other ArcSWAT version.