xoa.regrid.regrid1d

xoa.regrid.regrid1d(da, coord, method=None, dim=None, coord_in_name=None, conserv=False, extrap=0, bias=0.0, tension=0.0)[source]

Regrid along a single dimension

The input and output coordinates may vary along other dimensions, which useful for instance for vertical interpolation in coastal ocean models. Since it uses func:xarray.apply_ufunc, it support dask features. The core computation is performed by the numba-accelerated routines of xoa.interp.

Parameters
Returns

xarray.DataArray – Regridded array with coord as new coordinate array.

See also

xoa.interp.nearest1d, xoa.interp.linear2d, xoa.interp.cubic2d, xoa.interp.hermit1d, xoa.interp.cellave1d