Blue Carbon error: Reclassification Missing Values Error

Hello, I encountered this problem when running the blue carbon program. Here are my input file and operation log
InVEST-Coastal-Blue-Carbon-log-2021-11-23–21_57_54.txt (4.9 KB)
maipo2020.tif.zip (187.3 KB)
I don’t know what’s wrong. If you see it, please let me know.

Hi @cxuan -

While the error message isn’t as clear as it could be, it says this:

The following 6 raster values [ 471. 517. 2842. 2843. 2844. 2911.] from "/Users/apple/Downloads/CoastalBlueCarbon 2/intermediate/aligned-lulc-baseline-2020.tif" do not have corresponding entries in the value map: {0: 0, 1: 0, 2: 0, 3: 30, 4: 66, 5: 30, 6: 30, 7: 30, 8: 30, 9: 64, 10: 0, 11: 0, 12: 0, 13: 0, 14: 0, 15: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 30, 21: 0, 22: 0, 23: 30, 24: 0}.

If you search this forum, you’ll find that this error happens when you have values in your land cover map that are missing entries in the corresponding parameter table. I don’t have your biophysical table to look at, but this error indicates that the table is missing values [ 471. 517. 2842. 2843. 2844. 2911.] And looking at maipo2020.tif, I do see those values in the raster. So try adding those missing values to the table (probably biophysical_table_sample.csv) and see if that helps.

~ Stacie

2 Likes