Commit Graph
441 Commits
Author SHA1 Message Date
Sameh Khamis 852008df4d Merge pull request #499 from bilawalsidhu/refactor/military-flight-records
Separate military-flight records and rendering
2026-09-14 16:23:02 -07:00
Sameh Khamis 9e84b03c5e refactor: separate military-flight records and rendering 2026-09-14 16:17:06 -07:00
Sameh Khamis d01b69118e Merge pull request #498 from bilawalsidhu/refactor/civil-flight-records
Separate civil-flight records and rendering
2026-09-14 16:04:58 -07:00
Sameh Khamis 4cb7334da5 refactor: separate civil-flight records and rendering 2026-09-14 15:55:37 -07:00
Sameh Khamis a658e63fed Merge pull request #496 from bilawalsidhu/refactor/shell-state-owners
refactor: separate application UI state owners
2026-09-14 15:46:06 -07:00
Sameh Khamis e31e43f4b0 Update UI acceptance fixtures for panel ownership 2026-09-14 15:43:27 -07:00
Sameh Khamis dc81cf585c refactor: separate application UI state owners 2026-09-14 15:29:10 -07:00
Sameh Khamis ddc1edf3af Merge pull request #495 from bilawalsidhu/refactor/layer-lifecycle-presentation
refactor: separate layer lifecycle from presentation
2026-09-14 15:10:31 -07:00
Sameh Khamis 2d68841783 refactor: separate layer lifecycle from presentation 2026-09-14 15:04:28 -07:00
Sameh Khamis d2c9014c2d Merge pull request #494 from bilawalsidhu/refactor/application-service-owners
refactor: own application request operations and surface caches
2026-09-14 14:55:07 -07:00
Sameh Khamis ac977bd8bc refactor: own application request operations and surface caches 2026-09-14 14:49:04 -07:00
Sameh Khamis 310809e8f1 Merge pull request #492 from bilawalsidhu/refactor/construct-application-layers
refactor: construct application layers from supplied sources
2026-09-14 14:24:48 -07:00
Sameh Khamis 8160ac5fe4 refactor: construct application layers from supplied sources 2026-09-14 14:20:01 -07:00
Sameh Khamis cd704d0e9b Merge pull request #490 from bilawalsidhu/refactor/application-catalog
refactor: supply application catalogs explicitly
2026-09-14 14:04:22 -07:00
Sameh Khamis c3de679c61 refactor: supply application catalogs explicitly 2026-09-14 13:56:51 -07:00
Daniel Slay 842ebeec6c docs: live video CCTV 2026-09-14 20:35:12 +00:00
Gustavo Beneduzi 48b3c1c332 fix(wind): restore model rendering and show valid time 2026-09-14 17:17:08 -03:00
Sameh Khamis fad93f22f8 Merge pull request #487 from bilawalsidhu/refactor/portable-firms-csv
refactor: expose portable FIRMS CSV helpers
2026-09-14 13:02:49 -07:00
Daniel Slay 2c2c287315 cctv: client HLS attach path - DelDOT as example for live HLS CCTV 2026-09-14 20:00:38 +00:00
Daniel Slay dfe2298ad0 cctv: DelDOT statewide loader — open catalog (tmc.deldot.gov), Active-only, rtmpt:80 HLS, heading from title travel tokens; registered in LIVE_PACKS, gated by CCTV_DELDOT_ENABLED 2026-09-14 20:00:38 +00:00
Daniel Slay 71aa889133 cctv: live-video panel card — canvas painted from the active camera's video element, 16:9 wrap, gated against the still-image path 2026-09-14 20:00:38 +00:00
Daniel Slay e02492cfc2 cctv: HLS strategies as server/providers/cctv/stream.js (Node puller for .m3u8, ffmpeg remuxer for RTMP) with sub-path media dispatch in the provider; hls.js client dependency 2026-09-14 20:00:38 +00:00
Sameh Khamis fb8f9e1c49 refactor: expose portable FIRMS CSV helpers 2026-09-14 12:58:57 -07:00
Gustavo Beneduzi 8db53063a9 fix(wind): scope grid ids and URLs to the model
The grid id and URL omitted the model, so two models sharing a cycle produced
the same `/api/wind/grid/<id>.bin`. Because the grid route defaults to `gfs`,
an IFS grid request resolved against the GFS cache: when both cycles matched it
silently served the GFS field as IFS, and when they differed it 404'd and the
client parsed the error body as float data.

