pyinterp.core.geometry.geographic.RTree.kriging

Contents

pyinterp.core.geometry.geographic.RTree.kriging#

RTree.kriging(self, coordinates: numpy.ndarray[dtype=float64, shape=(*, 2), writable=False], config: pyinterp.core.config.rtree.Kriging | None = None) tuple[numpy.ndarray[dtype=float64, shape=(*), order='C'], numpy.ndarray[dtype=uint32, shape=(*), order='C']]#

Kriging interpolation on geographic coordinates.

Parameters:
  • coordinates – Matrix of shape (n, 2) with (lon, lat) in degrees.

  • config – Kriging configuration (model parameters, k neighbors, radius, boundary check, threads).

Returns:

Tuple (values, neighbor_counts).