This forum is shutting down! Please post new discussions at

error related to Lu_code in carbon model

I use a carbon model for carbon stock and carbon sequestration mapping.But error related to lu_code arises . i have put the values according to the values of LULC raster, still this error occurs again and again. Please give me a solution of this error, so that i could further proceed my research.



  • jdouglassjdouglass Administrator, NatCap Staff
    The error is saying that your landcover raster has pixels that have a value of 0, and that the value of 0 is not in your biophysical table.

    There are two possible approaches to address this depending on what you want the landcover value of 0 to represent:

    1. The value of 0 is a valid landcover code and should be represented in your biophysical table.  The solution for this is to add a row to your biophysical table with the landcover code of 0.
    2. The value of 0 is intended to be a nodata value.  If this is the case, you will need to set the nodata value of your landcover raster correctly for the model to recognize this pixel value as nodata.

    Hope this helps,
  • Thanks, i will try both approaches to address this issue.

Sign In or Register to comment.