wavespectra.core.utils.waveage#
- wavespectra.core.utils.waveage(freq, dir, wspd, wdir, dpt, agefac)[source]#
Wave age criterion for partitioning wind-sea.
- Args:
freq (xr.DataArray): Spectral frequencies.
dir (xr.DataArray): Spectral directions.
wspd (xr.DataArray): Wind speed.
wdir (xr.DataArray): Wind direction.
dpt (xr.DataArray): Water depth.
agefac (float): Age factor.