MHKiT-Python provides the marine renewable energy (MRE) community tools for data processing, visualization, quality control, resource assessment, and device performance.
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
@akeeste in case you are catching up we need to get #335 merged before anything will pass tests due to the numpy 2.0.0 upgrade. (waiting on the wind hindcast rn which is everyone's favorite 5 hour test).
This PR makes the xarray work in wave.resource more consistent by adding the optional parameter
frequency_dimension
to functions likesignificant_wave_height
that then pass the parameter tofrequency_moment
.This is an immediate speed fix for #331 by allowing xarray formats to be passed to all relevant wave.resource functions