# Coastal blue carbon - empty outputs

**URL:** <https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181>\
**Category:** Software Support\
**Tags:** blue-carbon\
**Created:** [July 22, 2020, 2:37pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181 "2020-07-22T14:37:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwarnell](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@kwarnell](https://community.naturalcapitalalliance.org/u/kwarnell)\
**Post date:** [July 22, 2020, 2:37pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181/1 "2020-07-22T14:37:05Z")

</div>

Good morning,

I am running the coastal blue carbon model for Delaware, to assess the effects of habitat changes caused by sea level rise on carbon emissions and stocks.

The model runs without a problem, but many of the output rasters appear to be empty:

- Carbon accumulation rasters all have values and look correct
- All carbon emissions rasters are empty - nothing shows up on the map, and when I symbolize by unique values, no values or fields are found.
- Carbon stock for the baseline year has values and looks correct, but carbon stocks for all other years are empty
- All net carbon sequestration rasters are empty

It seems like there may be an issue with the emissions calculations that is causing the carbon stock and net carbon sequestration rasters (which use the emissions rasters) to also be empty. My workspace (including log files) is available [here](https://drive.google.com/file/d/1dQqElOJt9MXyoD1Wnbo1bcSITPIxj1jp/view?usp=sharing); could you see what might be going on? I’m using this [development build](https://storage.googleapis.com/natcap-dev-build-artifacts/invest/phargogh/3.8.0.post595+g34696bd5/InVEST_phargogh3.8.0.post595+g34696bd5_x86_Setup.exe).

Thank you!

---

<div class="post-metadata">

**Author:** ![kwarnell](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@kwarnell](https://community.naturalcapitalalliance.org/u/kwarnell)\
**Post date:** [July 22, 2020, 8:08pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181/2 "2020-07-22T20:08:45Z")

</div>

I think I found the issue - because I am only including soil carbon in my analysis, I had set the half-life for biomass to 0 in the carbon pool transient template csv. When I changed it to a non-zero integer, the output rasters were no longer empty. Seems that having any of the half-life values set to 0 causes a problem with a calculation, even if there are no carbon stocks or accumulation in that pool. Thanks!

---

<div class="post-metadata">

**Author:** ![jdouglass](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/jdouglass/32/9_2.png) [@jdouglass](https://community.naturalcapitalalliance.org/u/jdouglass)\
**Post date:** [July 22, 2020, 8:26pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181/3 "2020-07-22T20:26:03Z")

</div>

Hey, great sleuthing! Yes, that makes sense … if the halflife is zero, that would make the exponent in the carbon half-life equation undefined, which could lead to some interesting internal values, including everything being treated as nodata.

We’ll look to fix this in the model for a future release by making sure that the `half-life > 0`.

---

<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:** [July 29, 2020, 8:26pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-empty-outputs/1181/4 "2020-07-29T20:26:08Z")

</div>

Closed on July 29, 2020, 8:26pm UTC

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