prop/test/microwaveprop/weather/grib2
Graham McIntire 8c3c097009
test: cover weather/grib2/wgrib2
16 characterization tests against real wgrib2 binary + checked-in HRRR
fixtures: extract_grid/3 (bbox + physical sanity on TMP/DPT + longitude
convention), extract_grid_from_file/3, extract_grid_from_file_mapped/4
reducer plumbing, extract_grid_messages/3 metadata, extract_points_from_file/3
nearest-neighbor snap, undefined-value sentinel filtering, empty-match and
error shapes. Tagged @describetag :slow so they run on 'mix test --include
slow' (project default excludes slow, matches existing HRRR/NARR tests).

Surfaces one real bug (not fixed): extract_grid_messages variants don't
account for the 8-byte Fortran record overhead between messages in wgrib2
-lola output, so per-message values after the first are shifted. The
correct offset math exists in parse_lola_binary/3. Tests characterize
current behavior (metadata-only); worth a follow-up fix + value-range
assertions.
2026-04-16 14:58:55 -05:00
..
complex_packing_test.exs Fix all remaining credo --strict issues (0 issues) 2026-04-12 10:26:53 -05:00
extractor_test.exs Exclude slow GRIB2 fixture tests by default (81s -> 16s) 2026-03-31 10:00:13 -05:00
lambert_conformal_test.exs Replace wgrib2 with pure Elixir GRIB2 decoder for HRRR pipeline 2026-03-29 18:43:43 -05:00
section_test.exs Make GRIB2 section parser resilient to trailing padding and truncation 2026-03-30 09:21:27 -05:00
simple_packing_test.exs Add batch GRIB2 extraction for multi-point grid queries 2026-03-30 16:50:03 -05:00
wgrib2_test.exs test: cover weather/grib2/wgrib2 2026-04-16 14:58:55 -05:00