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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
tags:
|
| 6 |
+
- air-quality
|
| 7 |
+
- atmospheric-science
|
| 8 |
+
- pm25
|
| 9 |
+
- pm10
|
| 10 |
+
- east-asia
|
| 11 |
+
- cmaq
|
| 12 |
+
- weather-forecasting
|
| 13 |
+
- world-model
|
| 14 |
+
pretty_name: PLUME - East Asia Air Quality (0.25 deg, hourly, 2016-2024)
|
| 15 |
+
size_categories:
|
| 16 |
+
- 100B<n<1T
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# PLUME — East Asia air-quality dataset
|
| 20 |
+
|
| 21 |
+
**0.25° · hourly · 2016–2024 · 117 × 222 grid**
|
| 22 |
+
|
| 23 |
+
The preprocessed archive behind **PLUME**, *A Physically Conditioned Decision-State World Model for Air-Quality Exceedance Forecasting*.
|
| 24 |
+
|
| 25 |
+
📦 **Code:** [github.com/2na-97/PLUME](https://github.com/2na-97/PLUME)
|
| 26 |
+
🔁 **Predecessor:** [`2na-97/FAKER-Air`](https://huggingface.co/datasets/2na-97/FAKER-Air) — the same region at 27 km
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## What is in here
|
| 31 |
+
|
| 32 |
+
Two independent trees on one shared grid, plus the trained model weights.
|
| 33 |
+
|
| 34 |
+
| Path | Contents | Compressed | Raw |
|
| 35 |
+
|---|---|---|---|
|
| 36 |
+
| `cmaq_asia_1h_0p25/YYYY.tar.zst` | CMAQ reanalysis — 12-species speciated aerosol and gas fields, surface proxy stack | ~8.7 GB/yr | ~17 GB/yr |
|
| 37 |
+
| `obs_asia_1h_0p25/YYYY.tar.zst` | Ground-station observations gridded to the same cells, with validity and region masks | ~0.4 GB/yr | ~5 GB/yr |
|
| 38 |
+
| `checkpoints/` | Trained PLUME weights (multiple seeds) | ~130 MB | — |
|
| 39 |
+
|
| 40 |
+
Years available: **2016 – 2024**. One shard per (tree, year), so you can fetch only what you need.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## Quick start
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
pip install huggingface_hub
|
| 48 |
+
git clone https://github.com/2na-97/PLUME.git && cd PLUME
|
| 49 |
+
|
| 50 |
+
# evaluation years only -- enough to reproduce every reported number (~44 GB raw)
|
| 51 |
+
python scripts/download_data.py --years 2023 2024
|
| 52 |
+
|
| 53 |
+
# the full training record
|
| 54 |
+
python scripts/download_data.py --all
|
| 55 |
+
|
| 56 |
+
# one tree, one year
|
| 57 |
+
python scripts/download_data.py --years 2023 --tree obs
|
| 58 |
+
|
| 59 |
+
# the trained weights
|
| 60 |
+
python scripts/download_data.py --checkpoints
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
The helper downloads, extracts and cleans up the shard. Re-running is safe — a year already extracted is skipped and the Hub download resumes.
|
| 64 |
+
|
| 65 |
+
<details>
|
| 66 |
+
<summary><b>Without the helper script</b></summary>
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from huggingface_hub import hf_hub_download
|
| 70 |
+
|
| 71 |
+
shard = hf_hub_download(
|
| 72 |
+
repo_id="2na-97/PLUME",
|
| 73 |
+
repo_type="dataset",
|
| 74 |
+
filename="obs_asia_1h_0p25/2023.tar.zst",
|
| 75 |
+
)
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
then
|
| 79 |
+
|
| 80 |
+
```bash
|
| 81 |
+
mkdir -p data/obs_asia_1h_0p25
|
| 82 |
+
tar --use-compress-program=unzstd -xf "$shard" -C data/obs_asia_1h_0p25
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
Several shards at once:
|
| 86 |
+
|
| 87 |
+
```python
|
| 88 |
+
from huggingface_hub import snapshot_download
|
| 89 |
+
|
| 90 |
+
snapshot_download(
|
| 91 |
+
repo_id="2na-97/PLUME", repo_type="dataset",
|
| 92 |
+
allow_patterns=["*/2023.tar.zst", "*/2024.tar.zst"],
|
| 93 |
+
local_dir="downloads",
|
| 94 |
+
)
|
| 95 |
+
```
|
| 96 |
+
</details>
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## Layout after extraction
|
| 101 |
+
|
| 102 |
+
```
|
| 103 |
+
data/
|
| 104 |
+
├── cmaq_asia_1h_0p25/YYYY/MM/DD/NIER_27_01/
|
| 105 |
+
│ ├── YYYYMMDD_x_aurora_surf.npy # [25, 13, 117, 222] float32 surface stack (memory-mapped)
|
| 106 |
+
│ ├── YYYYMMDD_x_cmaq_cams_sp12.npy # [25, 12, 117, 222] float32 speciated aerosol + gas
|
| 107 |
+
│ ├── YYYYMMDD_x_cmaq_cams.npz # full [25, 24, 1, 117, 222] concentration stack
|
| 108 |
+
│ ├── YYYYMMDD_meta.json
|
| 109 |
+
│ └── cams_lat.npy, cams_lon.npy, cams_grid_meta.json
|
| 110 |
+
└── obs_asia_1h_0p25/YYYY/MM/DD/NIER_27_01/
|
| 111 |
+
├── YYYYMMDD_y_obs_cams.npz # gridded station observations + validity mask
|
| 112 |
+
├── YYYYMMDD_y_obs_cams_pmvals.npy
|
| 113 |
+
├── YYYYMMDD_y_obs_cams_region.npy # region ID per cell (19 KR provinces + CN regions)
|
| 114 |
+
└── cams_lat.npy, cams_lon.npy, cams_grid_meta.json
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
The leading `T = 25` axis is a day's 00–23 hourly slots plus one wrap slot.
|
| 118 |
+
|
| 119 |
+
### Grid
|
| 120 |
+
|
| 121 |
+
| | |
|
| 122 |
+
|---|---|
|
| 123 |
+
| Resolution | 0.25° |
|
| 124 |
+
| Shape | 117 (lat) × 222 (lon) |
|
| 125 |
+
| Domain | 19.6 °N – 48.0 °N, 104.8 °E – 159.6 °E |
|
| 126 |
+
| Grid name | `NIER_27_01` |
|
| 127 |
+
| Cadence | hourly |
|
| 128 |
+
|
| 129 |
+
Coordinates ship alongside every day as `cams_lat.npy` / `cams_lon.npy`.
|
| 130 |
+
|
| 131 |
+
### Channel orders
|
| 132 |
+
|
| 133 |
+
**Observations** (`OBS_SHORT_NAMES` in `plume/gridio.py`):
|
| 134 |
+
|
| 135 |
+
```
|
| 136 |
+
pm2p5, pm10, so2, no2, o3, co
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
**CMAQ concentrations** (`CMAQ_CONC_ORDER` in `plume/species.py`):
|
| 140 |
+
|
| 141 |
+
```
|
| 142 |
+
SO4_25, NH4_25, NO3_25, ORG_25, EC_25, MISC_25, PM2P5,
|
| 143 |
+
tcso2, tcco, tcno2, O3, NO, NOx,
|
| 144 |
+
SO4_10, NH4_10, NO3_10, ORG_10, EC_10, MISC_10, PM10,
|
| 145 |
+
ISOPRENE, OLES, AROS, ALKS
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
**Surface proxy stack** (`*_x_aurora_surf.npy`):
|
| 149 |
+
|
| 150 |
+
```
|
| 151 |
+
2t, 10u, 10v, msl, pm1, pm2p5, pm10, tcco, tc_no, tcno2, gtco3, tcso2, source_mask
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
### Regions
|
| 155 |
+
|
| 156 |
+
`*_y_obs_cams_region.npy` carries a region ID per cell: the 19 Korean provinces (`KR_SEOUL`, `KR_INCHEON`, … `KR_JEJU`) plus Chinese and other regions appended at runtime. The paper reports three strata — the broad East-Asian domain, Korea, and a prespecified Chinese dust-source corridor.
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## Loading a day
|
| 161 |
+
|
| 162 |
+
```python
|
| 163 |
+
import numpy as np
|
| 164 |
+
|
| 165 |
+
day = "data/obs_asia_1h_0p25/2023/03/21/NIER_27_01"
|
| 166 |
+
obs = np.load(f"{day}/20230321_y_obs_cams.npz")
|
| 167 |
+
print(obs.files)
|
| 168 |
+
|
| 169 |
+
pm = np.load(f"{day}/20230321_y_obs_cams_pmvals.npy") # [25, 6, 117, 222]
|
| 170 |
+
region = np.load(f"{day}/20230321_y_obs_cams_region.npy")
|
| 171 |
+
lat = np.load(f"{day}/cams_lat.npy")
|
| 172 |
+
lon = np.load(f"{day}/cams_lon.npy")
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
In practice you want `DirectLeadDataset` from the code repository, which assembles issue-time inputs, history windows, validity masks and the motion estimate for you.
|
| 176 |
+
|
| 177 |
+
---
|
| 178 |
+
|
| 179 |
+
## Intended use, and one caveat that matters
|
| 180 |
+
|
| 181 |
+
The task is **exceedance forecasting** from +6 h to +120 h in 6 h steps, at the public-guidance boundaries PM<sub>2.5</sub> > 35 and PM<sub>10</sub> > 80 µg/m³.
|
| 182 |
+
|
| 183 |
+
> **CMAQ at the target valid time must never be a model input.**
|
| 184 |
+
> In PLUME it appears only as a training-time teacher label; everything the model reads is available at issue time. The archive contains the full hourly record, so it is *possible* to build a leaking pipeline from it by accident. The `--causal-student` path in the reference code enforces the split — if you build your own loader, enforce it yourself, or your scores will not mean what you think they mean.
|
| 185 |
+
|
| 186 |
+
Suggested protocol, matching the paper: train on **2016–2022**, select on **2023**, evaluate once on **2024**.
|
| 187 |
+
|
| 188 |
+
---
|
| 189 |
+
|
| 190 |
+
## Citation
|
| 191 |
+
|
| 192 |
+
```bibtex
|
| 193 |
+
@article{plume2025,
|
| 194 |
+
title = {PLUME: A Physically Conditioned Decision-State World Model
|
| 195 |
+
for Air-Quality Exceedance Forecasting},
|
| 196 |
+
author = {KAIST CVML Lab},
|
| 197 |
+
year = {2025},
|
| 198 |
+
note = {Code: https://github.com/2na-97/PLUME}
|
| 199 |
+
}
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
## Acknowledgements
|
| 203 |
+
|
| 204 |
+
Observations come from the Korean national air-quality monitoring network and regional partners; the reanalysis is CMAQ. Preprocessing and grid conventions began as a fork of the [Aurora](https://github.com/microsoft/aurora) stack.
|
| 205 |
+
|
| 206 |
+
## License
|
| 207 |
+
|
| 208 |
+
MIT for the packaging and derived arrays. Underlying observations and reanalysis remain subject to the terms of their original providers; check those before redistribution.
|