pub fn resample_linear(
arr: &XarrayDataArray,
new_shape: Vec<usize>,
) -> XarrayDataArrayExpand description
Resample an array to a new shape using nearest-neighbour / linear interpolation.
Uses trilinear interpolation for up to 3-D; falls back to nearest-neighbour for higher dimensions.