MegrurNiftiyev/baku_hourly_weather_2015_2025
Baku Yearly Weather Graph Standalone weather-data project for Baku, Azerbaijan. It includes a weather dataset, a data-generation script that can fetch archive weather data from Open-Meteo, and an interactive daily weather graph. Links Project Structure baku_hourly_weather_2015_2025/ |-- .gitattributes |-- .gitignore |-- README.md |-- requirements.txt |-- data/ | `-- baku_weather_hourly_data.csv |-- figures/ | |--… See the full description on the dataset page: https://huggingface.co/datasets/MegrurNiftiyev/baku_hourly_weather_2015_2025.
Baku Yearly Weather Graph
Standalone weather-data project for Baku, Azerbaijan. It includes a weather dataset, a data-generation script that can fetch archive weather data from Open-Meteo, and an interactive daily weather graph.
Links
  
Project Structure
baku_hourly_weather_2015_2025/
|-- .gitattributes
|-- .gitignore
|-- README.md
|-- requirements.txt
|-- data/
| `-- baku_weather_hourly_data.csv
|-- figures/
| |-- baku_autumn_variable_2018-11-09.png
| |-- baku_spring_variable_2017-05-15.png
| |-- baku_summer_variable_2024-07-02.png
| |-- baku_weather_2025-01-13.png
| `-- baku_winter_variable_2021-12-25.png
`-- src/
|-- generate_weather_data.py
`-- visualize_weather_graph.py
## Links
Saved figures are written to figures/.
Generated Figures
Four colorful daily examples with frequent weather and wind changes:
Dataset
Included dataset: data/baku_weather_hourly_data.csv
Columns:
time_bin: timestamp for the weather recordtemperature: temperature in Celsiusweather_code: Open-Meteo WMO weather codewind_speed: wind speed in m/s
The dataset is generated for the 2015-01-01 to 2025-12-31 period, with one record per hour across each full day. The generator script defaults to this same range; adjust START_DATE and END_DATE in src/generate_weather_data.py if you need a different period.
CSV format:
Weather code categories used in the visualization:
The graph opens an interactive Matplotlib window with:
- temperature chart
- wind speed chart
- weather category labels
- daily and full-dataset category counts
- previous/next date buttons
- date input
- save button
Installation
git clone https://huggingface.co/datasets/MegrurNiftiyev/baku_hourly_weather_2015_2025pip install -r requirements.txtpython src/generate_weather_data.pypython src/visualize_weather_graph.pyThe data-generation command writes a fresh CSV to data/baku_weather_hourly_data.csv.
Data Source
Weather data is fetched from the Open-Meteo Archive API using Baku coordinates.
