pyinterp.core.geometry.geographic.RTree.insert

Contents

pyinterp.core.geometry.geographic.RTree.insert#

RTree.insert(self, coordinates: numpy.ndarray[dtype=float64, shape=(*, 2), writable=False], values: numpy.ndarray[dtype=float64, shape=(*), writable=False]) None#

Insert points into the tree.

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

  • values – Vector of size n containing the value at each coordinate.