mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-08-26 17:31:34 +00:00
fix(satpass): clean broadcast format (short names, degrees, compass, friendly observers) (#76)
Rewrite the satellite-pass wire to a single clean line: short ham names (ISS/AO-27/AO-91), numeric max elevation (max 77°) instead of a bucket word, collapsed compass sweeps (no E→E→E), and friendly observer names — dropping the meaningless synthetic coverage_center parenthetical (and no longer seeding that observer when explicit observers are configured). Absolute local time kept for the 12h-advance heads-up. Co-authored-by: Matt Johnson <mj@k7zvx.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4956da3338
commit
8d3f96857f
8 changed files with 276 additions and 96 deletions
|
|
@ -136,9 +136,9 @@ def test_two_observers_consolidate_to_one_broadcast(monkeypatch):
|
|||
assert row["los_at"] == T0 + 400 # twin (latest LOS)
|
||||
assert "boise" in row["observer"] and "twin" in row["observer"]
|
||||
|
||||
# Wire carries entry->exit region + aos->peak->los compass sweep.
|
||||
# Wire carries entry->exit region (FRIENDLY names) + aos->peak->los sweep.
|
||||
wire = evt["wire"]
|
||||
assert "boise→twin" in wire # entry -> exit
|
||||
assert "(Boise→Twin Falls)" in wire # friendly entry -> exit
|
||||
assert "SW→S→NE" in wire # aos -> peak(twin) -> los
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue