pyinterp.core.geometry.geographic.RTree.packing

Contents

pyinterp.core.geometry.geographic.RTree.packing#

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

Bulk-load points using the STR packing algorithm.

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

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