InVEST 3.7 and 3.3.3 NDR error

Hi everyone,

I have tried to simulate the NDR model and I got the weird error as the following log in the attached file.

If there any one can help with this?

Best regards,
PheaktraInVEST_Nutrient_Delivery_Ratio_Model.txt (3.7 KB)

Thanks for the report, @Pheaktra. If you can share your input data I will try to reproduce this error.

Okay @Pheaktra, the problem here is that the landuse raster has a category (202) that does not appear in your biophysical table. If I add another line to that table with 202 in the lucode column, I get past this KeyError. A future version of InVEST will have an even more informative error message in this case.

Dear Dave,

Thank you so much. The problem has been solved.

Is there the same equation using for V.3.3.3 and V.3.7?

Thank you so much again, Dave.

Best regards,
Pheaktra