WikiWatershed/gwlf-e

CalcCnErosRunoffSed.CalcCN index errors

caseycesari opened this issue · 1 comments

There are a number of index errors in the CalcCnErosRunoffSed.CalcCN function.

Make sure these conditions are being met when trying to fix this issue, otherwise some parts of the code will not execute:

if z.CN[l] > 0:

if z.CNI[2, l] > 0:

if z.CNP[2, l] > 0:

To get the model to run, I just commented out the call to this method in gwlfe.py.

Fixed by #30 (2ea2c46)