Include the model in both the id and the URL, and reject a resampled grid that
contains non-finite values instead of caching it. Verified against live data:
the IFS grid now decodes to 65,160 finite values (u -20.2..27.6 m/s) and renders
a field distinct from GFS.
2026-09-14 14:32:22 -03:00
Rehaan Delmotra 18869a82f0 chore: adopt satellitePass formatting 2026-09-14 22:50:57 +05:30
Rehaan Delmotra ac4a17bebe feat(satellites): flag naked-eye visible passes
- Add Sun position and Earth-shadow checks
- Add visible to pass results
- next_iss_pass prefers a visible pass, falls back with visible: false
2026-09-14 22:50:15 +05:30
Rehaan Delmotra 096f533efe feat(satellites): precise pass rise/set and peak times
- Add satellitePass.js: bisected rise/set, parabolic peak fit
- Add getNextSatellitePass for any loaded catalog satellite
- Keep findNextIssPass as a wrapper
2026-09-14 22:49:48 +05:30
Gustavo Beneduzi a2d38391e6 merge: wind overlay visibility fixes from feat/wind-gfs 2026-09-14 14:03:11 -03:00
Gustavo Beneduzi b7033d86c2 fix(wind): make the particle overlay actually visible
Live browser QA of the Wind layer surfaced several rendering defects that
unit tests with fakes did not catch:

- The trail fade used a translucent black fill (source-over), which raises
  alpha instead of erasing; combined with additive strokes the overlay
  saturated into a solid white disk. Fade with destination-out instead, and
  draw strokes with normal blending.
- Particles were seeded uniformly over the whole globe, so at regional zoom
  almost none fell on screen. Seed inside the camera's visible rectangle.
- A non-finite particle position (polar divide-by-zero) reached Cesium,
  which threw and aborted the entire frame before any stroke. Guard finite
  coordinates per particle and per projection.
- Exaggerate advection in proportion to camera height, so the same visual
  speed is legible at street level and at hemispheric zoom.
- Brighter colour ramp (the old ramp started near-invisible dark grey) and a
  defensive frame try/catch so one bad frame cannot kill the loop.

Verified: the wind field/colour/particle model renders the real GFS 06z field
correctly in an offline render, and the wind unit tests pass (8/8).
2026-09-14 14:02:48 -03:00
Gustavo Beneduzi bb18e39b7d feat(wind): add ECMWF IFS as a second wind model
Add ECMWF IFS 10 m wind alongside NOAA GFS, selectable at runtime.

The /api/wind proxy becomes a model dispatcher: `?model=gfs|ifs` (default gfs,
unknown → 400), cached per model+cycle+grid. IFS reads the keyless ECMWF Open
Data JSON Lines `.index` (note: `<stem>.index`, not `<grib2>.index`), byte-range
fetches only the `10u`/`10v` messages, decodes them with the same ecCodes WASM
path, and resamples with the existing grid code (ECMWF grids start at lo1=180;
the resampler already wraps columns).

The client layer gains a `model` parameter (setParams/getParams) with a
generation guard so a model switch aborts and refetches exactly once. Registered
as an enabled+options layer with a `model` enum.

Validated end-to-end against the real 2026-09-14 06z IFS cycle on Node 25
(180x91 grid at 2°, 131,040-byte payload, plausible mean |u|/|v|), and GFS
still passes the same check.

Attribution: contains modified Copernicus/ECMWF IFS forecast data, licensed
under CC BY 4.0. Verified: npm test (3412 pass, 0 fail), check:boundaries.
2026-09-14 13:04:35 -03:00
Gustavo Beneduzi deb34ebe35 feat(wind): add keyless NOAA GFS wind layer with animated particles
Add a Wind layer animating the global 10 m wind field from NOAA GFS.

The /api/wind proxy selects the latest available 0.25° cycle, reads its .idx
inventory, byte-range fetches only the UGRD/VGRD 10 m GRIB2 messages (~1 MB
each instead of the whole ~500 MB file), decodes them with ecCodes (WASM),
resamples to a compact grid (1° default), and serves a manifest plus a Float32
U/V payload cached per cycle for an hour (single-flight, last-good on failure).

The client renders nullschool-style particles in a canvas overlay: bilinear
field sampling with longitude wrap, per-frame advection, Cesium camera
projection, and globe-occlusion culling via EllipsoidalOccluder.

