Reference · Satellites: orbital elements in, positions out
ElementFormattype
The text formats parseElements reads: CCSDS OMM as JSON (what CelesTrak's FORMAT=json and Space-Track's JSON serve), the same as CSV (CelesTrak's default), and two- or three-line TLE text.
Import it
import type { ElementFormat } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
type ElementFormat = "omm-json" | "omm-csv" | "tle";
Examples
import type { ElementFormat } from "@johnmorrisdotca/chikyu-earth/satellites";
const format: ElementFormat = "tle";
console.log(format);tleWhat it prints (run when this page was built)