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

CatalogueRowtype

One plain row a page can index, for its own search box. No DOM: a group or a satellite, with both languages on every row.

Import it

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

Definition

interface CatalogueRow {
    kind: "satellite" | "group";
    id: string;
    noradId?: number;
    names: {
        en: string;
        ja: string;
        reading?: string;
    };
    group?: string;
    orbit: OrbitKind;
    aka?: readonly string[];
}

Members

NameTypeDescription
kind"group" | "satellite"

group for a button's group, satellite for one named satellite.

idstring

The group's id, or the satellite's NORAD number as a string.

noradId (optional)number | undefined

The NORAD catalogue number. Only a satellite has one.

names{ en: string; ja: string; reading?: string; }

Names in both languages. ja is the short Japanese name where SHORT_NAMES has one, and otherwise the English name: a name such as Sentinel-2A is written the same way in Japanese. reading is hiragana for a Japanese name that is not already kana.

group (optional)string | undefined

The group's id. Only a satellite has one.

orbitOrbitKind
aka (optional)readonly string[] | undefined

Other names already written in the catalogue, such as HST for Hubble. Absent when there are none.

Examples

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

const row: CatalogueRow = { kind: "group", id: "weather", names: { en: "Weather", ja: "気象衛星" }, orbit: "mixed" };
console.log(row.names.ja);
気象衛星

What it prints (run when this page was built)

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