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 · The Earth-orbit catalogue: orbit class, object kind, colours, fleets and the packed file format (no data)

readKindfunction

The kind a source's object type means: Space-Track says PAYLOAD, ROCKET BODY, DEBRIS or TBA, other lists say PAY, R/B, DEB or UNK; any other word, or none, is UNK.

Import it

import { readKind } from "@johnmorrisdotca/chikyu-earth/catalogue";

Definition

function readKind(value: string | null | undefined): ObjectKind

Parameters

NameTypeDescription
valuestring | null | undefined

The source's object type, in any case.

Returns

ObjectKind

The kind.

Examples

import { readKind } from "@johnmorrisdotca/chikyu-earth/catalogue";

console.log(readKind("PAYLOAD"), readKind("R/B"), readKind("debris"), readKind("TBA"), readKind(undefined));
PAY RB DEB UNK UNK

What it prints (run when this page was built)

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