Coastal Vulnerability Model

What is the issue or question you have? Coastal vulnerability error in surge potential

What do you expect to happen? i want the distance to be in 100 meters

What have you tried so far?

Attach the logfile here:12/06/2023 16:24:03 taskgraph.Task ERROR Something went wrong when adding task calculate surge exposure (6), terminating taskgraph.

Traceback (most recent call last):
File “taskgraph\Task.py”, line 674, in add_task
File “taskgraph\Task.py”, line 1093, in _call
File “natcap\invest\coastal_vulnerability.py”, line 1675, in calculate_surge_exposure
ValueError: No portion of the shelf contour line (C:\Users\user\Downloads\Continental shelf contour reprojected.shp) is within 1500km of the AOI.
12/06/2023 16:24:03 natcap.invest.utils ERROR Exception while executing natcap.invest.coastal_vulnerability
Traceback (most recent call last):
File “natcap\invest\utils.py”, line 164, in prepare_workspace
File “invest\cli.py”, line 486, in main
File “natcap\invest\coastal_vulnerability.py”, line 557, in execute
File “taskgraph\Task.py”, line 674, in add_task
File “taskgraph\Task.py”, line 1093, in _call
File “natcap\invest\coastal_vulnerability.py”, line 1675, in calculate_surge_exposure
ValueError: No portion of the shelf contour line (C:\Users\user\Downloads\Continental shelf contour reprojected.shp) is within 1500km of the AOI.

Hello @Benita and welcome to the forums!

This error happens when the continental shelf contour vector, which has been reprojected to the AOI’s projection, is too far away from the AOI. This could be an issue with the reprojection behind the scenes, but could also be an issue with the input data.

Would you please share your complete set of input data so we can take a closer look?

Thanks,
James

(Attachment continental shelf.zip is missing)

aoi_NigerDelta.zip (12.6 KB)