Skip to content

fix(demo): add the theatre and battlespace demo pack - #386

Open
catinspace-au wants to merge 2 commits into
mainfrom
feat/demo-pack-theatre
Open

catinspace-au wants to merge 2 commits into
mainfrom
feat/demo-pack-theatre

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

resources/demo-theatre shows aircraft and vessel tracks from two live public feeds for the watchfloor. It uses tables and timelines because the console has no map.

  • adsb-tracks polls adsb.lol for aircraft within 100 nm of Sydney every 180 seconds. Unkeyed adsb.lol allows 500 /v2 requests a day per address, so a 10-second poll is refused after about 80 minutes. Data under ODbL v1.0.
  • ais-tracks polls Digitraffic every 10 seconds for vessels within 60 km of Helsinki that reported in the last ten minutes. It sends the Accept, gzip and Digitraffic-User headers Digitraffic needs. Data under CC BY 4.0.
  • Each source also polls demo-replay, which serves ten minutes of captured polls with their times moved to now. It returns no rows while the live host accepts connections. Replay fills both tables on a host with no egress.
  • Five dashboards: the picture now, tracks seen, altitude bands, new, dropped and returning tracks, vessel course and speed changes.
  • Six saved searches: each feed has a track search, the picture over a time range, and reports that landed over 60 seconds late.
  • One hunt, every five minutes: a vessel whose last report has just become more than five minutes old.

The engine refuses a receiver match on a fetcher source, so replay goes through the fetcher. load_demo and demo_roles accept a fetcher-only pack. The pack gets no intake, syslog stream or transform instance. Its events are the fetchers' replays.

resources/demo-theatre shows aircraft and vessel tracks from two live public feeds for the watchfloor. It uses tables and timelines because the console has no map.

- adsb-tracks polls adsb.lol for aircraft within 100 nm of Sydney every 180 seconds. Unkeyed adsb.lol allows 500 /v2 requests a day per address, so a 10-second poll is refused after about 80 minutes. Data under ODbL v1.0.
- ais-tracks polls Digitraffic every 10 seconds for vessels within 60 km of Helsinki that reported in the last ten minutes. It sends the Accept, gzip and Digitraffic-User headers Digitraffic needs. Data under CC BY 4.0.
- Each source also polls demo-replay, which serves ten minutes of captured polls with their times moved to now. It returns no rows while the live host accepts connections. Replay fills both tables on a host with no egress.
- Five dashboards: the picture now, tracks seen, altitude bands, new, dropped and returning tracks, vessel course and speed changes.
- Six saved searches: each feed has a track search, the picture over a time range, and reports that landed over 60 seconds late.
- One hunt, every five minutes: a vessel whose last report has just become more than five minutes old.

The engine refuses a receiver match on a fetcher source, so replay goes through the fetcher. load_demo and demo_roles accept a fetcher-only pack. The pack gets no intake, syslog stream or transform instance. Its events are the fetchers' replays.
A transponder can send any bytes as its callsign. The console showed one as @@@@@@@@. Callsigns with characters outside A-Z, 0-9 and space now show as the aircraft's hex in every tile and search.

- The picture and stopped-reporting tables group by hex or MMSI and use each track's last clean callsign. A junk callsign no longer splits one aircraft into two rows.
- Missing headings show as -. The feed omits headings for aircraft on the ground.
- The vessel-moves legend reads "course changed 10 deg+" and "speed changed 1 kn+". Shorter altitude bands let their legend fit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant