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

SatelliteInfotype

What a page can tell a reader about one satellite at a moment: its name, its number, how old its elements are, how high and how fast it is.

Import it

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

Definition

interface SatelliteInfo {
    index: number;
    name: string;
    noradId: number;
    objectId: string | undefined;
    epochMs: number;
    ageDays: number;
    altitudeKm: number;
    speedKmS: number;
    periodMinutes: number;
    inclinationDeg: number;
}

Members

NameTypeDescription
indexnumber

Where it is in its group.

namestring
noradIdnumber

The NORAD catalogue number.

objectIdstring | undefined

The international designator (for example 1998-067A), when the elements carry one.

epochMsnumber

The moment of its elements, in milliseconds since the Unix epoch.

ageDaysnumber

Days between the elements' moment and the moment asked about (negative before it).

altitudeKmnumber

Height above the mean Earth radius (6371 km) at that moment.

speedKmSnumber

Speed against the stars, kilometres a second.

periodMinutesnumber

One revolution, minutes.

inclinationDegnumber

Degrees.

Examples

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

const describe = (info: SatelliteInfo): string => `${info.name}: ${info.altitudeKm.toFixed(0)} km up, ${info.speedKmS.toFixed(2)} km/s`;
console.log(typeof describe);
function

What it prints (run when this page was built)

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