'lucode: 14 is present in the landuse raster but missing from the biophysical table'

InVEST-Nutrient-Delivery-Ratio-Model-(NDR)-log-2021-04-04–18_34_55.txt (3.5 KB)
There is no “14” in my land use raster data, but the model output result is a failure, showing ‘lucode: 14 is present in the landuse raster but missing from the biophysical table’.I want someone to help me solve it,thanks.

Hi @CAI,
Could you please share your data so I can try to replicate the problem? You can upload it here or email it to me privately: esoth @ stanford.edu

I sent the file to you privately in the form of compressed package, please check, thank you for your help.

Hi @CAI,
Thanks for sharing your data! It appears there are pixels in your raster labeled 14. I used the Raster Calculator tool in QGIS to find any point where Land use(raster) = 14, each white pixel is 14:

There are also 15’s that will cause a problem unless you add a row for 15 to your biophysical table. I hope that helps!

1 Like

Thank you very much for your advice. The problem has been solved.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.