本文へ移動

Chikyu Earth地球

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

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

目次

リファレンス · 通過: 衛星が場所の空を通る時刻

SatellitePass型

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

One pass of a satellite over a place: it comes up through minAltitude, reaches its highest and goes down below minAltitude, with whether and how it can be seen. Times are UTC milliseconds; show them in the place's own time by adding its offset.

インポート

import type { SatellitePass } from "@johnmorrisdotca/chikyu-earth/passes";

定義

interface SatellitePass {
    noradId: number;
    name: string;
    start: PassPoint;
    highest: PassPoint;
    end: PassPoint;
    durationSeconds: number;
    visible: VisiblePart | undefined;
    reason: PassReason;
    sky: SkyName;
    sunAltitude: number;
    sunlit: boolean;
    magnitude: number | undefined;
    elementEpochMs: number;
    elementAgeDays: number;
    stale: boolean;
}

メンバー

名前型説明
noradIdnumber
namestring
startPassPoint

The pass above minAltitude, lit or not.

highestPassPoint
endPassPoint
durationSecondsnumber
visibleVisiblePart | undefined

The part that can be seen, or undefined when none can.

reasonPassReason

visible, or why not.

skySkyName

The sky at the watcher's place, at the highest point of the visible part (or of the pass when none is visible).

sunAltitudenumber

The Sun's altitude then, degrees.

sunlitboolean

True when the satellite is in sunlight for at least part of the pass above minAltitude.

magnitudenumber | undefined

The brightest it is, as a magnitude (smaller is brighter), over the visible part or, when none is visible, over the part that is lit. Undefined when it is never lit or its standard magnitude is not known.

elementEpochMsnumber

The moment of the elements, milliseconds since the Unix epoch.

elementAgeDaysnumber

Days between the elements' moment and the pass's highest point (negative for a pass before it).

staleboolean

True when the elements are older than DEFAULT_DIM_AFTER_DAYS at the pass: its times are less sure.

例

import type { SatellitePass } from "@johnmorrisdotca/chikyu-earth/passes";

const line = (pass: SatellitePass): string => `${pass.name}: ${pass.highest.altitude.toFixed(0)} degrees ${pass.highest.compass}, ${pass.reason}`;
console.log(typeof line);
function

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

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

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