Skip to content

Gallery

Three runnable examples, one per producer archetype. Each lives under examples/ and writes a .czml you can open in any Cesium client — see viewing the output.

Run them from the repository root with the package installed:

python examples/leo_ground_track.py
python examples/geo.py
python examples/skyfield_tle.py      # needs Skyfield: pip install skyfield

The images below are rendered with Cesium ion world imagery.

LEO with ground track — from a GMAT ephemeris

The flagship interop case: a trajectory GMAT already computed, read from a CCSDS-OEM and converted with the ground track enabled.

A GMAT LEO ephemeris animated in Cesium with its ground track

from orbit_formats import read
from gmat_czml import to_czml

trajectory = read("examples/data/gmat-leo.oem")
to_czml(trajectory, ground_track=True).save("leo-ground-track.czml")

Source: examples/leo_ground_track.py.

A geostationary orbit — built in code

Not every producer is a file reader. This one builds a circular geostationary orbit directly as the canonical schema, proving the schema — not a GMAT file — is the real input contract.

A geostationary orbit rendered in Cesium

Source: examples/geo.py.

A non-GMAT producer — an ISS TLE via Skyfield

A TLE propagated by Skyfield — no GMAT anywhere — through the same one call, ground track included.

An ISS orbit and ground track in Cesium

Source: examples/skyfield_tle.py.

Rendering these images

The screenshots and GIF here are produced headlessly by scripts/render_gallery.py, which runs the examples, loads each output in the bundled viewer, and captures the frames. The committed images are what this site embeds, so building the docs never needs a browser.