# Coastal Blue Carbon - KeyError 'disturb'

**URL:** <https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269>\
**Category:** Software Support\
**Tags:** blue-carbon\
**Created:** [August 26, 2020, 7:17pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269 "2020-08-26T19:17:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcoGuzzetti](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@MarcoGuzzetti](https://community.naturalcapitalalliance.org/u/MarcoGuzzetti)\
**Post date:** [August 26, 2020, 7:17pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269/1 "2020-08-26T19:17:22Z")

</div>

Hello everyone,

I’m trying to run the CBC model. The pre-processing step went well, but I receive the KeyError: “disturb” while running the Main Model.

I attach here the CVS files that I’m using. I’m not attaching the LULC since it is huge (but below you can find a picture of it).

I confirm that the CVS files report the same land classes of the LULC. I also attach the text.file that shows the error  
[Lookup2.csv](https://community.naturalcapitalalliance.org/uploads/short-url/4PJQS543VJb7WBEGDK1xS8CkV5X.csv) (267 Bytes) [carbon\_pool\_initial\_template2.csv](https://community.naturalcapitalalliance.org/uploads/short-url/9wKKCBPWvRaXKJV85JUA5mbpBDG.csv) (260 Bytes) [carbon\_pool\_transient\_template2.csv](https://community.naturalcapitalalliance.org/uploads/short-url/2KGX8YbaUqZfuyqRP5GFT9uGTdU.csv) (705 Bytes) [Transitions2.csv](https://community.naturalcapitalalliance.org/uploads/short-url/2i9qJJWMt2DiV0UY6fBPutPj3sf.csv) (1.1 KB) [InVEST-Coastal-Blue-Carbon-log-2020-08-26–21\_10\_56.txt](https://community.naturalcapitalalliance.org/uploads/short-url/4DhBsunOGOZRep9uGxRV7BHv25s.txt) (5.0 KB)  
Thank you for your help.

Marco

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/1X/85822963dc77d0d225781258b5869e352e4cd549.png)

---

<div class="post-metadata">

**Author:** ![dcdenu4](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dcdenu4/32/544_2.png) [@dcdenu4](https://community.naturalcapitalalliance.org/u/dcdenu4)\
**Post date:** [August 26, 2020, 8:19pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269/2 "2020-08-26T20:19:38Z")

</div>

Hey @MarcoGuzzetti,

Thanks for the post and the logs. We’ll take a look and let you know what we find!

Doug

---

<div class="post-metadata">

**Author:** ![dcdenu4](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dcdenu4/32/544_2.png) [@dcdenu4](https://community.naturalcapitalalliance.org/u/dcdenu4)\
**Post date:** [August 26, 2020, 8:30pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269/3 "2020-08-26T20:30:06Z")

</div>

Hi @MarcoGuzzetti,

I think the issue is with the `Transitions2.csv`. It looks like the values `disturb` were left in there, where as the User Guide states:

> You must edit the ‘disturb’ cells with the degree to which disturbance occurs due to the LULC change. This is done by changing ‘disturb’ to either ‘low-impact-disturb’, ‘med-impact-disturb’, or ‘high-impact-disturb’.

Please take a look at the Users Guide section as it can be very helpful for this model. [http://releases.naturalcapitalproject.org/invest-userguide/latest/coastal\_blue\_carbon.html#data-needs-and-running-the-model](http://releases.naturalcapitalproject.org/invest-userguide/latest/coastal_blue_carbon.html#data-needs-and-running-the-model)

Let us know if that helps!

Doug

---

<div class="post-metadata">

**Author:** ![MarcoGuzzetti](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@MarcoGuzzetti](https://community.naturalcapitalalliance.org/u/MarcoGuzzetti)\
**Post date:** [August 28, 2020, 12:20pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269/4 "2020-08-28T12:20:22Z")

</div>

Thank you! It helped a lot

---

<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:** [September 4, 2020, 12:20pm UTC](https://community.naturalcapitalalliance.org/t/coastal-blue-carbon-keyerror-disturb/1269/5 "2020-09-04T12:20:25Z")

</div>

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