dctools.processing.interpolation

Interpolation functions.

Functions

apply_over_time_depth(ds, var_names, ...[, ...])

Apply an operation over time and depth dimensions for selected variables in an xarray Dataset.

interpolate_dataset(ds, target_grid[, ...])

Unified interface which uses only scatter logic with Dask.

interpolate_pyinterp(ds, target_grid[, ...])

Interpolate Dataset using PyInterp (High Performance).

interpolate_scipy(ds, target_grid[, ...])

Interpolate an xarray Dataset onto a target grid using SciPy interpolation.

interpolate_xesmf(ds, target_grid[, ...])

Interpolate Dataset using xESMF.

rename_back(orig_ds, renamed_ds, coord_mapping)

Rename coordinates back to their original names.

rename_to_standard_pyinterp(ds, lat_name, ...)

Rename coordinates to 'lat' and 'lon' for pyinterp compatibility.

scipy_bilinear(data2d, lat_src, lon_src, ...)

Memory-efficient bilinear interpolation using scipy.