How muskaanthakur24/heatwave-prediction-dashboard works
HeatWatch is a district-level heatwave intelligence platform. Its principal workflow turns weather data into engineered features and risk predictions, then presents forecasts, anomaly signals, explanations, location views, alerts, and climate analyses in a Streamlit dashboard. The README documents the major phase relationships and capabilities; sampled excerpts confirm selected implementations, while unsampled subsystem connections are included only where the README explicitly describes them.
Main entry points: app.py Streamlit dashboard · step6_part2_features.py Feature engineering · step10_part1_location_data.py Location intelligence · step6_part4_predict.py Risk prediction
Components 28
Risk Pipeline
- Feature engineering
dashboard/step6_part2_features.py - Model training
dashboard/step6_part3_train_model.py - Risk prediction
dashboard/step6_part4_predict.py
Forecasts And Signals
- Forecast models
dashboard/step7_part1_prophet.py - SARIMA forecast
dashboard/step7_part2_sarima.py - LSTM forecast
dashboard/step7_part3_lstm.py - Forecast ensemble
dashboard/step7_part4_ensemble.py - Anomaly models
dashboard/step8_part1_isolation_forest.py - LSTM autoencoder
dashboard/step8_part2_lstm_autoencoder.py - Anomaly scoring
dashboard/step8_part3_ensemble_scoring.py - Live detection
dashboard/step8_part4_live_detection.py
Location And Climate
- SHAP explanations
dashboard/step11_part1_shap_global.py - Local explanations
dashboard/step11_part2_local_explain.py - Location intelligence
dashboard/step10_part1_location_data.py - Interactive map
dashboard/step10_part2_folium_map.py - Trend analysis
dashboard/step12_part1_mann_kendall.py - Urban heat analysis
dashboard/step12_part2_urban_heat_island.py - CMIP6 projections
dashboard/step12_part3_cmip6_projections.py
Dashboard And Alerts
- Streamlit dashboard
dashboard/app.py - Climate dashboard
dashboard/step12_climate_intelligence_dashboard.py - Alert engine
dashboard/step9_part1_alert_engine.py
Shared Runtime
- Cache utilities
dashboard/step12_cache_utils.py - Job checkpoints
dashboard/step12_checkpoint_utils.py - Location registry
dashboard/step12_location_registry.py
Other components
- HeatWatch users
- Open-Meteo
- Gmail SMTP
- Telegram API
Connections 38
- Open-Meteo → Feature engineering: supplies weather
- Feature engineering → Model training: provides features
- Model training → Risk prediction: trains model
- Feature engineering → Forecast models: provides history
- Feature engineering → SARIMA forecast: provides history
- Feature engineering → LSTM forecast: provides history
- Forecast models → Forecast ensemble: supplies forecasts
- SARIMA forecast → Forecast ensemble: supplies forecasts
- LSTM forecast → Forecast ensemble: supplies forecasts
- Feature engineering → Anomaly models: provides data
- Feature engineering → LSTM autoencoder: provides data
- Anomaly models → Anomaly scoring: supplies scores
- LSTM autoencoder → Anomaly scoring: supplies scores
- Open-Meteo → Live detection: serves live weather
- Risk prediction → SHAP explanations: explains model
- Risk prediction → Local explanations: explains risk
- Feature engineering → Location intelligence: provides locations
- Location intelligence → Interactive map: provides map data
- Location registry → Location intelligence: provides locations
- Location intelligence → Trend analysis: provides locations
- Location intelligence → Urban heat analysis: provides locations
- Location intelligence → CMIP6 projections: provides locations
- Trend analysis → Climate dashboard: renders analysis
- Urban heat analysis → Climate dashboard: renders analysis
- CMIP6 projections → Climate dashboard: renders projections
- HeatWatch users → Streamlit dashboard: uses dashboard
- Streamlit dashboard → Risk prediction: runs risk view
- Streamlit dashboard → Forecast ensemble: shows forecasts
- Streamlit dashboard → Live detection: shows anomalies
- Streamlit dashboard → SHAP explanations: shows explanations
- Streamlit dashboard → Local explanations: shows explanations
- Streamlit dashboard → Interactive map: shows locations
- Streamlit dashboard → Climate dashboard: renders climate
- Streamlit dashboard → Alert engine: integrates alerts
- Alert engine → Gmail SMTP: sends email
- Alert engine → Telegram API: sends messages
- Urban heat analysis → Cache utilities: reads and writes cache
- Location intelligence → Job checkpoints: records progress