Reference · Satellites: orbital elements in, positions out
SatelliteGroupInfotype
A group of satellites the demo offers as one button: what it is, in English and Japanese, and where its elements come from (a CelesTrak list name, or single catalogue numbers).
Import it
import type { SatelliteGroupInfo } from "@johnmorrisdotca/chikyu-earth/satellites";
Definition
interface SatelliteGroupInfo {
id: string;
label: string;
labelJa: string;
about: string;
aboutJa: string;
orbit: OrbitKind;
still: boolean;
celestrak?: string;
catnr?: readonly number[];
}
Members
| Name | Type | Description |
|---|---|---|
id | string | A short name for an address or a button, lower case with hyphens. |
label | string | |
labelJa | string | |
about | string | A line on what the group is. |
aboutJa | string | |
orbit | OrbitKind | |
still | boolean | True when the satellites of this group sit still over one place (geostationary), so a reader is not surprised that they do not move. |
celestrak (optional) | string | undefined | The name of the CelesTrak list ( |
catnr (optional) | readonly number[] | undefined | Single NORAD catalogue numbers to ask for one by one, when the group has no list of its own. |
Examples
import { SATELLITE_GROUPS } from "@johnmorrisdotca/chikyu-earth/satellites";
const gps = SATELLITE_GROUPS.find((group) => group.id === "gps");
console.log(gps?.celestrak, gps?.orbit);gps-ops meoWhat it prints (run when this page was built)