wavespectra.SpecArray.interp_like#
- SpecArray.interp_like(other, maintain_m0=True)[source]#
Interpolate onto coordinates from other spectra.
- Parameters:
other (-) – Spectra defining new spectral basis.
maintain_m0 (-) – Ensure variance is conserved in interpolated spectra.
- Returns:
- Regridded spectra, returned as a Dataset with
the non-spectral variables preserved when called from the Dataset accessor.
- Return type:
dsi (DataArray)