MHKiT-Python
MHKiT-Python copied to clipboard
Add optional parameter frequency_dimension across wave.resource
This PR makes the xarray work in wave.resource more consistent by adding the optional parameter frequency_dimension
to functions like significant_wave_height
that then pass the parameter to frequency_moment
.
This is an immediate speed fix for #331 by allowing xarray formats to be passed to all relevant wave.resource functions