# The value “nan” appears in the results of the NDR module, and the results of runoff\_proxy\_index.tif are also “nan”

**URL:** <https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826>\
**Category:** Software Support\
**Tags:** ndr\
**Created:** [February 27, 2025, 4:07am UTC](https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826 "2025-02-27T04:07:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xuefei](https://avatars.discourse-cdn.com/v4/letter/x/7993a0/32.png) [@Xuefei](https://community.naturalcapitalalliance.org/u/Xuefei)\
**Post date:** [February 27, 2025, 4:07am UTC](https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826/1 "2025-02-27T04:07:12Z")

</div>

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

The value “nan” appears in the results of the NDR module, and the results of runoff\_proxy\_index.tif are also “nan”.

#### What do you expect to happen?

I will upload my work logfile and hope to get professional answers from your team 😢

#### What have you tried so far?

I have tried to make changes to the nodata values for all the data, and the result is still an error

### 

[InVEST-natcap.invest.ndr.ndr-log-2025-02-27–10\_12\_10.txt](https://community.naturalcapitalalliance.org/uploads/short-url/khNF6UBu2m4cFBtqXM56Tnza5ET.txt) (100.8 KB)

---

<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 27, 2025, 3:03pm UTC](https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826/2 "2025-02-27T15:03:45Z")

</div>

Hi @Xuefei -

Thanks for uploading your logfile. Usually when values of “nan” appear in the output, it is because there are “nan” values in one or more of the input rasters. You said that you tried to make changes to the nodata values, how did you do this? What is the nodata value set to? Are there any nan values in places that should have valid data values (not nodata?)

~ Stacie

---

<div class="post-metadata">

**Author:** ![Xuefei](https://avatars.discourse-cdn.com/v4/letter/x/7993a0/32.png) [@Xuefei](https://community.naturalcapitalalliance.org/u/Xuefei)\
**Post date:** [March 3, 2025, 5:49am UTC](https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826/4 "2025-03-03T05:49:56Z")

</div>

Maybe this shows my unprofessionalism, I have gone through some software and changed the Nodata value of the data to -9999 or some bigger value, but the result is still the same “nan”. Thank you very much for your guidance, I will check the rasters I entered!

---

<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:** [March 10, 2025, 5:50am UTC](https://community.naturalcapitalalliance.org/t/the-value-nan-appears-in-the-results-of-the-ndr-module-and-the-results-of-runoff-proxy-index-tif-are-also-nan/5826/5 "2025-03-10T05:50:31Z")

</div>

Closed on March 10, 2025, 5:50am UTC

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