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

ElementSourcetype

Element sets read from a source: where from, when, and whether this answer was kept from earlier rather than asked for now.

Import it

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

Definition

interface ElementSource extends ParsedElements {
    url: string;
    retrievedAt: number;
    fromCache: boolean;
}

Members

NameTypeDescription
urlstring
retrievedAtnumber

When the source was asked, in milliseconds since the Unix epoch.

fromCacheboolean
formatElementFormat
setsElementSet[]
skipped{ name: string; reason: string; }[]

Examples

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

const describe = (source: ElementSource): string => `${source.sets.length} from ${source.url}, ${source.fromCache ? "kept" : "new"}`;
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.51.1.