geointerpo
Spatial interpolation for Python — 18 methods, live data APIs, and boundary clipping.
Drop in point data, get a smooth interpolated raster out.
Fetch live weather, air quality, or precipitation data from Meteostat, OpenAQ, Open-Meteo, NASA POWER, and ERA5.
Define your study area by place name, polygon file, or bounding box — boundaries are resolved automatically.
Export to GeoTIFF or NetCDF, run spatial cross-validation, compare methods side by side, and visualize interactively.
📖 Documentation · Install · Quickstart · Methods · Examples
Ordinary Kriging · Natural Neighbor · Gaussian Process — same 60 stations, Alberta, Canada
Install
pip install "geointerpo[full]"
Quickstart
from geointerpo import Pipeline
result = Pipeline(
data="stations.csv", # CSV, GeoDataFrame, or live API
boundary="Calgary, Alberta", # place name, bbox, or polygon file
method=["idw", "kriging", "spline"],
).run()
result.plot() # side-by-side comparison
result.plot_interactive()# zoomable plotly/leafmap map
result.metrics_table() # cross-validation RMSE / r
result.best_method() # best CV score
result.save("outputs/") # GeoTIFF + PNG + CSV
Methods
geointerpo covers 18 canonical methods across deterministic, geostatistical, and ML workflows. All share the same interface — swap method= to compare.
Distance-based
The fastest methods — no statistical assumptions, exact at data points. Ideal as a quick baseline or when data is dense and evenly distributed.
idw · nearest · linear · cubic
Spline & Trend
Fit smooth continuous surfaces. Splines minimise curvature; RBF offers eight kernel choices; Trend fits a global polynomial for large-scale patterns.
spline · spline_tension · rbf · trend
Geostatistical
Account for spatial autocorrelation via a variogram model. Produce statistically optimal, unbiased estimates. Natural Neighbor uses Voronoi area-stealing weights — smooth and exact at data locations.
kriging (Ordinary) · uk (Universal) · natural_neighbor
Machine Learning
Capture non-linear spatial patterns. GP returns a full uncertainty surface alongside the mean prediction. Regression Kriging combines an ML trend with Kriging of the residuals.
gp (Gaussian Process) · rf (Random Forest) · gbm (Gradient Boosting) · rk (Regression Kriging)
References
- ArcGIS Pro — Interpolation Tools Overview
- 3 Best Methods for Spatial Interpolation — Towards Data Science
- GeoStat-Framework/PyKrige — Ordinary, Universal, and Regression Kriging
- GeoStat-Framework/GSTools — Covariance models, variograms, random fields
- mmaelicke/scikit-gstat — Variogram estimation and ordinary kriging
- DataverseLabs/pyinterpolate — IDW, kriging, Poisson kriging
- fatiando/verde — Machine-learning-style spatial gridding
- GeostatsGuy/GeostatsPy — GSLIB-based geostatistics
Metadata
Release files for geointerpo 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| geointerpo-0.2.0.tar.gz | 4.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geointerpo-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 MB
Release files / geointerpo-0.2.0.tar.gz
| Download URL | geointerpo-0.2.0.tar.gz |
|---|---|
| Size | 4.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
208db642a55f0a49b9e385fc4b8353f37915b48e03155e8c1b20983693de5e92
|
|
BLAKE2b-256 checksum How to use checksums |
f3e5060e4c92cb98d16f8ef7f479b5594169bd15b82debc7e05cc224a27d6bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency logRelease files / geointerpo-0.2.0-py3-none-any.whl
| Download URL | geointerpo-0.2.0-py3-none-any.whl |
|---|---|
| Size | 65.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fe64d5821e6d79151c7b4b4f444508c58fbd1699ac1c9ccaf4a27e0217f5acd
|
|
BLAKE2b-256 checksum How to use checksums |
14942f501e30037aebab165d558164efc6ac7bf6902f4d913731c36216833a99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency log