I’m trying to run the Wave Energy 3.0 beta model from InVEST 3.7.0, and am having trouble when I set Analysis Area to “Global.” The analysis works fine if I set Analysis Area to “East Coast of North America and Puerto Rico,” but doing so crops out the northern part of the study area I’m interested in.
I specifically get the error, “IndexError: index 4 is out of bounds for axis 0 with size 4”. Digging into the log file, things seem to start going wrong here:
2019-09-11 15:11:56,445 wave_energy.execute(374) INFO Adding DEPTH_M field to the wave shapefile from the DEM
2019-09-11 15:11:56,685 Task.add_task(636) ERROR Something went wrong when adding task index_depth_to_wave_vector (2), terminating taskgraph.
I assume this has something to do with the global wave data? I’m using the wave data as downloaded from data.naturalcapitalproject.org/invest-data/3.6.0/WaveEnergy.zip, and the DEM is from 3.6.0/Marine.zip.
I’ve attached the log file and can upload other files if that would be helpful. I’m running on a MacBook Pro 13" 2017 with macOS 10.14.6.
I appreciate any thoughts on debugging this!