RTree3DFloat32.packing(self: pyinterp.core.RTree3DFloat32, coordinates: numpy.ndarray[numpy.float32], values: numpy.ndarray[numpy.float32]) None#

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



a matrix (n, 3) where n is

the number of observations and 3 is the number of coordinates in order: longitude and latitude in degrees and altitude in meters. If the shape of the matrix is (n, 2) then the method considers the altitude constant and equal to zero.

values: An array of size (n) containing the values associated with the

coordinates provided.