sph_spline
Interpolates data over a sphere using spherical surface splines in tension
Calling Sequence
import spatial_interpolators as spi
output = spi.sph_spline(lon, lat, data, longitude, latitude, tension=0.5)
- spatial_interpolators.sph_spline(lon, lat, data, longitude, latitude, tension=0.0)[source]
Interpolates a sparse grid over a sphere using spherical surface splines in tension
- Parameters
- lon: float
input longitude
- lat: float
input latitude
- data: float
input data
- longitude: float
output longitude
- latitude: float
output latitude
- tension: float, default 0.0
tension to use in interpolation
- Returns
- output: float
interpolated data grid
References
- Wessel2008
P. Wessel, and J. M. Becker, “Interpolation using a generalized Green’s function for a spherical surface spline in tension,” Geophysical Journal International, 174(1), 21–28, (2008). doi: 10.1111/j.1365-246X.2008.03829.x