How zaim090606-ai/guardian-sih26191-dashboard works
This is an illustrative Streamlit dashboard for SIH26191 emergency hazard zoning and ranked relocation. The main workflow runs from user-adjusted scenario and scoring settings through synthetic geography, Guardian incident fusion, zone and habitation scoring, route checks, safe-site capacity and allocation, then presents maps, evidence, relocation, impact comparisons and briefings. Separate live connectors provide optional Chamoli hazard signals with cached or sample fallbacks. The graph follows the shown pipeline and documented capabilities; unsampled implementation details are represented only where the README or source index supports them.
Main entry points: app.py Streamlit entry · pipeline.py Analysis pipeline · ui_relocation.py Relocation tab · scenario.py Scenario signals
Components 32
Dashboard
- Streamlit entry
app.py - Overview tab
ui_overview.py - Map tab
ui_map.py - 3D map
ui_map3d.py - Evidence tab
ui_evidence.py - Relocation tab
ui_relocation.py - Impact tab
ui_impact.py - Live scenario tab
ui_live.py - Brief tab
ui_brief.py - Scorecard tab
ui_scorecard.py - Method and limits
ui_method.py
Risk analysis
- Analysis pipeline
pipeline.py - Synthetic region data
data_gen.py - Vulnerability index
vulnerability.py - Risk and evidence scores
scoring.py - AHP weighting
ahp.py - Route safety
route_safety.py
Relocation planning
- Red-zone buffer
buffer.py - Capacity and allocation
relocation.py - Relocation reporting
report.py - Robustness analysis
robustness.py
Ground evidence
- Guardian incident fusion
guardian_layer.py - Incident review
review.py - Brief generation
brief.py
Live signals
- Connector fallback and cache
connectors/base.py - Chamoli region filter
connectors/region.py - Scenario signals
connectors/scenario.py - Weather and terrain feed
connectors/open_meteo.py - Earthquake and hazard events
connectors/events.py - SACHET alert feed
connectors/sachet.py
Other components
- Dashboard user
- Public data services
Connections 39
- Dashboard user → Streamlit entry: sets parameters
README.md - Streamlit entry → AHP weighting: computes weights
app.py - Streamlit entry → Analysis pipeline: runs analysis
app.py - Analysis pipeline → Synthetic region data: generates region
pipeline.py - Analysis pipeline → Vulnerability index: applies index
pipeline.py - Analysis pipeline → Guardian incident fusion: loads and fuses incidents
pipeline.py - Analysis pipeline → Risk and evidence scores: calculates scores
pipeline.py - Analysis pipeline → Red-zone buffer: applies buffer
pipeline.py - Analysis pipeline → Route safety: checks routes
pipeline.py - Analysis pipeline → Capacity and allocation: allocates capacity
pipeline.py - Analysis pipeline → Incident review: enriches incidents
pipeline.py - Streamlit entry → Overview tab: renders tab
app.py - Streamlit entry → Map tab: renders tab
app.py - Streamlit entry → Evidence tab: renders tab
app.py - Streamlit entry → Relocation tab: renders tab
app.py - Streamlit entry → Impact tab: renders tab
app.py - Streamlit entry → Live scenario tab: renders tab
app.py - Streamlit entry → Brief tab: renders tab
app.py - Streamlit entry → Scorecard tab: renders tab
app.py - Streamlit entry → Method and limits: renders tab
app.py - Map tab → 3D map: offers 3D mode
ui_map.py - Evidence tab → Incident review: presents reviews
ui_evidence.py - Relocation tab → Capacity and allocation: shows allocations
ui_relocation.py - Relocation tab → Relocation reporting: exports report
ui_relocation.py - Relocation tab → Robustness analysis: shows robustness
ui_relocation.py - Impact tab → Analysis pipeline: compares scenarios
ui_impact.py - Brief tab → Brief generation: generates briefing
ui_brief.py - Live scenario tab → Scenario signals: shows signals
ui_live.py - Scenario signals → Weather and terrain feed: combines signals
connectors/scenario.py - Scenario signals → Earthquake and hazard events: combines signals
connectors/scenario.py - Scenario signals → SACHET alert feed: includes alerts
connectors/scenario.py - Weather and terrain feed → Chamoli region filter: uses region coordinates
connectors/open_meteo.py - Earthquake and hazard events → Chamoli region filter: filters region
connectors/events.py - SACHET alert feed → Chamoli region filter: matches region
connectors/sachet.py - Public data services → Weather and terrain feed: provides observations
README.md - Public data services → Earthquake and hazard events: provides event data
README.md - Public data services → SACHET alert feed: provides alerts
README.md - Weather and terrain feed → Connector fallback and cache: uses fallback cache
connectors/open_meteo.py - Earthquake and hazard events → Connector fallback and cache: uses fallback cache
connectors/events.py