pyinterp.geodetic.RTree.packing#

RTree.packing(self: pyinterp.core.geodetic.RTree, lon: numpy.ndarray[numpy.float64[m, 1]], lat: numpy.ndarray[numpy.float64[m, 1]], values: numpy.ndarray[numpy.float64[m, 1]]) None#

The tree is created using packing algorithm (The old data is erased before construction.)

Parameters:
  • lon – The longitude, in degrees, of the points to insert.

  • lat – The latitude, in degrees, of the points to insert.

  • values – The values to insert.