pyinterp.geometry.geographic.RTree.window_function

pyinterp.geometry.geographic.RTree.window_function#

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

Window function interpolation on geographic coordinates.

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

  • config – Window configuration (window function, argument, k, radius, boundary check, threads).

Returns:

Tuple (values, neighbor_counts).