ValueError in Coastal Blue Carbon Model

What is the issue or question you have?

I got an error message when I tried to run the coastal blue carbon preprocessor. It shows as “ValueError: The landcover table is missing a row with the landuse code 37”.

What do you expect to happen?

I try to obtain CBC model output for saltmarsh in Lymington river estuary, England.

What have you tried so far?

I have used the same LULC names and codes in my original map as input data for LULC lookup table.

Upload the logfile using the :outbox_tray: button

InVEST-natcap.invest.coastal_blue_carbon.preprocessor-log-2024-07-12–17_18_11.txt (4.5 KB)

Hello @senarathni, and welcome!

Are you using multiple landcover snapshot rasters? Is the value 37 in any of them? If it doesn’t appear so, please post the landcover rasters and the LULC lookup table so we can check it out. Thanks.

~ Stacie