natural_neighbor

Luo_Suppe2026-08-15

gma.smc.interp.natural_neighbor

[function] natural_neighbor(points, values, resolution = None, crs = None, **kwargs):

Use Natural Neighbor method to interpolate points into a 2D array.

Parameters:

points: list||tuple||array.

Interpolate point X (longitude), Y (latitude) coordinates. There must be at least 4 coordinate points.

values: array.

The data value corresponding to the coordinate point, which is the same as the number of points.

**Optional:

resolution = float. Default None.

The resolution of the interpolation result. The default (None) is 1/10 of the minimum bounds X and Y difference.

crs = str||int||CoordinateReferenceSystem. Default None.

Coordinate system. Can be EPSG, WKT, Proj4, and other types of coordinate characters or CoordinateReferenceSystem.

Returns:

Type: namedtuple.

Contains data (data) and affine transformation (geo_transform).

References:

[1] Sibson, R. (1981). A brief description of natural neighbor interpolation (Chapter 2). In V. Barnett (ed.). Interpolating Multivariate Data. Chichester: John Wiley. pp. 21-36.

[2] V.V. Belikov; V.D. Ivanov; V.K. Kontorovich; S.A. Korytnik; A.Y. Semenov (1997). The non-Sibsonian interpolation: A new method of interpolation of the values of a function on an arbitrary set of points. Computational mathematics and mathematical physics. 37 (1): 9-15.

[3] N.H. Christ; R. Friedberg, R.; T.D. Lee (1982). weights of links and plaquettes in a random lattice. Nuclear Physics B. 210 (3): 337-346.

Last Updated 8/19/2026, 6:10:59 AM