error related to Lu_code in carbon model

Hello,
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.

Tagged:

Comments

  • 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,
    James
  • Thanks, i will try both approaches to address this issue.

Sign In or Register to comment.