# There are negative values in QuickFlow

**URL:** <https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173>\
**Category:** Software Support\
**Tags:** seasonal-water-yield\
**Created:** [November 2, 2022, 1:49pm UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173 "2022-11-02T13:49:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![YIYI](https://avatars.discourse-cdn.com/v4/letter/y/e56c9b/32.png) [@YIYI](https://community.naturalcapitalalliance.org/u/YIYI)\
**Post date:** [November 2, 2022, 1:49pm UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173/1 "2022-11-02T13:49:12Z")

</div>

Hi, I have a problem with running SWY.There are negative values ​​in my QuickFlow raster. I checked these values ​​and they occured on the edge of raster.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/f/f82479ba34400363c293142f94615780decf53bb.png)  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/2/2dc0481296196442074fc11120d483bbe296c92b.png)  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/c/cbc37a696f480180904279e8f7c75dabca7edc4c.png)

I’m not sure what is the source of the negative values.

[InVEST-natcap.invest.seasonal\_water\_yield.seasonal\_water\_yield-log-2022-10-28–23\_40\_14.txt](https://community.naturalcapitalalliance.org/uploads/short-url/o9mkNpew214Js1TLjE9gCcAUb40.txt) (58.4 KB)

Any pointers would be much appreciated.

Chen

---

<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:** [November 2, 2022, 3:34pm UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173/2 "2022-11-02T15:34:43Z")

</div>

Hi @YIYI -

Have you checked out [this forum post](https://community.naturalcapitalalliance.org/t/seasonal-water-yields-negative-results/1633/9) that mentions something similar? @dcdenu4, do you have any updates on that boundary issue? Chen is using InVEST 3.12.0.

~ Stacie

---

<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:** [November 2, 2022, 6:36pm UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173/3 "2022-11-02T18:36:29Z")

</div>

@YIYI,  
Could you please share your data? You can upload it here or email to me privately: esoth@stanford.edu.

---

<div class="post-metadata">

**Author:** ![YIYI](https://avatars.discourse-cdn.com/v4/letter/y/e56c9b/32.png) [@YIYI](https://community.naturalcapitalalliance.org/u/YIYI)\
**Post date:** [November 3, 2022, 10:15am UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173/4 "2022-11-03T10:15:42Z")

</div>

Hi Stacie,  
Thanks for your help,your suggestion helped me a lot.DEM and LULC rasters that overlap with negative areas have no values.I guess this is due to inconsistent raster resolution,it’s a problem generated during the raster clipping process.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/3/35134b197f3ada34fcc9a95fd40a37b0ab8596bb.png)

Chen

---

<div class="post-metadata">

**Author:** ![YIYI](https://avatars.discourse-cdn.com/v4/letter/y/e56c9b/32.png) [@YIYI](https://community.naturalcapitalalliance.org/u/YIYI)\
**Post date:** [November 3, 2022, 10:42am UTC](https://community.naturalcapitalalliance.org/t/there-are-negative-values-in-quickflow/3173/5 "2022-11-03T10:42:45Z")

</div>

Hi @esoth ,  
I have sent the data to your email, thank you very much for your help.  
Chen
