feat: toggleable live map feeds (ADS-B, trains, AIS, radar, WFIGS, NWS)
Wire the free data streams from docs/free-data-streams.md into the dashboard as layer-panel toggles. Third-party APIs are proxied/cached in FastAPI; raster tiles (IEM, RainViewer, GIBS) stay in the browser. - Aircraft via ADSB.lol viewport poll (bbox required, radius ≤ 150 nm) - Amtraker trains, NHC storms, WFIGS incidents/perimeters - NWS + IEM SBW as /api/weather-alerts (does not collide with /api/alerts) - AISStream worker is server-side only and idles without AISSTREAM_API_KEY - Caltrans CWWP2 D1–D12 camera parser; FIRMS dual-write NOAA-20/21
This commit is contained in:
parent
47628cc5f2
commit
f779b1f225
15 changed files with 1662 additions and 39 deletions
|
|
@ -109,6 +109,7 @@ def test_ingest_fires_uses_keystore_key(monkeypatch):
|
|||
return False
|
||||
|
||||
async def get(self, url):
|
||||
captured.setdefault("urls", []).append(url)
|
||||
captured["url"] = url
|
||||
return FakeResp()
|
||||
|
||||
|
|
@ -122,8 +123,10 @@ def test_ingest_fires_uses_keystore_key(monkeypatch):
|
|||
|
||||
monkeypatch.setattr("fire_sources.publish_fire_batch", fake_publish)
|
||||
|
||||
assert asyncio.run(ingest_fires()) == 5
|
||||
assert asyncio.run(ingest_fires()) == 10 # NOAA-20 + NOAA-21 dual-write
|
||||
assert "a" * 32 in captured["url"]
|
||||
assert any("VIIRS_NOAA20_NRT" in u for u in captured["urls"])
|
||||
assert any("VIIRS_NOAA21_NRT" in u for u in captured["urls"])
|
||||
|
||||
|
||||
def _async_return(value):
|
||||
|
|
|
|||
Loading…
Reference in a new issue