I’m running the carbon model for some data, including a current and future LULC. I am receiving an error - ValueError: could not convert string to float:
My carbon pools.csv is all in comma format. However, one of the land cover classes includes parentheses (). Not sure if that would cause an issue
Yes, this would cause an issue. The codes listed in the CSV need to match the pixel values of the LULC raster, and these will be purely numbers, no extra characters.
The error message from the log also makes me wonder if there is an extra blank cell somewhere in the CSV also? If you can, please upload that file here and we can take a closer look. Thanks,
Thanks for the clarity. I’ve updated both the rasters and CSV file to remove any special characters from them and re-ran the model but am still receiving the same message.