# Carbon Model Error

**URL:** <https://community.naturalcapitalalliance.org/t/carbon-model-error/5439>\
**Category:** Software Support\
**Created:** [September 12, 2024, 11:02am UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439 "2024-09-12T11:02:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nasna](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@Nasna](https://community.naturalcapitalalliance.org/u/Nasna)\
**Post date:** [September 12, 2024, 11:02am UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/1 "2024-09-12T11:02:00Z")

</div>

I’m getting an error “The following 134 raster value do not have corresponding entries in the value map.”

I followed the same steps mentioned in other threads, but still the issue is the same.

Carbon Pool Table:  
[carbon\_pools\_USI.csv](https://community.naturalcapitalalliance.org/uploads/short-url/3KMDCOHBCe0ari8UQ7mdpkLTs99.csv) (772 Bytes)

Raster file:  
[Map.tif](https://community.naturalcapitalalliance.org/uploads/short-url/ftoznnPDRC9v4QQUmXNZ3cZg6NK.tif) (1.5 MB)

Could you please help me?

---

<div class="post-metadata">

**Author:** ![swolny](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/swolny/32/181_2.png) [@swolny](https://community.naturalcapitalalliance.org/u/swolny)\
**Post date:** [September 12, 2024, 12:08pm UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/2 "2024-09-12T12:08:37Z")

</div>

Hi @Nasna -

Thanks for including your data. Looking at your Map.tif raster, it appears that it has 3 bands which are RGB (red/green/blue) values. The model will use the first band, so it is reading the R (red) values, which are not the land use codes represented by the carbon pool table. So you’ll need to look at your source data and figure out how to make a land use map whose values represent the land use codes, not RGB values.

~ Stacie

---

<div class="post-metadata">

**Author:** ![Nasna](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@Nasna](https://community.naturalcapitalalliance.org/u/Nasna)\
**Post date:** [September 12, 2024, 1:33pm UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/3 "2024-09-12T13:33:10Z")

</div>

Thankyou so much, it worked!

---

<div class="post-metadata">

**Author:** ![Nasna](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@Nasna](https://community.naturalcapitalalliance.org/u/Nasna)\
**Post date:** [September 13, 2024, 7:41am UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/4 "2024-09-13T07:41:54Z")

</div>

Hi Stacie,

Apologies for asking the same question which was posted on other threads. I went through similar threads but was not able to clear my doubt.

html output I obtained is 25446.42 Mg of C.  
How can I interpret this result? Is this Mg of C for entire project study area? or Mg of C / tonnes? or Mg of C / m2?

---

<div class="post-metadata">

**Author:** ![swolny](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/swolny/32/181_2.png) [@swolny](https://community.naturalcapitalalliance.org/u/swolny)\
**Post date:** [September 13, 2024, 11:19am UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/5 "2024-09-13T11:19:47Z")

</div>

Hi @Nasna -

Yes, the values in the Aggregate Results section of the HTML report are totals for the entire project study area.

I’m noticing now that the User Guide is missing a description of these values, I’ll add that information.

~ Stacie

---

<div class="post-metadata">

**Author:** ![Nasna](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@Nasna](https://community.naturalcapitalalliance.org/u/Nasna)\
**Post date:** [September 13, 2024, 12:14pm UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/6 "2024-09-13T12:14:58Z")

</div>

Appreciate your prompt response. Yes, the user guide doesn’t specify the description of these outcomes.

Is there a way to correlate HTML result and raster results? Are they related in anyways?

---

<div class="post-metadata">

**Author:** ![swolny](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/swolny/32/181_2.png) [@swolny](https://community.naturalcapitalalliance.org/u/swolny)\
**Post date:** [September 13, 2024, 12:45pm UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/7 "2024-09-13T12:45:17Z")

</div>

The HTML values are the result of using a method like Zonal Statistics to sum the per-pixel carbon values given in the output rasters _tot\_c\_cur.tif_ etc. So yes, the HTML results are directly based on the raster results.

~ Stacie

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/8/8d95591aa074da87ea0fdd61ca47c1c3c0588aa7.png) [@system](https://community.naturalcapitalalliance.org/u/system)\
**Post date:** [December 12, 2024, 12:45pm UTC](https://community.naturalcapitalalliance.org/t/carbon-model-error/5439/8 "2024-12-12T12:45:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
