Skip to main content

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

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)

Source distribution for geointerpo 0.2.0
File Size Uploaded
geointerpo-0.2.0.tar.gz 4.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for geointerpo 0.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page