Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

Reference · Satellites: orbital elements in, positions out

missionElementsfunction

The element sets in a mission's file, as missionPosition and createSatellites take them, by NORAD catalogue number.

Import it

import { missionElements } from "@johnmorrisdotca/chikyu-earth/satellites";

Definition

function missionElements(file: MissionFile): Record<number, ElementSet[]>

Parameters

NameTypeDescription
fileMissionFile

A mission's file from the demo site (missions/<id>.json).

Returns

Record<number, ElementSet[]>

The sets of each craft, in time order.

Examples

import { missionElements } from "@johnmorrisdotca/chikyu-earth/satellites";

const sets = missionElements({
  id: "sts-1",
  retrieved: "2026-11-08T12:18Z",
  source: "Space-Track.org (USSPACECOM)",
  fields: ["EPOCH", "MEAN_MOTION", "ECCENTRICITY", "INCLINATION", "RA_OF_ASC_NODE", "ARG_OF_PERICENTER", "MEAN_ANOMALY", "BSTAR", "MEAN_MOTION_DOT", "MEAN_MOTION_DDOT"],
  objects: { "12399": { name: "STS 1 (OFT-1)", designator: "1981-034A", rows: [["1981-04-12T11:53:25.728288", 16.10930225, 0.0008761, 40.3505, 262.129, 212.5283, 147.5016, 0.002351, 0.02496602, 0.0000043266]] } },
});
console.log(sets[12399]?.length);
1

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.51.1.