prop/lib/microwaveprop
Graham McIntire e7f0f03bf0 Fix wgrib2 -lola binary parsing and add native_surface_refractivity
wgrib2 -lola ... bin writes Fortran unformatted records (4-byte
length header + data + 4-byte length trailer per message).
parse_lola_binary was treating the binary as tightly packed,
causing every message after the first to read from the wrong
offset — values came out as garbage across all grid points.

Fix: account for the 8-byte record overhead per message when
computing the data offset for each message's grid values.

This bug affects both the existing propagation grid extraction
(which may have been producing subtly wrong scores) and the new
native-level extraction (which was producing obviously wrong
values). The fix is a one-line stride change.

Also adds Backtest.Features.native_surface_refractivity for the
Phase 1 sanity check, plus a tighter wgrib2 match pattern that
selects only hybrid-level messages from the native file.
2026-04-10 08:13:33 -05:00
..
accounts Add /beacons CRUD and /users admin page 2026-04-08 12:01:45 -05:00
backtest Fix wgrib2 -lola binary parsing and add native_surface_refractivity 2026-04-10 08:13:33 -05:00
beacon_monitors Add beacon monitor registration and fix prod SMTP 2026-04-08 11:30:28 -05:00
beacons Compact beacon detail page, toggleable coverage, About page formatting 2026-04-09 09:12:32 -05:00
commercial Fix SNMP polling: remove invalid timeout option and normalize OID format 2026-03-30 13:44:49 -05:00
propagation Add 902-5760 MHz bands, centralize band options 2026-04-07 16:39:25 -05:00
radio Show submitter callsign on the contacts index 2026-04-09 14:02:30 -05:00
terrain Smooth viewshed boundary to remove SRTM elevation spikes 2026-04-07 07:42:32 -05:00
weather Fix wgrib2 -lola binary parsing and add native_surface_refractivity 2026-04-10 08:13:33 -05:00
workers Fix native-level GRIB2 decoding and add wgrib2 extraction path 2026-04-10 07:54:08 -05:00
accounts.ex Add /beacons CRUD and /users admin page 2026-04-08 12:01:45 -05:00
application.ex Add Erlang clustering via libcluster and expose LiveDashboard 2026-04-06 09:46:48 -05:00
backtest.ex Phase 0: backtest harness 2026-04-09 16:10:54 -05:00
beacon_monitors.ex Add beacon monitor registration and fix prod SMTP 2026-04-08 11:30:28 -05:00
beacons.ex Beacon improvements: anon submit, notes, /map nav, admin backfill 2026-04-08 16:23:59 -05:00
commercial.ex Add commercial link monitoring via SNMP polling 2026-03-30 13:02:59 -05:00
geo.ex Add /rover planner for microwave contest rovers 2026-04-07 14:17:48 -05:00
mailer.ex initial 2026-03-28 11:28:47 -05:00
markdown.ex fix enrichment 2026-04-02 15:30:41 -05:00
propagation.ex Decouple propagation_scores pruning from the compute worker 2026-04-09 12:30:10 -05:00
radio.ex Show submitter callsign on the contacts index 2026-04-09 14:02:30 -05:00
release.ex docker 2026-03-28 11:41:31 -05:00
repo.ex initial 2026-03-28 11:28:47 -05:00
repo_listener.ex Replace polling with Postgres LISTEN/NOTIFY for live updates 2026-04-02 16:26:22 -05:00
terrain.ex Reduce dead tuples by using conditional upserts and skip-on-conflict 2026-04-04 17:32:57 -05:00
weather.ex Add ERA5 reanalysis and RTMA data sources 2026-04-07 12:04:16 -05:00