Provides tools for interpolating data.
Functions
cross_section(data, start, end[, steps, …])
cross_section
Obtain an interpolated cross-sectional slice through gridded data.
geodesic(crs, start, end, steps)
geodesic
Construct a geodesic path between two points.
interpolate_1d(x, xp, *args[, axis, …])
interpolate_1d
Interpolates data with any shape over a specified axis.
interpolate_nans_1d(x, y[, kind])
interpolate_nans_1d
Interpolate NaN values in y.
interpolate_to_grid(x, y, z[, interp_type, …])
interpolate_to_grid
Interpolate given (x,y), observation (z) pairs to a grid based on given parameters.
interpolate_to_isosurface(level_var, …[, …])
interpolate_to_isosurface
Linear interpolation of a variable to a given vertical level from given values.
interpolate_to_points(points, values, xi[, …])
interpolate_to_points
Interpolate unstructured point data to the given points.
interpolate_to_slice(data, points[, interp_type])
interpolate_to_slice
Obtain an interpolated slice through data using xarray.
inverse_distance_to_grid(xp, yp, variable, …)
inverse_distance_to_grid
Generate an inverse distance interpolation of the given points to a regular grid.
inverse_distance_to_points(points, values, xi, r)
inverse_distance_to_points
Generate an inverse distance weighting interpolation to the given points.
log_interpolate_1d(x, xp, *args[, axis, …])
log_interpolate_1d
Interpolates data with logarithmic x-scale over a specified axis.
natural_neighbor_to_grid(xp, yp, variable, …)
natural_neighbor_to_grid
Generate a natural neighbor interpolation of the given points to a regular grid.
natural_neighbor_to_points(points, values, xi)
natural_neighbor_to_points
Generate a natural neighbor interpolation to the given points.
remove_nan_observations(x, y, z)
remove_nan_observations
Remove all x, y, and z where z is nan.
remove_observations_below_value(x, y, z[, val])
remove_observations_below_value
Remove all x, y, and z where z is less than val.
remove_repeat_coordinates(x, y, z)
remove_repeat_coordinates
Remove all x, y, and z where (x,y) is repeated and keep the first occurrence only.