deepguess commited on
Commit
c3a0616
·
verified ·
1 Parent(s): 4c8a4bb

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +186 -0
README.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - image-classification
5
+ - other
6
+ tags:
7
+ - weather
8
+ - meteorology
9
+ - wrf
10
+ - severe-weather
11
+ - visualization
12
+ - numpy
13
+ - geospatial
14
+ - tornado
15
+ - wildfire
16
+ - hurricane
17
+ - atmospheric-science
18
+ size_categories:
19
+ - 10K<n<100K
20
+ pretty_name: WRF 250m Severe Weather Overlays
21
+ ---
22
+
23
+ # WRF 250m Severe Weather Overlays
24
+
25
+ **18 high-resolution severe weather simulations, ready to plot.**
26
+
27
+ 250-meter WRF model output covering tornadoes, wildfires, hurricanes, blizzards, heat waves, and flooding events across the US. Each event includes surface weather fields at 1-minute temporal resolution on an 800x800 grid — just load with numpy and start making maps.
28
+
29
+ ## What's in the box
30
+
31
+ Each event folder contains:
32
+
33
+ - **`coords.npz`** — latitude/longitude arrays (`xlat`, `xlong`, both 800x800 float32)
34
+ - **`t_0000.npz` through `t_NNNN.npz`** — one file per timestep, each containing 16 weather fields
35
+ - **`metadata.json`** — event info, timestamps, field descriptions
36
+
37
+ ## Quick start
38
+
39
+ ```python
40
+ import numpy as np
41
+
42
+ # Load coordinates
43
+ coords = np.load("carr_fire/coords.npz")
44
+ lat, lon = coords["xlat"], coords["xlong"]
45
+
46
+ # Load a single timestep
47
+ data = np.load("carr_fire/t_0200.npz")
48
+
49
+ # Plot wind speed
50
+ import matplotlib.pyplot as plt
51
+ fig, ax = plt.subplots(figsize=(10, 10))
52
+ c = ax.pcolormesh(lon, lat, data["wind_speed_10m"], cmap="YlOrRd", vmin=0, vmax=30)
53
+ ax.set_title("Carr Fire — 10m Wind Speed (m/s)")
54
+ plt.colorbar(c)
55
+ plt.savefig("carr_fire_wind.png", dpi=150)
56
+ ```
57
+
58
+ ### Make an animation
59
+
60
+ ```python
61
+ import numpy as np
62
+ import matplotlib.pyplot as plt
63
+ from matplotlib.animation import FuncAnimation
64
+ import json
65
+
66
+ with open("carr_fire/metadata.json") as f:
67
+ meta = json.load(f)
68
+
69
+ coords = np.load("carr_fire/coords.npz")
70
+ lat, lon = coords["xlat"], coords["xlong"]
71
+
72
+ fig, ax = plt.subplots(figsize=(10, 10))
73
+ data0 = np.load("carr_fire/t_0000.npz")
74
+ mesh = ax.pcolormesh(lon, lat, data0["refc"], cmap="turbo", vmin=-10, vmax=70)
75
+ title = ax.set_title("")
76
+
77
+ def update(frame):
78
+ data = np.load(f"carr_fire/t_{frame:04d}.npz")
79
+ mesh.set_array(data["refc"].ravel())
80
+ title.set_text(f"Carr Fire Reflectivity — {meta['times'][frame]}")
81
+ return mesh, title
82
+
83
+ anim = FuncAnimation(fig, update, frames=range(0, 421, 5), interval=100)
84
+ anim.save("carr_fire_refc.mp4", dpi=100)
85
+ ```
86
+
87
+ ## Fields
88
+
89
+ Every `.npz` timestep file contains these 16 fields, all `float32` at 800x800:
90
+
91
+ | Field | Description | Units | Notes |
92
+ |-------|-------------|-------|-------|
93
+ | `t2m` | 2-meter temperature | degC | |
94
+ | `u10` | 10-meter U-wind component | m/s | |
95
+ | `v10` | 10-meter V-wind component | m/s | |
96
+ | `wind_speed_10m` | 10-meter wind speed | m/s | Derived: sqrt(u10^2 + v10^2) |
97
+ | `wind_direction_10m` | 10-meter wind direction | degrees | Meteorological convention (wind FROM) |
98
+ | `surface_pressure` | Surface pressure | hPa | |
99
+ | `pblh` | Planetary boundary layer height | m | |
100
+ | `hfx` | Surface sensible heat flux | W/m2 | |
101
+ | `lh` | Surface latent heat flux | W/m2 | |
102
+ | `rain_rate` | Precipitation rate | mm/hr | Derived from accumulated RAINNC |
103
+ | `refc` | Composite reflectivity | dBZ | Column-max of 3D reflectivity |
104
+ | `wspd10max` | Max 10m wind gust | m/s | Running max since simulation start |
105
+ | `w_up_max` | Max updraft speed | m/s | Running max since simulation start |
106
+ | `w_dn_max` | Max downdraft speed | m/s | Running max since simulation start |
107
+ | `updraft_helicity` | Max updraft helicity 2-5 km | m2/s2 | Running max since simulation start |
108
+ | `hail_max` | Max hail diameter | mm | Running max since simulation start |
109
+
110
+ **Note on "running max" fields:** `wspd10max`, `w_up_max`, `w_dn_max`, `updraft_helicity`, and `hail_max` are accumulated maxima that increase monotonically over the simulation. They show the worst conditions experienced at each grid point up to that time — useful for swath maps showing the full storm impact.
111
+
112
+ ## Events
113
+
114
+ | Event | Date | Category | Location | Timesteps | Temporal Res |
115
+ |-------|------|----------|----------|-----------|-------------|
116
+ | Carr Fire | 2018-07-23 | Wildfire | Redding, CA | 421 | 1 min |
117
+ | Hurricane Michael | 2018-10-10 | Hurricane | Panama City, FL | ~23 | 15 min |
118
+ | Camp Fire | 2018-11-08 | Wildfire | Paradise, CA | 418 | 1 min |
119
+ | Nashville EF3 Tornado | 2020-03-03 | Tornado | Nashville, TN | ~28 | 15 min |
120
+ | Death Valley Record Heat | 2020-08-16 | Heat | Death Valley, CA | 357 | 1 min |
121
+ | LA Fires | 2020-09-06 | Wildfire | Los Angeles, CA | 421 | 1 min |
122
+ | SF Bay Area Fires | 2020-09-06 | Wildfire | San Francisco, CA | 421 | 1 min |
123
+ | PNW Windstorm | 2020-09-08 | Wind | Pacific Northwest | 360 | 1 min |
124
+ | Texas Freeze | 2021-02-16 | Winter | Texas | ~22 | 15 min |
125
+ | Seattle Heat Dome | 2021-06-28 | Heat | Seattle, WA | ~10 | 15 min |
126
+ | Mayfield EF4 Tornado | 2021-12-11 | Tornado | Mayfield, KY | ~22 | 15 min |
127
+ | CA Atmospheric River | 2021-12-30 | Flooding | Northern California | 421 | 1 min |
128
+ | Buffalo Blizzard | 2022-12-23 | Winter | Buffalo, NY | ~14 | 15 min |
129
+ | CA Pineapple Express 2023 | 2023-01-04 | Flooding | California | 421 | 1 min |
130
+ | Pineapple Express | 2024-02-04 | Flooding | Southern California | 418 | 1 min |
131
+ | Denver Hailstorm | 2024-05-31 | Hail | Denver, CO | 421 | 1 min |
132
+ | LA Fires Peak 2025 | 2025-01-07 | Wildfire | Los Angeles, CA | 421 | 1 min |
133
+ | Enderlin EF5 Tornado | 2025-06-21 | Tornado | Enderlin, ND | ~360 | 1 min |
134
+
135
+ 12 events have **1-minute** temporal resolution from WRF auxiliary history output. 6 events have **15-minute** resolution from standard WRF output files.
136
+
137
+ ## Grid details
138
+
139
+ - **Model:** WRF-ARW v4, d03 (innermost nest)
140
+ - **Horizontal resolution:** 250 meters
141
+ - **Grid size:** 800 x 800 points (200 km x 200 km)
142
+ - **Projection:** Lambert Conformal Conic (varies per event)
143
+ - **Coordinates:** Each event has its own `coords.npz` with the exact lat/lon for every grid point
144
+
145
+ ## File sizes
146
+
147
+ - Individual timestep `.npz`: ~20-25 MB (16 fields, float32, 800x800, numpy compressed)
148
+ - Full event (421 timesteps): ~8-10 GB
149
+ - Total dataset: ~128 GB
150
+
151
+ ## Coordinate system
152
+
153
+ The WRF model uses a Lambert Conformal Conic projection centered on each event location. The `coords.npz` file contains the exact latitude and longitude of every grid point. Use these for plotting — don't assume a regular lat/lon grid.
154
+
155
+ ```python
156
+ coords = np.load("carr_fire/coords.npz")
157
+ lat = coords["xlat"] # shape (800, 800), float32
158
+ lon = coords["xlong"] # shape (800, 800), float32
159
+
160
+ # These are NOT regularly spaced in lat/lon
161
+ # Use pcolormesh, not imshow, for correct geographic placement
162
+ ```
163
+
164
+ For web map overlays (Leaflet, Mapbox), you'll need to reproject from Lambert Conformal to Web Mercator. The metadata.json for each event includes the projection parameters if you need them.
165
+
166
+ ## Source
167
+
168
+ Produced by [Fahrenheit Research](https://wxsection.com) using WRF-ARW at 250m resolution. Simulations were run on the d03 innermost nest with 1-minute auxiliary history output enabled for surface fields.
169
+
170
+ Raw WRF netCDF files were processed into `.npz` format to make them accessible without WRF-specific tools. All fields are on the native d03 mass grid (no interpolation).
171
+
172
+ ## License
173
+
174
+ CC-BY-4.0 — free to use for any purpose with attribution.
175
+
176
+ ## Citation
177
+
178
+ ```bibtex
179
+ @dataset{fahrenheit_wrf_overlays_2026,
180
+ author = {Fahrenheit Research},
181
+ title = {WRF 250m Severe Weather Overlays},
182
+ year = {2026},
183
+ publisher = {Hugging Face},
184
+ url = {https://huggingface.co/datasets/deepguess/wrf-250m-severe-weather-overlays}
185
+ }
186
+ ```