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.3.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.3-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geointerpo-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 be7e46e81823227134449406312936a21dfe5f89f11472a3c0edf6f4ae2b0fa4
MD5 d01fe0be512e22d1ff4ab30db736faf1
BLAKE2b-256 a657c205069856a5da80815d9919f3a024a70c8b7cd95c48ebed8d7c4398f4e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for geointerpo-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: geointerpo-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b75f6feab095aa5e5032d2f35fde47de4f495376573aea36e7f3b6f2416f528e
MD5 77309e723a6b2634a6e182d0fd1fc838
BLAKE2b-256 c2d5952d43641a023328b244b60ae3925287813b4129f8e5c3fed4532626d417

See more details on using hashes here.

Provenance

The following attestation bundles were made for geointerpo-0.1.3-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