How jackstothoff/cloud-weather-dashboard works
Cloud Weather Dashboard is a Flask app for searching U.S. cities and viewing current conditions plus a multi-day forecast. A browser submits a city to the home route; the route validates it, obtains coordinates, requests current observations and forecast data, then renders the dashboard. Weather-service functions integrate with Open-Meteo geocoding and the National Weather Service. The graph separates those domain stages; unsampled template and styling internals are not inferred. Edges reflect calls shown in main.py and weather_service.py.
Main entry points: main.py Dashboard route · weather_service.py City geocoding · index.html Dashboard view
Components 8
Web dashboard
- Dashboard route
main.py - Dashboard view
templates/index.html
Weather data
- City geocoding
weather_service.py - Current observations
weather_service.py - Multi-day forecast
weather_service.py
Other components
- City-search visitor
- Open-Meteo API
- National Weather Service
Connections 8
- City-search visitor → Dashboard route: searches city
main.py - Dashboard route → City geocoding: geocodes city
main.py - City geocoding → Open-Meteo API: requests coordinates
weather_service.py - Dashboard route → Current observations: requests conditions
main.py - Current observations → National Weather Service: requests observations
weather_service.py - Dashboard route → Multi-day forecast: requests forecast
main.py - Multi-day forecast → National Weather Service: requests forecast data
weather_service.py - Dashboard route → Dashboard view: renders results
main.py