Skip to content

Move ground-track maps into the Cesium Study pane - #74

Open
darthvader58 wants to merge 1 commit into
code-lab-org:mainfrom
darthvader58:feat/cesium-ground-track
Open

darthvader58 wants to merge 1 commit into
code-lab-org:mainfrom
darthvader58:feat/cesium-ground-track

Conversation

@darthvader58

@darthvader58 darthvader58 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Ground-track map requests now return the existing Cesium Study-pane launcher instead of inline MapLibre HTML and a static Cartopy image. The map starts in 2D and supports 3D playback, sampled-position tables, CSV export and parameter reruns through the same pane.

Satellite-only requests show the orbit/ground-track line without the old assumed 60-degree footprint. An optional explicit basic, pointed or conical instrument enables native TAT-C compute_ground_track: valid sampled footprints are dissolved across the window or kept in separate orbit groups. The pane draws the polygons with holes and multipart boundaries intact, offers an area-layer toggle and GeoJSON export, and preserves instrument/dissolve settings when rerunning. Numerical generate_ground_track behavior and the 30-day/2,000-sample limits are unchanged.

These are dissolved sampled viewable geometries, not continuous coverage or executed observations. TAT-C checks validity at footprint centers. The full-window area layer is independent of the playback clock. Exports include the instrument parameters, orbital-element epoch, window, sampling and calculation source.

This PR targets main independently of #72. A small stacked follow-up addresses the separately reproduced polar-cap triangulation failure; do not merge this migration until that follow-up is incorporated. #72 supplies collect_ground_track instantaneous footprints and trails; this PR supplies compute_ground_track dissolved geometry and migrates the old map delivery.

Closes #70

Validation:

  • Python 3.12 full suite: 565 tests passed; the focused native-geometry suite has 14 passing cases.
  • UI: 36 tests passed, including holes, layer visibility, exact GeoJSON export and preserved draft inputs.
  • Native-reference comparisons cover basic, pointed and conical sensors, whole-window and per-orbit dissolves, stale epochs, missing/invalid sensor geometry and empty results.
  • Real browser/WebGL: line-only scene, native dissolved MultiPolygon, 2D/3D switching, area-layer toggle and GeoJSON download verified.
  • git diff --check passed.
  • Required model eval and --compare completed: 22% versus 19% in the preceding run; streaming probe passed. Recorded CelesTrak responses still hit the replay/cache streaming incompatibility (Response.raw is None), followed by cooldown errors, so these scores do not establish a clean model-behavior baseline. Keep draft pending a successful comparison.

Polar follow-up: darthvader58#1, based on this PR's branch, resolves upstream issue #73 with a separate ~400-line diff. It is hosted in the fork because upstream only grants read access. A maintainer can recreate the small PR against an upstream migration base branch; keep the review units separate.

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.

Move ground-track maps from inline MapLibre to the Cesium Study pane

1 participant