本文へ移動

Wakusei Planets惑星

太陽・惑星・衛星を、線画、陰影つきの絵、表面の地図で描きます。実際の大きさ・傾き・自転つきで、任意の日時の衛星の位置も分かります。

「惑星」(わくせい) は、太陽のまわりを回る大きな星のことです。 名前について(英語)

目次

リファレンス · 有名な探査機10機 (ボイジャー、ニュー・ホライズンズ、パイオニア、カッシーニ、ガリレオ、ジュノー、パーカー、ウェッブ): 情報、出来事、打ち上げから記録の終わりまでの任意の日の位置

SpacecraftFacts型

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

Facts about one craft.

インポート

import type { SpacecraftFacts } from "@johnmorrisdotca/wakusei-planets/spacecraft";

定義

interface SpacecraftFacts {
    id: SpacecraftId;
    name: {
        en: string;
        ja: string;
    };
    agency: string;
    launch: {
        date: number;
        precision: "minute" | "day";
        site: {
            en: string;
            ja: string;
        };
        vehicle: string;
    };
    end: number | undefined;
    status: "active" | "ended";
    url: string;
    horizons: string;
    record: {
        start: number;
        end: number;
    };
    joins: readonly {
        date: number;
        km: number;
    }[];
    events: readonly SpacecraftEvent[];
}

メンバー

名前型説明
id"voyager1" | "voyager2" | "newhorizons" | "pioneer10" | "pioneer11" | "cassini" | "galileo" | "juno" | "parker" | "webb"
name{ en: string; ja: string; }

The craft's name in English and Japanese.

agencystring

The agency or agencies.

launch{ date: number; precision: "minute" | "day"; site: { en: string; ja: string; }; vehicle: string; }

The launch: when, from where and on what.

endnumber | undefined

The end of the mission (the last signal, or the planned plunge), in milliseconds since 1970 (UTC), or undefined while it goes on.

status"ended" | "active"

"active" while NASA's page lists the mission as active, else "ended".

urlstring

NASA's page for the mission.

horizonsstring

The craft's number in JPL Horizons.

record{ start: number; end: number; }

The span of Horizons' record of the craft, in milliseconds since 1970 (UTC), which is the span spacecraftPosition answers for. The record begins about an hour after the launch; for a craft still flying, its end is Horizons' predicted path.

joinsreadonly { date: number; km: number; }[]

Places where Horizons' record steps by more than the fit's error because two solutions meet there: at date (milliseconds since 1970, UTC) the position jumps by km kilometres, and a line drawn through the path should break. Empty where the record is smooth.

eventsreadonly SpacecraftEvent[]

The voyage, in order.

例

import { SPACECRAFT, type SpacecraftFacts } from "@johnmorrisdotca/wakusei-planets/spacecraft";

const cassini: SpacecraftFacts = SPACECRAFT.cassini;
console.log(cassini.name.ja, cassini.agency, cassini.status);
カッシーニ NASA, ESA, ASI ended

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

ソースを見るGitHub で編集@johnmorrisdotca/wakusei-planets 0.24.0 のソースから作成しました。

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