Add dataset documentation README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-clustering
|
| 5 |
+
- time-series-forecasting
|
| 6 |
+
tags:
|
| 7 |
+
- climate
|
| 8 |
+
- weather
|
| 9 |
+
- open-meteo
|
| 10 |
+
- era5
|
| 11 |
+
- duckdb
|
| 12 |
+
- pyspark
|
| 13 |
+
pretty_name: Weather & Climate Big Data Analytics — 100-City ERA5 Historical Dataset (2016–2025)
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Weather & Climate Big Data Analytics — 100-City ERA5 Historical Dataset (2016–2025)
|
| 19 |
+
|
| 20 |
+
## Dataset Summary
|
| 21 |
+
|
| 22 |
+
This dataset contains **365,300 daily weather observations** across **100 geographically diverse global cities** spanning 80 countries over a **10-year continuous timeframe** (January 1, 2016 – December 31, 2025).
|
| 23 |
+
|
| 24 |
+
The raw data was ingested from the Open-Meteo Historical Weather API (ERA5 Reanalysis Model) across **1,305 validated work units** without missing values, then processed into Hive-partitioned Parquet format (`year=YYYY`).
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
```text
|
| 31 |
+
weather-clustering-data/
|
| 32 |
+
├── .gitattributes
|
| 33 |
+
├── README.md
|
| 34 |
+
├── locations/
|
| 35 |
+
│ └── locations.csv # 100-city global catalogue (80 countries)
|
| 36 |
+
├── metadata/
|
| 37 |
+
│ └── dataset_summary.json # Dataset specifications & ingestion metadata
|
| 38 |
+
└── processed/
|
| 39 |
+
└── parquet/
|
| 40 |
+
└── weather/ # 10 year partitions (2016 - 2025)
|
| 41 |
+
├── year=2016/
|
| 42 |
+
├── year=2017/
|
| 43 |
+
├── ...
|
| 44 |
+
└── year=2025/
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## Key Characteristics
|
| 50 |
+
|
| 51 |
+
- **Total Rows:** `365,300` daily records
|
| 52 |
+
- **Locations:** `100` global cities across `80` countries
|
| 53 |
+
- **Timeframe:** `2016-01-01` to `2025-12-31` (10 full calendar years, including leap years 2016, 2020, 2024 with 366 days each)
|
| 54 |
+
- **Primary Data Format:** Apache Parquet (Hive partitioned by `year`)
|
| 55 |
+
- **Location Catalogue SHA-256:** `5CBA155270694BB743E8ED4E95D3F6A95F135D4AA61CAF5B705CF13566F8BD19`
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## Data Schema & Variables
|
| 60 |
+
|
| 61 |
+
| Column | Data Type | Description |
|
| 62 |
+
|---|---|---|
|
| 63 |
+
| `location_id` | BIGINT | Stable location identifier |
|
| 64 |
+
| `city` | VARCHAR | Primary city name |
|
| 65 |
+
| `city_ascii` | VARCHAR | ASCII-normalized city name |
|
| 66 |
+
| `country` | VARCHAR | Country name |
|
| 67 |
+
| `iso2` | VARCHAR | ISO 2-letter country code |
|
| 68 |
+
| `iso3` | VARCHAR | ISO 3-letter country code |
|
| 69 |
+
| `admin_name` | VARCHAR | State / Province / Administrative region |
|
| 70 |
+
| `capital` | VARCHAR | Capital classification |
|
| 71 |
+
| `source_latitude` | DOUBLE | Input city latitude |
|
| 72 |
+
| `source_longitude` | DOUBLE | Input city longitude |
|
| 73 |
+
| `model_latitude` | DOUBLE | ERA5 grid model latitude |
|
| 74 |
+
| `model_longitude` | DOUBLE | ERA5 grid model longitude |
|
| 75 |
+
| `timezone` | VARCHAR | Local IANA timezone |
|
| 76 |
+
| `elevation` | DOUBLE | Ground elevation (meters) |
|
| 77 |
+
| `date` | TIMESTAMP | Daily observation date (`YYYY-MM-DD`) |
|
| 78 |
+
| `temperature_mean` | DOUBLE | Mean daily 2m temperature (°C) |
|
| 79 |
+
| `temperature_max` | DOUBLE | Maximum daily 2m temperature (°C) |
|
| 80 |
+
| `temperature_min` | DOUBLE | Minimum daily 2m temperature (°C) |
|
| 81 |
+
| `precipitation_sum` | DOUBLE | Total daily precipitation (mm) |
|
| 82 |
+
| `relative_humidity_mean` | BIGINT | Mean daily relative humidity (%) |
|
| 83 |
+
| `wind_speed_mean` | DOUBLE | Mean daily 10m wind speed (km/h) |
|
| 84 |
+
| `surface_pressure_mean` | DOUBLE | Mean daily surface pressure (hPa) |
|
| 85 |
+
| `year` | BIGINT | Partition key (`2016`–`2025`) |
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## Attributions & Licensing
|
| 90 |
+
|
| 91 |
+
- **Weather Data Source:** [Open-Meteo Historical Weather API](https://open-meteo.com/) (ERA5 Reanalysis by ECMWF).
|
| 92 |
+
- **Location Catalogue Source:** SimpleMaps Basic World Cities Database. Licensed under [Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
## Downstream Project Roadmap
|
| 97 |
+
|
| 98 |
+
1. **Ingestion & Processing:** Complete (1,305/1,305 work units, Parquet storage validated with DuckDB).
|
| 99 |
+
2. **Phase 3 — DuckDB Exploratory Data Analysis (EDA):** Statistical summary, seasonality, anomaly identification.
|
| 100 |
+
3. **Phase 4 — Climate Feature Engineering:** Annual climate metrics (Köppen-Geiger indicators, seasonality indices, temperature range, precipitation distribution).
|
| 101 |
+
4. **Phase 5 — PySpark MLlib K-Means:** Scalable climate regime clustering & silhouette evaluation.
|
| 102 |
+
5. **Phase 6 — Cluster Interpretation:** Climate zone profiles & geospatial taxonomy.
|
| 103 |
+
6. **Phase 7 — Interactive Streamlit Dashboard:** Web dashboard for climate exploration & visualization.
|