Closed simmsa closed 3 days ago
@rpauly18 and @hivanov-nrel, this is good to go. This is a simple fix and test for the jonswap_spectrum
function. Prior to this addition we were not passing the Hs
argument to MHKiT-Python. This fix passes Hs
to MHKiT-Python when the number of inputs is 4.
This fixes a bug, described in #132, where the
Hs
argument input into thejonswap_spectrum
function is not properly mapped to the correspondingmhkit.wave.resource.jonswap_spectrum
function. This mapsHs
into the 3rd argument ofjonswap_spectrum
when the gamma parameter is passed. Test failures are expected until this is rebased to include #131.