pyinterp.core.RTree3DFloat64.insert#

RTree3DFloat64.insert(self: pyinterp.core.RTree3DFloat64, coordinates: numpy.ndarray[numpy.float64], values: numpy.ndarray[numpy.float64]) None#

Insert new data into the search tree.

Parameters

coordinates

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.