You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-08-06 17:43:18,923 (natcap.invest.utils) utils.prepare_workspace(167) ERROR Exception while executing natcap.invest.wind_energy
Traceback (most recent call last):
File "natcap\invest\utils.py", line 165, in prepare_workspace
File "natcap\invest\cli.py", line 486, in main
File "natcap\invest\wind_energy.py", line 1033, in execute
File "taskgraph\Task.py", line 674, in add_task
File "taskgraph\Task.py", line 1093, in _call
File "natcap\invest\wind_energy.py", line 2413, in _clip_and_reproject_vector
File "natcap\invest\wind_energy.py", line 2500, in _clip_vector_by_vector
ValueError: Clipping C:\Users\HarrisonSmith\OneDrive - Wave Hub Development Services Limited\Desktop\intermediate\val_grid_points_Testrun3.shp by C:\Users\HarrisonSmith\OneDrive - Wave Hub Development Services Limited\Desktop\intermediate\clip-reproject-nrbfrygl\reprojected_clip_vector.shp returned 0 features. If an AOI was provided this could mean the AOI and Wind Data do not intersect spatially.
It turns out, however that the issue was actually regarding the overlap of reprojected_clip_vector.shp and the Grid Points, not the Wind Turbine location points. So all of the Grid Points were outside of the AOI, causing this exception. It'd be nice to improve the exception message to reflect this.
The text was updated successfully, but these errors were encountered:
A user on the forums reported this exception:
It turns out, however that the issue was actually regarding the overlap of
reprojected_clip_vector.shp
and the Grid Points, not the Wind Turbine location points. So all of the Grid Points were outside of the AOI, causing this exception. It'd be nice to improve the exception message to reflect this.The text was updated successfully, but these errors were encountered: