wavespectra.SpecArray.split#
- SpecArray.split(fmin=None, fmax=None, dmin=None, dmax=None, interpolate=True, rechunk=True)[source]#
Split spectra over freq and/or dir dims.
- Args:
fmin (float): lowest frequency to split spectra, by default the lowest.
fmax (float): highest frequency to split spectra, by default the highest.
dmin (float): lowest direction to split spectra at, by default min(dir).
dmax (float): highest direction to split spectra at, by default max(dir).
interpolate (bool): Interpolate spectra at frequency cutoffs they are not available in coordinates of input spectra.
rechunk (bool): Rechunk split dims so there is one single chunk.