xoa.regrid.extrap1d
- xoa.regrid.extrap1d(da, dim, mode, dask='parallelized')[source]
Extrapolate along a single dimension
- Parameters:
da (xarray.DataArray) – Array to interpolate
dim (str) – Dimension on which to operate.
mode (str, int) – Extrapolation mode as one of the following:
0|"no"|"none"|"false"
,1|"top"|"above"|"after"
,-1|"bottom"|"below"
,2|"both"|"all"|"yes"|"true"
dask (str) – See
xarray.apply_ufunc()
.
- Returns:
xarray.DataArray – Extrapolated array.
See also