hydromodpy.spatial.mesh.cartesian_grid.spatial_interpolation#

Shared spatial interpolation utilities for structured grids.

Provides nearest-neighbor, linear, and inverse-distance-weighting (IDW) interpolation from scattered or gridded source data onto 2-D target cell-center arrays.

Functions

interpolate_points_to_grid(point_x, point_y, ...)

Interpolate scattered point observations onto a (nrow, ncol) grid.

interpolate_to_grid(source_values, source_x, ...)

Interpolate source data onto a (nrow, ncol) target grid.