Validated end-to-end against the real 2026-09-14 06z cycle on Node 25
(180x91 grid at 2°, 131,040-byte payload, plausible mean |u|/|v|). The WASM
decoder requires Node >=24, which the repo already requires.

Registered as `wind` (token k) with attribution and docs. Verified: npm test
(3412 pass, 0 fail), npm run check:boundaries.
2026-09-14 12:59:18 -03:00
Sameh Khamis 191edb7c5e Merge pull request #456 from bilawalsidhu/refactor/tool-project-root
refactor(tools): support an explicit project directory
2026-09-14 07:40:10 -07:00
Sameh Khamis 6d5478ffa9 refactor(tools): support an explicit project directory 2026-09-14 07:35:38 -07:00
Sameh Khamis 844c25212c Merge pull request #449 from bilawalsidhu/refactor/shared-application-components
refactor(app): compose shared components and configurable services
2026-09-13 22:45:37 -07:00
Sameh Khamis 97d70317bb test(launcher): resolve installed dependencies through the module graph 2026-09-13 22:42:27 -07:00
Sameh Khamis a67bc60a29 refactor(app): share application components and request services 2026-09-13 22:41:11 -07:00
Sameh Khamis a0a0128a59 Merge pull request #448 from bilawalsidhu/refactor/voice-backend-services
Separate voice controls and configurable Realtime connections
2026-09-13 22:04:34 -07:00
Sameh Khamis c488a18df1 fix: scope voice response parsing to its backend lifetime 2026-09-13 22:00:14 -07:00
Sameh Khamis 1a1cbadf5b refactor: separate voice controls and configurable Realtime connections 2026-09-13 21:54:51 -07:00
Sameh Khamis 0ba00f4662 Merge pull request #447 from bilawalsidhu/refactor/geospatial-services
Compose configurable geocoding, place search and route services
2026-09-13 21:39:04 -07:00
Sameh Khamis 8b36c28b06 refactor: compose configurable geocoding and route services 2026-09-13 21:23:13 -07:00
Sameh Khamis 3b91feffdc Merge pull request #434 from bilawalsidhu/refactor/alpr-camera-source
feat: add mapped ALPR cameras through a reusable source interface
2026-09-13 20:46:52 -07:00
Sameh Khamis bcba7c5c01 fix: use globe terrain when framing an ALPR camera 2026-09-13 20:42:48 -07:00
Sameh Khamis fe1aa3b6f6 fix: clarify nearby ALPR counts and help locate cameras 2026-09-13 20:35:38 -07:00
Sameh Khamis 7068ee7dc7 Merge current main into ALPR camera candidate 2026-09-13 20:08:54 -07:00
Sameh Khamis 9547658dc7 fix: keep ALPR camera markers stable during rotation 2026-09-13 20:04:38 -07:00
Bilawal Sidhu 41c416e329 docs(cctv): describe the ground-height data plainly (#443)
Follow-up to #433.
2026-09-13 21:54:29 -05:00
12790b36c6 feat(cctv): seven camera packs, semantic labels, terrain-clear monitor planes (#433)
Seven contributed CCTV camera packs (Ontario 511, Fintraffic Finland, DriveBC, TxDOT Texas, Estonia Tallinn + Tarktee, Warendorf, Live Traffic NSW) on a fair per-pack catalog cap; semantic camera labels; monitor planes lifted clear of the terrain from a precomputed, bundled ground-height dataset. Default catalog 800 → 3,446 cameras. Full context in PR #433.

Co-authored-by: sendmebits <[email protected]>
Co-authored-by: avocadoAgent <[email protected]>
Co-authored-by: Alex Harvey <[email protected]>
Co-authored-by: Jason Meredith <[email protected]>
Co-authored-by: Daniel Smith <[email protected]>
Co-authored-by: Vladimir Sobolev <[email protected]>
Co-authored-by: Matthias Schneider <[email protected]>
Co-authored-by: Cyber Knight <[email protected]>
Co-authored-by: NovaSoft Australia <[email protected]>
2026-09-13 21:48:33 -05:00
Sameh Khamis 277cd45154 test(tracking): keep the synthetic floor above refreshed contact altitude 2026-09-13 19:39:00 -07:00
Sameh Khamis 211eb70eed Merge remote-tracking branch 'origin/main' into refactor/alpr-camera-source
# Conflicts:
#	package.json
#	scripts/format-scope.json
#	scripts/package-boundaries.json
2026-09-13 19:21:57 -07:00