How kritt29/nirnay works
NIRNAY is a synthetic Antarctic-voyage planning demo. Its main workflow accepts vessel and voyage inputs, forecasts sea ice and iceberg risk, fuses those fields into navigation hazards, plans routes to a station approach, and supports clock advancement and replanning. The API also exposes hazard imagery and bounds; the repository includes synthetic data generation and forecast scoring. Source excerpts and the index establish the main module dependencies, but some API helper implementations and subsystem details were not shown, so edges are limited to documented or indexed relationships.
Main entry points: main.py Demo API · cube.py Cube access · plan.py Time-dependent routing · fuse.py Hazard fusion
Components 14
Voyage API
- Demo API
api/main.py - Voyage initialization
api/main.py - Hazard imagery
api/main.py - Route requests
api/main.py - Clock and replan
api/main.py
Environmental Data
- Cube access
data/cube.py - Synthetic cube generation
data/synthetic.py
Forecast And Hazard
- Sea-ice forecast
forecast/baseline.py - Berg ensemble
forecast/berg.py - Hazard fusion
hazard/fuse.py
Navigation And Evaluation
- Time-dependent routing
routing/plan.py - Route summaries
routing/plan.py - Forecast scoring
eval/score.py
Other components
- Voyage client
Connections 19
- Voyage client → Demo API: requests
api/main.py - Demo API → Voyage initialization: serves
api/main.py - Demo API → Hazard imagery: serves
api/main.py - Demo API → Route requests: serves
api/main.py - Demo API → Clock and replan: serves
api/main.py - Demo API → Cube access: reads
api/main.py - Demo API → Sea-ice forecast: uses
api/main.py - Demo API → Berg ensemble: uses
api/main.py - Demo API → Hazard fusion: uses
api/main.py - Demo API → Time-dependent routing: calls
api/main.py - Sea-ice forecast → Cube access: reads
forecast/baseline.py - Berg ensemble → Cube access: reads
forecast/berg.py - Hazard fusion → Sea-ice forecast: calls
hazard/fuse.py - Hazard fusion → Berg ensemble: calls
hazard/fuse.py - Time-dependent routing → Cube access: reads
routing/plan.py - Time-dependent routing → Hazard fusion: uses
routing/plan.py - Time-dependent routing → Route summaries: summarizes
routing/plan.py - Forecast scoring → Cube access: reads
eval/score.py - Forecast scoring → Sea-ice forecast: scores
eval/score.py