pyinterp.geodetic.RTree.packing

RTree.packing(self: pyinterp.core.geodetic.RTree, lon: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]'], lat: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]'], values: Annotated[numpy.typing.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.