# SDR Model - Running Software Issue

**URL:** <https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817>\
**Category:** Software Support\
**Tags:** sdr\
**Created:** [February 20, 2020, 3:44pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817 "2020-02-20T15:44:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuriloArima](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/muriloarima/32/575_2.png) [@MuriloArima](https://community.naturalcapitalalliance.org/u/MuriloArima)\
**Post date:** [February 20, 2020, 3:44pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/1 "2020-02-20T15:44:37Z")

</div>

Good day researchers, my name is Murilo and I am a master-student from University of Mato Grosso do Sul (UFMS). I’m developing a study about a Pantanal watershed, also I’m facing some difficulties about how to use SDR model properly (datasets, paramaters). I have some datas that are not working well in the software.

Therefore, I am interested on datasets (parameters) samples of SDR Model to improve my research.

Any thoughts and tips are welcome and I will be very grateful.

Have a nice week everyone

Best Regards.

Murilo.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [February 20, 2020, 7:09pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/2 "2020-02-20T19:09:42Z")

</div>

Hi Murilo, welcome to the forum.

Have you explored the sample data for SDR that comes with InVEST? Find it in the `sample_data` folder of your InVEST 3.8.0 installation. And have you looked at the User’s Guide? [http://releases.naturalcapitalproject.org/invest-userguide/latest/](http://releases.naturalcapitalproject.org/invest-userguide/latest/)

If you have specific issues with running the model, please start by reading [Guidelines for posting software support questions](https://community.naturalcapitalalliance.org/t/guidelines-for-posting-software-support-questions/24)

Cheers,

---

<div class="post-metadata">

**Author:** ![MuriloArima](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/muriloarima/32/575_2.png) [@MuriloArima](https://community.naturalcapitalalliance.org/u/MuriloArima)\
**Post date:** [February 20, 2020, 8:07pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/3 "2020-02-20T20:07:35Z")

</div>

hi dave, how are u?

yes, i did, i ran the sample data into the model to see how invest works, but after files were generated into workspace folder, i couldn’t open any of this files, because they are not visible into any shape-program (i ve tested into ArcGis and Qgis) and both showed up a shape with watershed boundary content a black inside the boundary, i have no idea what happened because i followed the guide and the results are not what i expected.

Also, i have some doubts about biophysical table, how is the data input, when im interested in sediment ratios? (not the nutrient model as showed into data example)

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [February 20, 2020, 9:05pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/4 "2020-02-20T21:05:15Z")

</div>

It’s a little hard to say, but that sounds like it could be a problem only with how the GIS program is symbolizing the data in the results files. Adjusting the symbology rules (how colors map to values) could resolve that. Does `watershed_results_sdr.shp` have values in the attribute table?

If you are using the table from `sample_data/SDR/biophysical_table_GURA.csv` then it will have the required data for SDR, it also has additional data for the NDR model. The user’s guide has some more details on which columns are required by SDR: [http://releases.naturalcapitalproject.org/invest-userguide/latest/sdr.html#data-needs](http://releases.naturalcapitalproject.org/invest-userguide/latest/sdr.html#data-needs)

---

<div class="post-metadata">

**Author:** ![MuriloArima](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/muriloarima/32/575_2.png) [@MuriloArima](https://community.naturalcapitalalliance.org/u/MuriloArima)\
**Post date:** [February 21, 2020, 11:03am UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/5 "2020-02-21T11:03:09Z")

</div>

yes, there are some values into attribute table, but how can i define colors map to a value range like any max-min value to each location instead a general value like showed into

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

Also, idk if it’s correct because idk how the results should be, but is this image right?

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

---

<div class="post-metadata">

**Author:** ![MuriloArima](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/muriloarima/32/575_2.png) [@MuriloArima](https://community.naturalcapitalalliance.org/u/MuriloArima)\
**Post date:** [February 21, 2020, 11:06am UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/6 "2020-02-21T11:06:24Z")

</div>

could i simply remove the load\_p and load\_n column (and add only the necessary data) from example biophysical table to use into a SDR model instead a NDR?

---

<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:** [February 21, 2020, 3:22pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/7 "2020-02-21T15:22:24Z")

</div>

Hi @MuriloArima -

Yes, you can remove the columns in the Gura biophysical table that are not needed for SDR.

In both QGIS and ArcGIS you can change the symbology to correspond with different values in the shapefile. Each GIS is different, so I recommend looking at online tutorials to learn how. For example, [here’s one that steps through vector symbology](https://www.qgistutorials.com/en/docs/3/basic_vector_styling.html), including setting the colors based on a table attribute value. I’m sure there are many others.

~ Stacie

---

<div class="post-metadata">

**Author:** ![MuriloArima](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/muriloarima/32/575_2.png) [@MuriloArima](https://community.naturalcapitalalliance.org/u/MuriloArima)\
**Post date:** [February 21, 2020, 3:42pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/8 "2020-02-21T15:42:59Z")

</div>

I have doubts about how much sediment is carried to the river, is there any possibility of invest estimate it? because my studied watershed is silting up and i wanna find out a way to estimate how much is going directly to the river.

Is there any info about river vector ?

thanks a lot guys

---

<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:** [February 21, 2020, 4:14pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/9 "2020-02-21T16:14:38Z")

</div>

The **sed\_export** results from the model provide an estimate of how much erosion arrives at the stream network, which is created from the input DEM. The model does not include any calculations within the stream network itself (like channel erosion or deposition.) [The User Guide for SDR](http://releases.naturalcapitalproject.org/invest-userguide/latest/sdr.html#id2) provides more detail about how this works.

~ Stacie

---

<div class="post-metadata">

**Author:** ![armyanda92](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@armyanda92](https://community.naturalcapitalalliance.org/u/armyanda92)\
**Post date:** [May 16, 2020, 2:33am UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/10 "2020-05-16T02:33:03Z")

</div>

Hello everyone,

I’m currently working on the sediment delivery ratio model in some areas of Indonesia. However, during the running I always found an error.

Here I attached the model log file (.txt). If anyone could help me to understand what was wrong with the input model, it will help me very much.

Thank you!

Best,  
Armyanda[InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2020-05-15–08\_56\_03.txt](https://community.naturalcapitalalliance.org/uploads/short-url/1QVURSIjkkESDGCLDi9IAmcsgeM.txt) (645.2 KB)

---

<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:** [May 19, 2020, 10:47pm UTC](https://community.naturalcapitalalliance.org/t/sdr-model-running-software-issue/817/11 "2020-05-19T22:47:04Z")

</div>

Hi @armyanda92, could you post your issue to a new thread so we can try to keep better tabs on things? Thanks!
