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 of shape
(n, 3)
, wheren
is the number of observations and 3 represents the coordinates in the order: x, y, and z. If the matrix shape is(n, 2)
, the z-coordinate is assumed to be zero. The coordinates (x, y, z) are in the Cartesian coordinate system (ECEF) if the instance is configured to use this system (ecef keyword set to True during construction). Otherwise, the coordinates are in the geodetic system (longitude, latitude, and altitude) in degrees, degrees, and meters, respectively.values – An array of size
(n)
containing the values associated with the coordinates provided.