This dashboard enables you to analyze historical weather patterns using hourly and daily data from the Open-Meteo historical weather API.
- Visualize temperature, humidity, precipitation, wind, and cloud cover trends.
- Perform correlation and seasonal decomposition analyses.
- Cluster similar weather patterns.
- Interactive visualizations with Plotly and Streamlit.
- Integrated Q&A on weather data using a retrieval-augmented generation (RAG) module.
- Python 3.7 or later
- Required packages (see
requirements.txt
) - A valid Google Maps API Key to resolve location names.
- Internet access to fetch weather data from the Open-Meteo API.
- Clone the repository
git clone https://www.github.com/Sanjeev-Kumar78/Weather_Trend_Analyzer
. - Install dependencies:
cd Weather_Trend_Analyzer pip install -r requirements.txt
- Set your Google Maps API key in the
st.secrets
or as an environment variable. - Run the Streamlit app:
streamlit run streamlit_app.py
- On the sidebar:
- Choose the data frequency (hourly or daily).
- Select the date range. (For hourly data the range is limited to a maximum of 37 days.)
- Input a location (as text or latitude/longitude).
- Click Analyze Weather Data and explore the various visualizations and analyses provided.
- Weather data is sourced from Open-Meteo API.
- Additional datasets: ERA5 hourly data, ERA5-Land.
- Refer to the citations section in the app for detailed credits.
This project is open source under the MIT License.
Made with ❤️ by Sanjeev Kumar