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 examples/ folder for usage examples demonstrating both SeaPath and SeaKrige functionality.
- Avoids polygons defined in shapefiles
- Uses Dijkstra pathfinding to calculate shortest obstacle-free distances
- Performs ordinary kriging interpolation
- Replaces Euclidean distances with SeaPath-based path distances
- Integrates with PyKrige via monkey-patching
- PyKrige
- geopandas
- matplotlib

