jimtseng commited on
Commit
28bbd3e
·
verified ·
1 Parent(s): bda9efb

Add README + coverage assets (Silver Mode A cube)

Browse files
README.md ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - weather
7
+ - forecast
8
+ - nwp
9
+ - solar-energy
10
+ - time-series
11
+ - zarr
12
+ - open-meteo
13
+ pretty_name: APAC NWP Forecast (analysis-ready Zarr cube)
14
+ ---
15
+
16
+ # APAC NWP Forecast — analysis-ready Zarr cube
17
+
18
+ Hourly numerical weather prediction (NWP) forecasts for the Asia-Pacific region
19
+ (lat −44…46, lon 92…154 — Japan, Taiwan, Southeast Asia, Australia and surrounding
20
+ seas), archived **every run** from multiple weather models. Variables are chosen for
21
+ **solar-energy applications** (irradiance, temperature, cloud cover, wind, …).
22
+
23
+ Every run is stored in **one growing, analysis-ready Zarr cube per model** with axes
24
+ `init_time × lead_time × latitude × longitude` — a record of *past forecasts*, useful for
25
+ forecast-correction / model-blending ML (not reconstructable from reanalysis). New runs are
26
+ appended daily; the `run_init` axis is pre-allocated to the end of 2027, so the cube grows in
27
+ place. **The full model grid is kept, including ocean cells.**
28
+
29
+ Data is sourced from the [Open-Meteo](https://open-meteo.com) open-data distribution and
30
+ exported with the open-source [open-meteo](https://github.com/open-meteo/open-meteo)
31
+ toolchain.
32
+
33
+ ## Dataset family
34
+
35
+ | Dataset | Format | Role |
36
+ |---|---|---|
37
+ | **`jimtseng/apac-nwp-forecast`** (this one) | Zarr cube (Mode A, sharded) | **Analysis-ready Silver — use this** |
38
+ | [`jimtseng/apac-nwp-forecast-raw`](https://huggingface.co/datasets/jimtseng/apac-nwp-forecast-raw) | per-run parquet | Bronze — immutable per-run capture (from go-forward onward) |
39
+ | [`jimtseng/apac-nwp-forecast-zip`](https://huggingface.co/datasets/jimtseng/apac-nwp-forecast-zip) | per-run `.zarr.zip` | Historical cold archive (the pre–Bronze original capture) |
40
+
41
+ ## Coverage at a glance
42
+
43
+ **Spatial extent** — `dwd_icon` GHI over the whole domain (−44…46°N, 92…154°E):
44
+
45
+ ![ICON full APAC GHI map](assets/icon_apac_domain.png)
46
+
47
+ Example `jma_msm` variables (~5 km, Japan domain) — many fields beyond GHI:
48
+
49
+ | Cloud cover (%) | 10 m wind speed (m/s) |
50
+ |:---:|:---:|
51
+ | ![JMA cloud cover](assets/jma_cloud_cover.png) | ![JMA wind speed](assets/jma_wind_speed.png) |
52
+
53
+ ## Models
54
+
55
+ | Model | Provider | Resolution | Runs/day | Horizon | Grid (incl. ocean) |
56
+ |---|---|---|---|---|---|
57
+ | `jma_msm` | JMA (Japan) | 0.0625°×0.05° (~5 km) | 8 (3-hourly) | 78 h (00/12 UTC) / 39 h (other runs) | 473×481, 22.4–47.6°N · 120–150°E |
58
+ | `dwd_icon` | DWD (Germany) | 0.125° (~11 km) | 4 | 180 h (7.5 days) | 721×497, −44…46°N · 92…154°E |
59
+
60
+ Each model is a separate cube: `jma_msm_silver.zarr`, `dwd_icon_silver.zarr`.
61
+
62
+ Notes:
63
+ - Hourly values beyond a model's native hourly range (ICON > 78 h) are interpolated by
64
+ Open-Meteo from 3-hourly steps (solar-geometry-aware clearness-index for radiation,
65
+ hermite otherwise). Daily totals stay reliable; sub-3-hourly cloud variability there is smoothed.
66
+ - Horizon is **run-dependent** (`jma_msm`: 00/12 UTC reach 78 h, other runs 39 h). Slots
67
+ beyond a run's real horizon read back as the missing-value sentinel (NaN / masked).
68
+ - Ocean cells carry real model values. `elevation` is 0 over sea — use it (or `location_id`)
69
+ to mask land/sea.
70
+
71
+ ## Structure
72
+
73
+ Each `<model>_silver.zarr` is a Zarr v3 store (Mode A):
74
+
75
+ - **dims** `(run_init, lead, latitude, longitude)` — `lead` = forecast lead time in **hours**
76
+ after `run_init` (`valid_time = run_init + lead`). `run_init` grows as new runs are appended.
77
+ - **coords** `run_init`, `lead`, `latitude`, `longitude`, plus 2-D static `elevation` and
78
+ `location_id` `(latitude, longitude)` (stored once).
79
+ - **data variables** — each weather variable is its own array in its **native dtype**
80
+ (uint8 / uint16 / float32).
81
+ - **sharding** — one shard per run (`run_init=1 × all-lead × whole-grid`) containing small
82
+ inner chunks, so point/series reads touch few bytes while file counts stay HF-friendly.
83
+ - **`slot_filled`** — `(run_init,)` int8 marker: 1 = this run has data, 0 = empty future slot.
84
+
85
+ Unwritten (empty / beyond-horizon) cells read back as the sentinel (NaN for float, masked for int).
86
+
87
+ ## Schema (variables)
88
+
89
+ | Variable | Type | Description |
90
+ |---|---|---|
91
+ | `shortwave_radiation_wattPerSquareMetre` | uint16 | GHI, backwards-averaged over the previous hour |
92
+ | `direct_radiation_wattPerSquareMetre` | uint16 | Direct horizontal irradiance |
93
+ | `diffuse_radiation_wattPerSquareMetre` | uint16 | Diffuse irradiance |
94
+ | `direct_normal_irradiance_wattPerSquareMetre` | uint16 | DNI (unstable at sun elevation < 5°; filter before use) |
95
+ | `temperature_2m_celsius` | float32 | 2 m air temperature |
96
+ | `relative_humidity_2m_percentage` | uint8 | 2 m relative humidity |
97
+ | `wind_speed_10m_metrePerSecond` | float32 | 10 m wind speed |
98
+ | `surface_pressure_hectopascal` | float32 | Surface pressure |
99
+ | `precipitation_millimetre` | float32 | Hourly precipitation |
100
+ | `cloud_cover_percentage` (+ `_low` / `_mid` / `_high`) | uint8 | Cloud cover layers |
101
+ | `snow_depth_metre` | float32 | Snow depth (**`dwd_icon` only**) |
102
+ | `snowfall_water_equivalent_millimetre` | float32 | Hourly snowfall, water equivalent (**`dwd_icon` only**) |
103
+ | `elevation` | float32 | Grid-cell elevation (m); 0 over sea |
104
+ | `location_id` | int32 | Grid point index within the model grid |
105
+
106
+ **Per-model variable set:** `dwd_icon` has **15** weather variables; `jma_msm` has **13**
107
+ (no snow — its upstream source provides none). The earliest `dwd_icon` runs (2026-03-19/20/21)
108
+ predate the snow addition and also lack snow (those slots are the sentinel).
109
+
110
+ Integer columns reflect the source quantization (radiation step 1 W/m², cloud/humidity integer %);
111
+ values are identical to the float representation, raw grid-cell values (no elevation downscaling).
112
+
113
+ ## Usage
114
+
115
+ ```python
116
+ import xarray as xr
117
+
118
+ # open the whole growing cube straight from HF (lazy; reads only the chunks you touch)
119
+ ds = xr.open_zarr(
120
+ "hf://datasets/jimtseng/apac-nwp-forecast/dwd_icon_silver.zarr",
121
+ consolidated=True,
122
+ )
123
+
124
+ # only the runs that actually have data (skip empty future slots)
125
+ ds = ds.isel(run_init=(ds["slot_filled"] == 1))
126
+
127
+ # a point time series: all runs × all leads at one grid point
128
+ ts = ds["shortwave_radiation_wattPerSquareMetre"].sel(
129
+ latitude=25.0, longitude=121.5, method="nearest"
130
+ )
131
+
132
+ # "all forecasts valid at time T" is the diagonal run_init + lead == T
133
+ ```
134
+
135
+ Needs a recent `zarr>=3` and `huggingface_hub`. `hf://` streaming reads shards on demand; for
136
+ heavy use, download the cube (or specific variables) locally first.
137
+
138
+ ## License & attribution
139
+
140
+ Data: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) —
141
+ <a href="https://open-meteo.com/">Weather data by Open-Meteo.com</a>, based on open data by
142
+ JMA (MSM) and DWD (ICON). Please retain this attribution when redistributing or displaying the data.
assets/icon_apac_domain.png ADDED

Git LFS Details

  • SHA256: 38b8f913bb92244bafab05fd73a7bc043e2b2396d7c8790a2c0d588bd07b174b
  • Pointer size: 131 Bytes
  • Size of remote file: 739 kB
assets/jma_cloud_cover.png ADDED

Git LFS Details

  • SHA256: 137cc880490b2e3d3ee4f555960980b7d715aa86429075beb2101406011fd45b
  • Pointer size: 131 Bytes
  • Size of remote file: 305 kB
assets/jma_wind_speed.png ADDED

Git LFS Details

  • SHA256: 045976a24f5a681d67a87d5b7a3e8e337813c5632d81a01834a4724ebada6b75
  • Pointer size: 131 Bytes
  • Size of remote file: 291 kB