本文へ移動

Chikyu Earth地球

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

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

目次

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

satelliteAt関数

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

Where one satellite is in the sky over a place at one moment, and what the light is like: its direction and height, its distance, whether the Sun lights it, how high the Sun is, and how bright it looks.

インポート

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

定義

function satelliteAt(set: ElementSet, observer: Observer, ms: number, options?: Pick<PassOptions, "magnitudes">): (PassPoint & { sunlit: boolean; sunAltitude: number; magnitude: number | undefined; }) | undefined

引数

名前型説明
setElementSet

The satellite's elements.

observerObserver

Where the watcher stands.

msnumber

The moment, milliseconds since the Unix epoch.

options (省略可)Pick<PassOptions, "magnitudes">

magnitudes for your own standard magnitudes (the ISS, Tianhe and Hubble are known).

戻り値

(PassPoint & { sunlit: boolean; sunAltitude: number; magnitude: number | undefined; }) | undefined

Its place in the sky (altitude below 0 means below the horizon), sunlit, the Sun's altitude and the magnitude (undefined when it is in shadow or its standard magnitude is not known); undefined where SGP4 gives no place.

例

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

const iss = {
  OBJECT_NAME: "ISS (ZARYA)",
  EPOCH: "2026-11-02T10:25:21.580320",
  MEAN_MOTION: 15.49150046,
  ECCENTRICITY: 0.0007139,
  INCLINATION: 51.6332,
  RA_OF_ASC_NODE: 335.9757,
  ARG_OF_PERICENTER: 339.3739,
  MEAN_ANOMALY: 20.6961,
  NORAD_CAT_ID: 25544,
  BSTAR: 0.00012,
  MEAN_MOTION_DOT: 0.0001,
  MEAN_MOTION_DDOT: 0,
};
const where = satelliteAt(iss, { latitude: 51.5, longitude: -0.13 }, Date.UTC(2026, 10, 3, 12));
console.log(where?.compass, where?.altitude.toFixed(0));
WSW -38

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

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

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