# The output file is incomplete

**URL:** <https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530>\
**Category:** Software Support\
**Tags:** ndr\
**Created:** [March 17, 2023, 1:25pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530 "2023-03-17T13:25:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![3530611553](https://avatars.discourse-cdn.com/v4/letter/3/da6949/32.png) [@3530611553](https://community.naturalcapitalalliance.org/u/3530611553)\
**Post date:** [March 17, 2023, 1:25pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/1 "2023-03-17T13:25:31Z")

</div>

### What is the issue or question you have?

### What do you expect to happen?

### What have you tried so far?

### Attach the logfile here:

Not all files output by the model are complete, such as gpkg and p\_surface\_export\_6.tif, which are incomplete, and modified\_load\_p\_6.tif is complete.  
The picture is as follows  
[InVEST-Nutrient-Delivery-Ratio-log-2023-03-17–21\_00\_50.txt](https://community.naturalcapitalalliance.org/uploads/short-url/AmGkB8hQUOO9hGIjU8fe2Q2X5US.txt) (60.0 KB)

 ![QQ截图20230317212337](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/3/3e4fbea21dacdabc7053fb156dd43795c53a73ea.jpeg)  
 ![QQ截图20230317212405](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/c/c316896176043c8f0314a31fc90deddc1c4f4550.jpeg)  
 ![QQ截图20230317212431](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/a/a2a4d4fee02cdf188141609c4348ec6a0cea13a1.jpeg)

---

<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:** [March 17, 2023, 7:12pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/2 "2023-03-17T19:12:17Z")

</div>

Hi @3530611553 , it seems that your file attachments did not finish uploading before you posted your message. Could you please try again and wait until the “Uploading: …” message disappears before finishing the post?

Thank you,

---

<div class="post-metadata">

**Author:** ![3530611553](https://avatars.discourse-cdn.com/v4/letter/3/da6949/32.png) [@3530611553](https://community.naturalcapitalalliance.org/u/3530611553)\
**Post date:** [March 18, 2023, 12:55am UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/3 "2023-03-18T00:55:46Z")

</div>

Hello, it has been uploaded.

---

<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:** [March 20, 2023, 1:15pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/4 "2023-03-20T13:15:26Z")

</div>

Thanks for updating those files. I don’t see anything strange in the logfile, so I think we will need to look at the input data in order to solve the problem. I would expect the outputs to only exist in areas covered by the input watershed layer.

Could you please collect all your input data in a zip file and share a link to that zip file, using dropbox, google drive, or similar? Then I can take a closer look.

Thank you,

---

<div class="post-metadata">

**Author:** ![3530611553](https://avatars.discourse-cdn.com/v4/letter/3/da6949/32.png) [@3530611553](https://community.naturalcapitalalliance.org/u/3530611553)\
**Post date:** [March 21, 2023, 3:08am UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/5 "2023-03-21T03:08:56Z")

</div>

File data and model results have been uploaded, thank you for your help.

> **[ndr\_data.7z](https://drive.google.com/file/d/1iU0awEoR1MagE4sTElzj3a1hsU8VKjRl/view?usp=share_link)**
>
> Google Drive file.

---

<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:** [March 21, 2023, 6:10pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/6 "2023-03-21T18:10:29Z")

</div>

Thank you for sharing your data. I believe the spatial extent of the results is explained by the “Area of Outputs” section of the User Guide here: [NDR: Nutrient Delivery Ratio — InVEST documentation](http://releases.naturalcapitalproject.org/invest-userguide/latest/en/ndr.html#defined-area-of-outputs)

User Guide also available in Spanish & Chinese:  
[https://naturalcapitalproject.stanford.edu/software/invest](https://naturalcapitalproject.stanford.edu/software/invest)

It may be important to view the `stream.tif` intermediate output and see if it is a good representation of the stream network in your study area. If not, you might adjust the Threshold Flow Accumulation value. And if you want results in the areas that appear “missing” here, you may need to expand your input data to cover a wider extent. Also from the User Guide: “To ensure proper flow routing, the DEM should extend beyond the watersheds of interest, rather than being clipped to the watershed edge.”

---

<div class="post-metadata">

**Author:** ![3530611553](https://avatars.discourse-cdn.com/v4/letter/3/da6949/32.png) [@3530611553](https://community.naturalcapitalalliance.org/u/3530611553)\
**Post date:** [March 22, 2023, 1:01am UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/7 "2023-03-22T01:01:24Z")

</div>

> [@dave](#):
>
> stream.tif

How to ensure that the river generated by the model is no problem? I think the value of stream.tif in my model result file is 0. And I re-entered the expanded dem, which is also the same problem。

 ![QQ截图20230322085729](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/3/395f8ab1018821c5ea80e7aae33b1ba5fe6cc273.jpeg)

---

<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:** [March 22, 2023, 2:02pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/8 "2023-03-22T14:02:31Z")

</div>

> [@3530611553](#):
>
> How to ensure that the river generated by the model is no problem? I think the value of stream.tif in my model result file is 0. And I re-entered the expanded dem, which is also the same problem。

Please see this related section of the SDR User Guide, which is linked from the NDR chapter. [SDR: Sediment Delivery Ratio — InVEST® documentation](http://releases.naturalcapitalproject.org/invest-userguide/latest/en/sdr.html#defined-area-of-outputs)

It discusses using the Threshold Flow Accumulation parameter to control the presence of streams.

---

<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:** [June 20, 2023, 2:03pm UTC](https://community.naturalcapitalalliance.org/t/the-output-file-is-incomplete/3530/9 "2023-06-20T14:03:11Z")

</div>

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