Skip to main content

Spatial interpolation toolkit — boundaries, point data, 15 methods, export, validation

Project description

geointerpo

Spatial interpolation for Python — 15 algorithms, live data APIs, boundary clipping, and GEE validation.
Drop in point data, get a smooth interpolated raster out.

Fetch live weather, air quality, or precipitation data from Meteostat, OpenAQ, and Open-Meteo.
Define your study area by place name, polygon file, or bounding box — boundaries are resolved automatically.
Validate results against MODIS, CHIRPS, and Sentinel-5P satellite products via Google Earth Engine.
Export to GeoTIFF or NetCDF, run spatial cross-validation, and compare methods side by side.

📖 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.metrics_table()   # cross-validation RMSE / r
result.save("outputs/")  # GeoTIFF + PNG + CSV

Methods

geointerpo covers the full ArcGIS Spatial Analyst interpolation toolkit plus modern ML methods. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geointerpo-0.1.2.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geointerpo-0.1.2-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file geointerpo-0.1.2.tar.gz.

File metadata

  • Download URL: geointerpo-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geointerpo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0e3aa436de3599f49a8609287caf4d47ba4342dc5e53b36a18b1e2e219516a2e
MD5 a7b2cfec60b0c78a77db28ba3621b53b
BLAKE2b-256 a24e1ce2bd0a56ce313f917e0e0d1c65b538adb0ff186e62063b5a5c1007ed51

See more details on using hashes here.

Provenance

The following attestation bundles were made for geointerpo-0.1.2.tar.gz:

Publisher: publish.yml on homayounrezaie/geointerpo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geointerpo-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: geointerpo-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for geointerpo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f433b1219c7a97791c75f87717b34dcf5e824dbcf05bce37815019860ab052b
MD5 d4eb644a4cc3be546376c60580769fd0
BLAKE2b-256 fc6198ce75875c6204a336ca6f4a3bfc45181cd7282acbe1a9f6031267f0c81a

See more details on using hashes here.

Provenance

The following attestation bundles were made for geointerpo-0.1.2-py3-none-any.whl:

Publisher: publish.yml on homayounrezaie/geointerpo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page