Fix stale pressure trend scores and pressure levels in algo.md

This commit is contained in:
Graham McIntire 2026-04-01 18:28:10 -05:00
parent 1a9be5eeb0
commit 4af6c5db73
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

10
algo.md
View file

@ -918,11 +918,11 @@ def score_pressure(current_mb, previous_mb) do
prev ->
delta = current_mb - prev
cond do
delta > 2.5 -> 65 # Rising rapidly — post-frontal clearing, some residual ducts
delta > 0.8 -> 55 # Rising — stabilizing
delta > 2.5 -> 80 # Rising rapidly — post-frontal clearing, residual ducts
delta > 0.8 -> 70 # Rising — stabilizing
delta > -0.5 -> 60 # Steady — neutral
delta > -2.0 -> 75 # Falling slowly — approaching front, duct formation
true -> 70 # Falling rapidly — active frontal dynamics
delta > -2.0 -> 65 # Falling slowly — approaching front
true -> 45 # Falling rapidly — active frontal dynamics, mixing
end
end
end
@ -1652,7 +1652,7 @@ The following ITU-R Recommendations provide the physics models underlying the sc
- Source: AWS S3 public bucket `https://noaa-hrrr-bdp-pds.s3.amazonaws.com`
- Format: GRIB2 files, hourly cadence, 3km horizontal resolution
- Profile count: 4,522 profiles matched to QSO/grid locations
- Pressure levels extracted: 1000, 975, 950, 925, 900, 850, 800, 700 mb
- Pressure levels extracted: every 25 hPa from 1000700 mb (13 levels: 1000, 975, 950, 925, 900, 875, 850, 825, 800, 775, 750, 725, 700)
- Surface fields: temperature (°C), dewpoint (°C), pressure (mb), HPBL (boundary layer height, m), PWAT (precipitable water, mm), 10m wind components (u, v), cloud cover (%), precipitation (mm)
- Per-level fields: temperature, dewpoint, geopotential height
- Derived: refractivity profile, min gradient, ducting detection (same as sounding derivation)