How me3o0w/solarcast works
SolarCast is a Streamlit solar-generation dashboard. Users sign in, then view current-condition estimates, weather, next-day forecasts, manual predictions, and saved or historical results. Forecasts combine weather data with bundled models; Overview uses a documented formula. The graph preserves README capabilities and major indexed modules. Some page implementations and storage wiring were not excerpted, so uncertain relationships are omitted rather than inferred.
Main entry points: app.py Streamlit app · supabase_store.py Supabase storage · weather_client.py Weather client · forecast.py Next-day forecast
Components 22
Dashboard
- Streamlit app
app/app.py - Appearance
app/appearance.py - Weather dashboard
app/weather.py - Power history
app/history.py - Model performance
app/model_info.py - About
app/about.py - Terms
app/terms.py
Prediction
- Manual prediction
app/manual_pred.py - Next-day forecast
app/forecast.py - Prediction models
app/model_loader.py
Accounts and data
- Authentication
app/auth.py - Prediction history
app/prediction_history.py - Forecast storage
app/forecast_store.py - Forecast versions
app/forecast_versions.py - Supabase storage
app/supabase_store.py
Shared services
- Weather client
app/weather_client.py - App configuration
app/config.py - Loading feedback
app/loading.py - UI styles
app/styles.py
Other components
- Dashboard user
- Open-Meteo
- Supabase
Connections 27
- Dashboard user → Streamlit app: uses
README.md - Streamlit app → Authentication: renders
app/app.py - Streamlit app → Appearance: renders
app/app.py - Streamlit app → Weather dashboard: renders
app/app.py - Streamlit app → Next-day forecast: renders
app/app.py - Streamlit app → Manual prediction: renders
app/app.py - Streamlit app → Prediction history: renders
app/app.py - Streamlit app → Power history: renders
app/app.py - Streamlit app → Model performance: renders
app/app.py - Streamlit app → About: renders
app/app.py - Streamlit app → Terms: renders
app/app.py - Streamlit app → Loading feedback: uses
app/app.py - Streamlit app → UI styles: uses
app/app.py - Streamlit app → App configuration: uses
app/app.py - Streamlit app → Supabase storage: creates
app/app.py - Streamlit app → Weather client: calls
app/app.py - Weather dashboard → Weather client: uses
app/weather.py - Next-day forecast → Weather client: requests weather
app/forecast.py - Next-day forecast → Prediction models: predicts with
app/forecast.py - Manual prediction → Prediction models: predicts with
app/manual_pred.py - Weather client → Open-Meteo: requests
app/weather_client.py - Prediction models → App configuration: loads model paths
app/model_loader.py - Authentication → Supabase: authenticates
- Supabase storage → Supabase: reads and writes
- Prediction history → Supabase storage: stores predictions
app/prediction_history.py - Forecast storage → Supabase storage: delegates storage
app/forecast_store.py - Forecast storage → Forecast versions: uses versions
app/forecast_store.py