CoolFace
Datasetpublic

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.

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes27downloads
Dataset Card

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

![GitHub](https://github.com/MegrurNiftiyev/bakuweatheranalytics) ![Kaggle](https://www.kaggle.com/datasets/megrurniftiyev/baku-hourly-weather-data-2015-2025/data) ![Hugging Face](https://huggingface.co/datasets/MegrurNiftiyev/bakuhourlyweather20152025)

Project Structure

text
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:

WinterSpring
[image][image]
SummerAutumn
[image][image]

Dataset

Included dataset: data/baku_weather_hourly_data.csv

Columns:

  • —time_bin: timestamp for the weather record
  • —temperature: temperature in Celsius
  • —weather_code: Open-Meteo WMO weather code
  • —wind_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_bintemperatureweather_codewind_speed
2015-01-01 00:00:005.4327.2
2015-01-01 01:00:005.3325.8
2015-01-01 02:00:005.1327.1
2015-01-01 03:00:005.0326.5
2015-01-01 04:00:004.9325.8

Weather code categories used in the visualization:

CategoryWMO weather codesColor
Clear0#f9d71c
Cloudy1, 2, 3#9e9e9e
Foggy45, 48#bdc3c7
Light Rain51, 53, 55, 56, 57#7fb3d5
Rainy61, 63, 65, 66, 67, 80, 81, 82#2980b9
Snowy71, 73, 75, 77, 85, 86#d6eaf8
Stormy95, 96, 99#5b2c6f
OtherAny other valid code#aaaaaa
UnknownEmpty 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

bash
git clone https://huggingface.co/datasets/MegrurNiftiyev/baku_hourly_weather_2015_2025
bash
pip install -r requirements.txt
bash
python src/generate_weather_data.py
bash
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.