1. End-to-End Forecast & Assimilation Workflow
Global ensemble and deterministic numerical weather prediction (NWP) models resolve Western North American mountain ranges on coarse 0.25° (~28 km) to 3 km grids. In steep complex terrain (Tetons, Wasatch, Wind Rivers, Sawtooth/Pioneers, Selkirks), a 0.25° model grid box averages valley floors with alpine ridges—smoothing summits down by 1,500 to 3,500 ft. Plotting raw model grid snowfall directly under-predicts high-elevation SWE, misdiagnoses rain/snow phase lines, and ignores temperature- and wind-driven snow-to-liquid ratio (SLR) variability.
Queries raw model grid time series (elevation=nan, cell_selection=nearest) or decodes single-pass GRIB2 byte ranges (sf, 2t, tp) without black-box server post-processing.
Computes true DEM elevation minus model orography (Δz = z_site − z_grid) to scale 2m temperature and resolution-aware orographic precipitation.
Queries QC-filtered in-situ mountain stations (SNOTEL/mesonet), weighting temperature, psychrometric wet-bulb (Tw), and wind by anisotropic 3D distance.
Partitions total liquid equivalent (tp) into frozen SWE vs. liquid rain across a dynamic transition band and integrates snow depth via the BTAC polynomial.
2. Multi-Model Ensemble & Deterministic Suite
Combining physics-based ensembles with data-driven machine-learning ensembles (ECMWF AIFS, Google WeatherNext 2) and convection-allowing high-resolution deterministic runs exposes structural model uncertainty alongside initial-condition spread (P10–P90).
| Model ID | Type & Core | Members | Grid / Spacing | Native Step | Base Orographic Factor |
|---|---|---|---|---|---|
| aifs-ens | ECMWF AIFS ML Ensemble | 51 (1 cf + 50 pf) | 0.25° (~28 km) | 6 h | 1.00× site rate |
| weathernext2 | Google WeatherNext 2 ML Ensemble | 64 (1 cf + 63 pf) | 0.25° (~28 km) | 6 h | 1.00× site rate |
| ifs-ens | ECMWF IFS Physics Ensemble | 51 (1 cf + 50 pf) | 0.25° (~28 km) | 3 h / 6 h | 1.00× site rate |
| gefs | NOAA NCEP GEFS Physics Ensemble | 31 (1 cf + 30 pf) | 0.25° (~28 km) | 3 h / 6 h | 1.00× site rate |
| ifs | ECMWF IFS Physics Deterministic | 1 (det) | 0.25° (~28 km) | 6 h | 1.00× site rate |
| ifs-hres | ECMWF IFS High-Res Deterministic | 1 (det) | 0.08° (~9 km) | 3 h | ~0.50× site rate |
| rrfs | NOAA RRFS CONUS Convection-Allowing | 1 (det) | 0.03° (~3 km) | 3 h | ~0.16× site rate |
3. Orographic & Lapse-Rate Terrain Downscaling
For every target coordinate, the pipeline resolves both the true digital elevation model height (z_site in feet) and the model's native grid-box orography (z_grid in feet), defining the sub-grid vertical relief Δz = z_site − z_grid.
Asymmetric Vertical Temperature Lapse Rate
Free-air ascent toward an exposed alpine summit cools near the moist adiabatic lapse rate, whereas valley floors sitting below a smoothed mountain grid box frequently experience boundary-layer cold-pool trapping and nocturnal inversions:
Resolution-Scaled & Relative-Relief Saturated Orographic Multiplier
Coarse 28 km grids miss sub-grid forced orographic lift over narrow barriers (e.g., Teton Crest at 8–10%/1,000 ft, Little Cottonwood Canyon at 14%/1,000 ft). High-resolution models (9 km ifs-hres, 3 km rrfs) already resolve a large fraction of mesoscale terrain slope, so α_eff scales inversely with native grid resolution. For positive sub-grid relief (Δz > 0), enhancement follows a smooth tanh saturation curve capped at 1.65×—preserving linear fidelity across standard alpine ridges (Tetons, Wasatch, Tian Shan, Himalaya above high plateaus) while preventing runaway precipitation doubling on isolated volcanic spikes (e.g., Mt. Rainier Δz = +10,240 ft):
4. BTAC Snow Density, SLR & Mixed-Phase Partitioning
Rather than relying solely on the model's raw grid-level snowfall parameter (sf, which is diagnosed at the un-corrected grid elevation z_grid and converted at a fixed 10:1 density), the primary snow plume is derived from terrain-corrected total liquid precipitation (tp) partitioned via pressure-aware wet-bulb temperature and converted via the empirical BTAC (Brighton / Wasatch) snow density regressions.
1D Temperature–Density Polynomial (with High-Altitude Cold Clamp)
2D Temperature & Wind-Packing Surface (Mid-Mountain Study Plot)
When in-situ 24-hour wind run W_24 = 24 × v_mph (clipped to [0, 1200] miles) is available via Synoptic Mesonet assimilation, density is evaluated on the 2D quadratic response surface accounting for mechanical wind fragmentation and crystal packing during deposition:
Pressure-Aware Wet-Bulb Phase Diagnosis & Baroclinic Cooling Boost
- Wet-Bulb Snow Level (Utah Snow Ensemble Convention): When forecast relative_humidity_2m is available from Open-Meteo, phase partitioning uses pressure-aware wet-bulb temperature T_w(T, RH, P(z)) centered at 32.9°F (0.5°C) ± 2.0°F (falling back to dry-bulb 33.5°F ± 2.0°F when RH is unavailable).
- Baroclinic Cooling Trend: Active cold-frontal cooling (dT/dt < 0) shifts marginal mixed-phase snow fraction upward by +0.04 per °F/hr (up to +0.10) and boosts dendritic SLR by +5% per °F/hr (capped at +10%, max 25:1).
- Shallow Warm Layer Support: When the diagnosed snow line sits less than 600 ft above the site, melting is incomplete and snow fraction receives up to +0.08 retention support.
5. Real-Time Synoptic Data Mesonet 3D Ground-Truthing
During batch execution, synoptic_truth.py queries the Synoptic Data Mesonet API (/v2/stations/timeseries) with strict quality-control filtering (qc=on&qc_filter=all) for nearby mountain weather stations and SNOTEL sites reporting air_temp, relative_humidity, and wind_speed.
Anisotropic 3D Spatial Trust Metric
In mountain meteorology, a valley weather station 2 miles away horizontally but 3,000 ft lower vertically sits in a completely different airmass. The assimilation kernel penalizes every 1,000 ft of vertical separation as equivalent to 6.0 horizontal miles:
Pressure-Aware Psychrometric Wet-Bulb & Forward Lead-Time Decay
Rather than a sea-level empirical fit (which underestimates evaporative cooling above 10,000–14,000 ft), both in-situ observations and Open-Meteo forecasts solve the exact psychrometric balance e_s(T_w) − γ(P)(T − T_w) = RH·e_s(T) with hypsometric station pressure P(z) via vectorized Newton-Raphson iteration, holding accurately from sea level to 29,000 ft. When the composite station trust weight exceeds w_trust ≥ 0.15:
- Near-Term Temperature & Wet-Bulb Bias Anchor: Blends observed lapse-adjusted station temperature/wet-bulb offset into the forecast trajectory with exponential lead-time decay (τ_T = 6.0 hours).
- 2D Wind-Packing Anchor: Blends observed 24-hour wind run into the BTAC 2D density surface over the first 12–24 hours (τ_W = 12.0 hours), smoothly relaxing back to the 1D baseline (520 mi/24h) at longer lead times.
6. Temporal Forecast Evolution (dProg/dt) Alignment
Every 6 hours, the automated GitHub Actions pipeline archives compact point snapshots (open_meteo_{model}_{YYYYMMDD_HH}_{lat}_{lon}_240h.npz, ~27 KB each) to a single-commit squashed orphan git branch (forecast-cache).
Because each model run begins accumulating snow from 0.0" at its own initialization timestamp t_init, plotting raw curves from multiple runs produces vertical offsets from snow that already fell prior to the newest run. To isolate true forecast trend (dProg/dt):
All historical runs are interpolated and re-zeroed at t_align, so every curve represents predicted snow accumulation over the exact same future window. Runs older thanNewest toggle from light (oldest initialization) to dark solid (latest reference initialization).