本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · 人工衛星: 軌道要素から位置を計算

Mission型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

One Space Shuttle flight, with the facts NASA's mission page gives (public domain; the pages and the day they were read are in NOTICE.md).

インポート

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

定義

interface Mission {
    id: string;
    name: string;
    orbiter: Orbiter;
    launch: string;
    landing: string | null;
    crew: number;
    payload: string;
    payloadJa: string;
    noradId: number | null;
    hubble?: HubbleVisit;
    url: string;
}

メンバー

名前型説明
idstring

A short name for an address, lower case: sts-31, sts-41b.

namestring

The flight's name as NASA writes it without the dash in the middle: STS-31, STS-41B.

orbiterOrbiter
launchstring

The liftoff, ISO 8601 in UTC (1990-04-24T12:33:51Z).

landingstring | null

The landing, in the same form; null for STS-51-L, which broke up 73 seconds after liftoff.

crewnumber

The number of people NASA's page lists for the flight.

payloadstring

The main payload or job, in a few words.

payloadJastring
noradIdnumber | null

The NORAD catalogue number the flight's craft was given while in orbit (what Space-Track's element sets are filed under); null when it was given none.

hubble (省略可)HubbleVisit | undefined

Set on the flights that deployed or serviced the Hubble Space Telescope (catalogue number 20580), which the flight's element file holds too.

urlstring

NASA's page for the flight.

例

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

const flight = missionOf("STS-31");
console.log(flight?.orbiter, flight?.launch, flight?.crew, flight?.payload);
Discovery 1990-04-24T12:33:51Z 5 Hubble Space Telescope deployed

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。