How nanosdynasty/dashboard-repo works
This is a map-first global energy and maritime intelligence dashboard. Users explore energy and commodity assets, inspect normalized ports, or choose origin and destination ports for an analytical voyage estimate; the browser frontend reaches the FastAPI application, which owns the API and domain integrations. The README also documents weather, river-level, cyclone, disruption, news, and Data Hub capabilities. Backend module links are dashed where the supplied excerpts and import index identify integration candidates but do not show the runtime call sites.
Main entry points: app.py API application · app.js Map interface · port_catalog.py Port catalog · data Energy datasets
Components 19
Dashboard interface
- Map interface
static/js/app.js - API application
app.py
Energy and ports
- Energy datasets
data - Port catalog
port_catalog.py - Port enrichment
maritime_extras.py
Voyage and risk
- Voyage routing
app.py - Route risk zones
maritime_extras.py
Maritime intelligence
- Coastal forecasts
imd_coastal_weather.py - BMKG forecasts
bmkg_marine_weather.py - Asian marine forecasts
sea_marine_weather.py - Global port weather
major_port_weather.py - Global cyclones
global_cyclones.py - River levels
river_levels.py - Port disruptions
port_disruptions.py - Trade news
news_intelligence.py - Data Hub
data_hub.py - Source monitoring
india_source_monitor.py - Weather schema
coastal_weather_schema.py
Other components
- Dashboard user
Connections 18
- Dashboard user → Map interface: explores
README.md - Map interface → API application: requests data
README.md - API application → Energy datasets: serves layers
- API application → Port catalog: uses catalog
app.py - Port catalog → Port enrichment: enriches ports
port_catalog.py - API application → Voyage routing: calculates routes
app.py - Voyage routing → Route risk zones: checks exposure
app.py - API application → Coastal forecasts: loads forecasts
app.py - API application → BMKG forecasts: loads forecasts
app.py - API application → Asian marine forecasts: loads forecasts
app.py - API application → Global port weather: loads forecasts
app.py - API application → Global cyclones: loads cyclones
app.py - API application → River levels: loads levels
app.py - API application → Port disruptions: loads disruptions
app.py - API application → Trade news: loads news
app.py - API application → Data Hub: routes workspace
app.py - API application → Source monitoring: checks sources
app.py - API application → Weather schema: normalizes weather
app.py