A kriging implementation that uses obstacle-avoiding path distances instead of Euclidean distances for spatial interpolation. Accounts for spatial barriers defined by polygon geometries.
| SeaPath | SeaKrige |
|---|---|
![]() |
![]() |
- Install dependencies (pyKrige, geopandas, matplotlib):
python -m pip install -r requirements.txt- Install the package:
python -m pip install -e .See the example/ folder for usage examples demonstrating both SeaPath and SeaKrige functionality.
Uses Dijkstra to calculate shortest obstacle-free distances between coordinates.
Performs ordinary kriging interpolation using SeaPath distances instead of Euclidean distances. Integrates with PyKrige through monkey-patching of distance functions.

