The upper bound on WaveDir is checked incorrectly in the WAMIT2 submodule of HydroDyn. See the following forum topic for details: https://wind.nrel.gov/forum/wind/viewtopic.php?f=4&t=1670.
The second problem reported in that forum topic is not a bug; the direction pairs must be fully populated (not sparse).
The upper bound on WaveDir is checked incorrectly in the WAMIT2 submodule of HydroDyn. See the following forum topic for details: https://wind.nrel.gov/forum/wind/viewtopic.php?f=4&t=1670.
The second problem reported in that forum topic is not a bug; the direction pairs must be fully populated (not sparse).