# Output carbon model

**URL:** <https://community.naturalcapitalalliance.org/t/output-carbon-model/1878>\
**Category:** Software Support\
**Tags:** carbon\
**Created:** [May 3, 2021, 5:45pm UTC](https://community.naturalcapitalalliance.org/t/output-carbon-model/1878 "2021-05-03T17:45:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosune](https://avatars.discourse-cdn.com/v4/letter/y/a87d85/32.png) [@Yosune](https://community.naturalcapitalalliance.org/u/Yosune)\
**Post date:** [May 3, 2021, 5:45pm UTC](https://community.naturalcapitalalliance.org/t/output-carbon-model/1878/1 "2021-05-03T17:45:02Z")

</div>

Hello,  
I am running Invest carbon model. I understand the units of the carbon pools provided in the intermediate .tiff files are Mg C /pixel (which might explain the mismatch with the input carbon data which is given in MgC/ha). Is it possible to get the carbon stored in each LULC class (apart from the carbon stored in each pool)?  
Thanks,  
Y

---

<div class="post-metadata">

**Author:** ![esoth](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@esoth](https://community.naturalcapitalalliance.org/u/esoth)\
**Post date:** [May 3, 2021, 6:34pm UTC](https://community.naturalcapitalalliance.org/t/output-carbon-model/1878/2 "2021-05-03T18:34:19Z")

</div>

Hi @Yosune,  
Yes, the model converts from Mg C/ha to Mg C/pixel. The model does not output the carbon total for each LULC class, but it should be easy to do as a post-processing step in your GIS software. For example, in QGIS you can use the Raster Calculator tool to create a layer which only has carbon values for pixels with a given LULC code, and all others are set to 0:  
e.g `"tot_c_cur@1" * ("lulc_current_willamette@1" = 95)` for a LULC code of 95.

Then you can take the sum, average, etc. of that raster using something like the Raster Layer Statistics tool in QGIS. I hope that helps!

---

<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:** [August 7, 2021, 1:14am UTC](https://community.naturalcapitalalliance.org/t/output-carbon-model/1878/3 "2021-08-07T01:14:25Z")

</div>

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