xarray.DataArray.xoa.interp#
- DataArray.xoa.interp(dst_lon, dst_lat, method='bilinear', skipna=False, na_thres=1.0, **kwargs)#
Interpolate to arbitrary destination points
- Parameters:
dst_lon (array_like, xarray.DataArray) – Destination coordinates, any shape. See
xoa.coords.geo_merge().dst_lat (array_like, xarray.DataArray) – Destination coordinates, any shape. See
xoa.coords.geo_merge().method (str, int) – Interpolation method, see
xoa.interp.xy_interp_methodsskipna (bool) – Skip NaN values
na_thres (float) – Threshold for NaN handling
kwargs – Extra parameters are passed to
xoa.interp.Interpolator, likeweights_file,src_mask,biasortension.
- Returns:
xarray.DataArray, xarray.Dataset
See also