Datasets:
time_bin stringdate 2015-01-01 00:00:00 2025-12-31 23:00:00 | temperature float64 -7.2 40.5 | weather_code int64 0 75 | wind_speed float64 0 65.9 |
|---|---|---|---|
2015-01-01 00:00:00 | 5.4 | 3 | 27.2 |
2015-01-01 01:00:00 | 5.3 | 3 | 25.8 |
2015-01-01 02:00:00 | 5.1 | 3 | 27.1 |
2015-01-01 03:00:00 | 5 | 3 | 26.5 |
2015-01-01 04:00:00 | 4.9 | 3 | 25.8 |
2015-01-01 05:00:00 | 4.8 | 3 | 26.1 |
2015-01-01 06:00:00 | 4.8 | 3 | 27.1 |
2015-01-01 07:00:00 | 4.8 | 51 | 27.1 |
2015-01-01 08:00:00 | 4.8 | 51 | 26 |
2015-01-01 09:00:00 | 4.8 | 3 | 24.7 |
2015-01-01 10:00:00 | 4.9 | 3 | 22.8 |
2015-01-01 11:00:00 | 5 | 3 | 19.6 |
2015-01-01 12:00:00 | 5.1 | 3 | 17.1 |
2015-01-01 13:00:00 | 5.2 | 3 | 14.3 |
2015-01-01 14:00:00 | 5.4 | 3 | 11.4 |
2015-01-01 15:00:00 | 5.4 | 3 | 7.6 |
2015-01-01 16:00:00 | 5.4 | 3 | 6.2 |
2015-01-01 17:00:00 | 5.5 | 3 | 7.5 |
2015-01-01 18:00:00 | 5.5 | 3 | 7.6 |
2015-01-01 19:00:00 | 5.5 | 51 | 6.6 |
2015-01-01 20:00:00 | 5.5 | 51 | 5.5 |
2015-01-01 21:00:00 | 5.5 | 51 | 4.7 |
2015-01-01 22:00:00 | 5.5 | 51 | 5.2 |
2015-01-01 23:00:00 | 5.3 | 51 | 5.4 |
2015-01-02 00:00:00 | 5.4 | 51 | 5.6 |
2015-01-02 01:00:00 | 5.4 | 3 | 5.4 |
2015-01-02 02:00:00 | 5.4 | 3 | 8 |
2015-01-02 03:00:00 | 5.4 | 3 | 7.8 |
2015-01-02 04:00:00 | 5.1 | 3 | 7.4 |
2015-01-02 05:00:00 | 5.1 | 3 | 6.2 |
2015-01-02 06:00:00 | 5.2 | 3 | 6 |
2015-01-02 07:00:00 | 5.4 | 3 | 6.7 |
2015-01-02 08:00:00 | 5.5 | 3 | 6.5 |
2015-01-02 09:00:00 | 5.8 | 3 | 5.6 |
2015-01-02 10:00:00 | 6.3 | 3 | 7.1 |
2015-01-02 11:00:00 | 6.7 | 3 | 8.2 |
2015-01-02 12:00:00 | 7.2 | 3 | 8.8 |
2015-01-02 13:00:00 | 7.4 | 3 | 9.3 |
2015-01-02 14:00:00 | 7.5 | 3 | 6.7 |
2015-01-02 15:00:00 | 7.6 | 3 | 7.6 |
2015-01-02 16:00:00 | 7.6 | 3 | 7.7 |
2015-01-02 17:00:00 | 7.6 | 3 | 8.3 |
2015-01-02 18:00:00 | 7.4 | 3 | 8.7 |
2015-01-02 19:00:00 | 7.3 | 3 | 8.7 |
2015-01-02 20:00:00 | 7.2 | 3 | 8.5 |
2015-01-02 21:00:00 | 6.9 | 3 | 7.8 |
2015-01-02 22:00:00 | 6.9 | 3 | 6.5 |
2015-01-02 23:00:00 | 6.9 | 3 | 4.7 |
2015-01-03 00:00:00 | 7.2 | 3 | 4.5 |
2015-01-03 01:00:00 | 7 | 3 | 5.1 |
2015-01-03 02:00:00 | 6.3 | 51 | 6.9 |
2015-01-03 03:00:00 | 6 | 51 | 8.7 |
2015-01-03 04:00:00 | 6.1 | 3 | 10.7 |
2015-01-03 05:00:00 | 6.2 | 3 | 12.2 |
2015-01-03 06:00:00 | 6.2 | 2 | 13.6 |
2015-01-03 07:00:00 | 6.1 | 2 | 16.3 |
2015-01-03 08:00:00 | 5.9 | 2 | 17.1 |
2015-01-03 09:00:00 | 6 | 2 | 17.1 |
2015-01-03 10:00:00 | 6.5 | 1 | 17.1 |
2015-01-03 11:00:00 | 7.1 | 1 | 17.3 |
2015-01-03 12:00:00 | 7.9 | 0 | 18.1 |
2015-01-03 13:00:00 | 8.4 | 0 | 18.3 |
2015-01-03 14:00:00 | 8.8 | 0 | 18.2 |
2015-01-03 15:00:00 | 8.9 | 0 | 19.5 |
2015-01-03 16:00:00 | 8.9 | 0 | 20.2 |
2015-01-03 17:00:00 | 8.6 | 0 | 21.6 |
2015-01-03 18:00:00 | 8.2 | 0 | 22.7 |
2015-01-03 19:00:00 | 7.9 | 0 | 22.1 |
2015-01-03 20:00:00 | 7.8 | 0 | 21.5 |
2015-01-03 21:00:00 | 7.7 | 0 | 20.9 |
2015-01-03 22:00:00 | 7.6 | 0 | 21.1 |
2015-01-03 23:00:00 | 7.3 | 0 | 21.9 |
2015-01-04 00:00:00 | 7.2 | 0 | 23.4 |
2015-01-04 01:00:00 | 7.2 | 0 | 25 |
2015-01-04 02:00:00 | 7.1 | 0 | 25.7 |
2015-01-04 03:00:00 | 7.1 | 1 | 25.2 |
2015-01-04 04:00:00 | 7.1 | 3 | 23.2 |
2015-01-04 05:00:00 | 7.1 | 3 | 21.9 |
2015-01-04 06:00:00 | 7.2 | 2 | 21.9 |
2015-01-04 07:00:00 | 7.1 | 2 | 20.7 |
2015-01-04 08:00:00 | 7 | 3 | 18.9 |
2015-01-04 09:00:00 | 6.8 | 3 | 17 |
2015-01-04 10:00:00 | 7.1 | 3 | 13.5 |
2015-01-04 11:00:00 | 7.7 | 2 | 11.5 |
2015-01-04 12:00:00 | 8.3 | 1 | 11.7 |
2015-01-04 13:00:00 | 8.7 | 1 | 16.7 |
2015-01-04 14:00:00 | 8.2 | 2 | 22.1 |
2015-01-04 15:00:00 | 8.1 | 1 | 25.7 |
2015-01-04 16:00:00 | 8 | 2 | 34.3 |
2015-01-04 17:00:00 | 7.5 | 2 | 38.9 |
2015-01-04 18:00:00 | 6.5 | 1 | 38.8 |
2015-01-04 19:00:00 | 6 | 1 | 39.4 |
2015-01-04 20:00:00 | 5.7 | 1 | 37.8 |
2015-01-04 21:00:00 | 5.7 | 2 | 34.1 |
2015-01-04 22:00:00 | 5.6 | 2 | 28.8 |
2015-01-04 23:00:00 | 5.5 | 3 | 24.2 |
2015-01-05 00:00:00 | 5.5 | 2 | 20.2 |
2015-01-05 01:00:00 | 5.5 | 1 | 15.7 |
2015-01-05 02:00:00 | 5.4 | 1 | 10.2 |
2015-01-05 03:00:00 | 4.9 | 1 | 5 |
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:
| time_bin | temperature | weather_code | wind_speed |
|---|---|---|---|
| 2015-01-01 00:00:00 | 5.4 | 3 | 27.2 |
| 2015-01-01 01:00:00 | 5.3 | 3 | 25.8 |
| 2015-01-01 02:00:00 | 5.1 | 3 | 27.1 |
| 2015-01-01 03:00:00 | 5.0 | 3 | 26.5 |
| 2015-01-01 04:00:00 | 4.9 | 3 | 25.8 |
Weather code categories used in the visualization:
| Category | WMO weather codes | Color |
|---|---|---|
| Clear | 0 | #f9d71c |
| Cloudy | 1, 2, 3 | #9e9e9e |
| Foggy | 45, 48 | #bdc3c7 |
| Light Rain | 51, 53, 55, 56, 57 | #7fb3d5 |
| Rainy | 61, 63, 65, 66, 67, 80, 81, 82 | #2980b9 |
| Snowy | 71, 73, 75, 77, 85, 86 | #d6eaf8 |
| Stormy | 95, 96, 99 | #5b2c6f |
| Other | Any other valid code | #aaaaaa |
| Unknown | Empty or invalid weather code | #cccccc |
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_2025
pip install -r requirements.txt
python src/generate_weather_data.py
python src/visualize_weather_graph.py
The 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.
- Downloads last month
- 57



