# Coastal Vulnerability - wwiii to shore points interpolation error

**URL:** <https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478>\
**Category:** Software Support\
**Tags:** coastal-vulnerability\
**Created:** [February 13, 2024, 12:39pm UTC](https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478 "2024-02-13T12:39:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![byron](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@byron](https://community.naturalcapitalalliance.org/u/byron)\
**Post date:** [February 13, 2024, 12:39pm UTC](https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478/1 "2024-02-13T12:39:28Z")

</div>

Hello,  
The model run did not complete as an **interpolate\_wwiii\_to\_shore** error occurred. More info can be found in the log file. Is there a way to handle this? Thnks!  
[InVEST-natcap.invest.coastal\_vulnerability-log-2024-02-13–11\_49\_44.txt](https://community.naturalcapitalalliance.org/uploads/short-url/tCd9LBHHf3I3EFkQpGpb6AE0eHy.txt) (3.5 KB)

---

<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 13, 2024, 2:03pm UTC](https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478/2 "2024-02-13T14:03:25Z")

</div>

Hi @byron ,

It looks like you are providing your own version of the WW3 data? That’s great, but I think there’s a problem with the content of the table.

`ValueError: could not convert string to float: '0,001856579'`

I’m afraid this value could not be converted to a number because of the comma used as the decimal point. Python thinks this value is a string, not a number.

What software did you use to create `ww3.shp`? It’s possible that the locale settings of your operating system are causing the use of the comma as opposed to a period for the decimal separator. But I would also hope that would not need to change your system’s locale just for this. Does your GIS program interpret the attribute table fields as Strings or as Reals/doubles? If they are coded as Strings, then maybe you can use your GIS to convert the field’s type, and hopefully it will interpret the decimal correctly?

---

<div class="post-metadata">

**Author:** ![byron](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@byron](https://community.naturalcapitalalliance.org/u/byron)\
**Post date:** [February 14, 2024, 9:17am UTC](https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478/3 "2024-02-14T09:17:41Z")

</div>

Hello Dave and thank you for the answer.

Indeed I used my own WW3 file and QGIS. I had the issue you mentioned in mind and had chosen the reals/doubles in fields, but it turned out a single column was under boolean type and I suppose that caused the error. The run was finished, thanks for the advice!

_P.S. I have a couple of questions, I will write in new separate posts as they concern other issues_

---

<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:** [February 21, 2024, 9:18am UTC](https://community.naturalcapitalalliance.org/t/coastal-vulnerability-wwiii-to-shore-points-interpolation-error/4478/4 "2024-02-21T09:18:31Z")

</div>

Closed on February 21, 2024, 9:18am UTC

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