# Help with an error for Habitat Quality Model

**URL:** <https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343>\
**Category:** Software Support\
**Tags:** habitat-quality\
**Created:** [September 21, 2020, 1:46am UTC](https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343 "2020-09-21T01:46:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fahr0027](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@fahr0027](https://community.naturalcapitalalliance.org/u/fahr0027)\
**Post date:** [September 21, 2020, 1:46am UTC](https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343/1 "2020-09-21T01:46:24Z")

</div>

Hi!!! Guys I need some help with Habitat Quality Model. When I put all the data in the model! , appears a window with the next message “ValueError encountered”. I try everything for fix but this error persists… So Can you help me please??? 👏🏼 👏🏼 👏🏼[Error\_Invest|688x154](https://community.naturalcapitalalliance.org/uploads/short-url/u6VqBXCERZwLr3Mx4NOcbKNIcta.jpeg)

---

<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:** [September 21, 2020, 2:40pm UTC](https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343/2 "2020-09-21T14:40:19Z")

</div>

Hi @fahr0027,

Thanks for posting to the forums and using InVEST. Currently for the Habitat Quality model if you have a threat “HabSuita”, then the Threat CSV will have a name “HabSuita”, the Sensitivity CSV will have a column “L\_HabSuita”, and the threat raster folder will have a raster “HabSuita.tif”. The “L\_” is necessary for the threat column in the sensitivity CSV.

Could you check that this is how you have the CSV inputs set up?

Cheers,

Doug

---

<div class="post-metadata">

**Author:** ![fahr0027](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@fahr0027](https://community.naturalcapitalalliance.org/u/fahr0027)\
**Post date:** [September 22, 2020, 4:04pm UTC](https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343/3 "2020-09-22T16:04:08Z")

</div>

Thanks for your help!! The model works!!! 👏🏼 👏🏼

Cheers mate!!!

---

<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 29, 2020, 4:04pm UTC](https://community.naturalcapitalalliance.org/t/help-with-an-error-for-habitat-quality-model/1343/4 "2020-09-29T16:04:08Z")

</div>

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