@johnmorrisdotca/wakusei-planets 0.34.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/NOTICE.md +64 -0
- package/README.md +21 -3
- package/dist/approaches.d.ts +276 -0
- package/dist/approaches.js +255 -0
- package/dist/asteroids.d.ts +397 -0
- package/dist/asteroids.js +338 -0
- package/dist/comets.d.ts +316 -0
- package/dist/comets.js +404 -0
- package/dist/craft/bepicolombo.d.ts +1 -0
- package/dist/craft/bepicolombo.js +923 -0
- package/dist/craft/europaclipper.d.ts +1 -0
- package/dist/craft/europaclipper.js +342 -0
- package/dist/craft/hayabusa2.d.ts +1 -0
- package/dist/craft/hayabusa2.js +73 -0
- package/dist/craft/juice.d.ts +1 -0
- package/dist/craft/juice.js +40 -0
- package/dist/craft/lucy.d.ts +1 -0
- package/dist/craft/lucy.js +42 -0
- package/dist/craft/osirisapex.d.ts +1 -0
- package/dist/craft/osirisapex.js +69 -0
- package/dist/craft/psyche.d.ts +1 -0
- package/dist/craft/psyche.js +30 -0
- package/dist/craft/solarorbiter.d.ts +1 -0
- package/dist/craft/solarorbiter.js +94 -0
- package/dist/data/approaches.d.ts +17 -0
- package/dist/data/approaches.js +4192 -0
- package/dist/data/asteroids.d.ts +3 -0
- package/dist/data/asteroids.js +107 -0
- package/dist/data/comets.d.ts +2 -0
- package/dist/data/comets.js +36 -0
- package/dist/data/orbiters.d.ts +368 -0
- package/dist/data/orbiters.js +370 -0
- package/dist/data/places-67p.d.ts +27 -0
- package/dist/data/places-67p.js +2 -0
- package/dist/data/places-ariel.d.ts +602 -0
- package/dist/data/places-ariel.js +27 -0
- package/dist/data/places-bennu.d.ts +25 -0
- package/dist/data/places-bennu.js +2 -0
- package/dist/data/places-callisto.d.ts +3547 -0
- package/dist/data/places-callisto.js +155 -0
- package/dist/data/places-ceres.d.ts +3436 -0
- package/dist/data/places-ceres.js +150 -0
- package/dist/data/places-charon.d.ts +349 -0
- package/dist/data/places-charon.js +16 -0
- package/dist/data/places-dimorphos.d.ts +23 -0
- package/dist/data/places-dimorphos.js +2 -0
- package/dist/data/places-dione.d.ts +2258 -0
- package/dist/data/places-dione.js +99 -0
- package/dist/data/places-enceladus.d.ts +2009 -0
- package/dist/data/places-enceladus.js +88 -0
- package/dist/data/places-eros.d.ts +26 -0
- package/dist/data/places-eros.js +2 -0
- package/dist/data/places-europa.d.ts +2977 -0
- package/dist/data/places-europa.js +130 -0
- package/dist/data/places-ganymede.d.ts +4518 -0
- package/dist/data/places-ganymede.js +197 -0
- package/dist/data/places-iapetus.d.ts +1616 -0
- package/dist/data/places-iapetus.js +71 -0
- package/dist/data/places-io.d.ts +6012 -0
- package/dist/data/places-io.js +262 -0
- package/dist/data/places-jupiter.d.ts +46 -0
- package/dist/data/places-jupiter.js +3 -0
- package/dist/data/places-mars.d.ts +20701 -0
- package/dist/data/places-mars.js +942 -0
- package/dist/data/places-mercury.d.ts +9256 -0
- package/dist/data/places-mercury.js +403 -0
- package/dist/data/places-mimas.d.ts +968 -0
- package/dist/data/places-mimas.js +43 -0
- package/dist/data/places-miranda.d.ts +419 -0
- package/dist/data/places-miranda.js +19 -0
- package/dist/data/places-moon.d.ts +18849 -0
- package/dist/data/places-moon.js +861 -0
- package/dist/data/places-oberon.d.ts +235 -0
- package/dist/data/places-oberon.js +11 -0
- package/dist/data/places-pluto.d.ts +1687 -0
- package/dist/data/places-pluto.js +74 -0
- package/dist/data/places-rhea.d.ts +3317 -0
- package/dist/data/places-rhea.js +145 -0
- package/dist/data/places-ryugu.d.ts +87 -0
- package/dist/data/places-ryugu.js +5 -0
- package/dist/data/places-saturn.d.ts +25 -0
- package/dist/data/places-saturn.js +2 -0
- package/dist/data/places-tempel-1.d.ts +25 -0
- package/dist/data/places-tempel-1.js +2 -0
- package/dist/data/places-tethys.d.ts +1222 -0
- package/dist/data/places-tethys.js +54 -0
- package/dist/data/places-titan.d.ts +7031 -0
- package/dist/data/places-titan.js +306 -0
- package/dist/data/places-titania.d.ts +418 -0
- package/dist/data/places-titania.js +19 -0
- package/dist/data/places-triton.d.ts +1457 -0
- package/dist/data/places-triton.js +64 -0
- package/dist/data/places-umbriel.d.ts +303 -0
- package/dist/data/places-umbriel.js +14 -0
- package/dist/data/places-venus.d.ts +9290 -0
- package/dist/data/places-venus.js +405 -0
- package/dist/data/places-vesta.d.ts +2444 -0
- package/dist/data/places-vesta.js +107 -0
- package/dist/data/roadster.d.ts +8 -0
- package/dist/data/roadster.js +686 -0
- package/dist/element.js +17 -3
- package/dist/orbiter-facts.d.ts +480 -0
- package/dist/orbiter-facts.js +189 -0
- package/dist/orbiters.d.ts +256 -0
- package/dist/orbiters.js +275 -0
- package/dist/places/67p.d.ts +13 -0
- package/dist/places/67p.js +14 -0
- package/dist/places/ariel.d.ts +13 -0
- package/dist/places/ariel.js +14 -0
- package/dist/places/bennu.d.ts +13 -0
- package/dist/places/bennu.js +14 -0
- package/dist/places/callisto.d.ts +13 -0
- package/dist/places/callisto.js +14 -0
- package/dist/places/ceres.d.ts +13 -0
- package/dist/places/ceres.js +14 -0
- package/dist/places/charon.d.ts +13 -0
- package/dist/places/charon.js +14 -0
- package/dist/places/dimorphos.d.ts +13 -0
- package/dist/places/dimorphos.js +14 -0
- package/dist/places/dione.d.ts +13 -0
- package/dist/places/dione.js +14 -0
- package/dist/places/enceladus.d.ts +13 -0
- package/dist/places/enceladus.js +14 -0
- package/dist/places/eros.d.ts +13 -0
- package/dist/places/eros.js +14 -0
- package/dist/places/europa.d.ts +13 -0
- package/dist/places/europa.js +14 -0
- package/dist/places/ganymede.d.ts +13 -0
- package/dist/places/ganymede.js +14 -0
- package/dist/places/iapetus.d.ts +13 -0
- package/dist/places/iapetus.js +14 -0
- package/dist/places/io.d.ts +13 -0
- package/dist/places/io.js +14 -0
- package/dist/places/jupiter.d.ts +13 -0
- package/dist/places/jupiter.js +14 -0
- package/dist/places/mars.d.ts +12 -0
- package/dist/places/mars.js +13 -0
- package/dist/places/mercury.d.ts +13 -0
- package/dist/places/mercury.js +14 -0
- package/dist/places/mimas.d.ts +13 -0
- package/dist/places/mimas.js +14 -0
- package/dist/places/miranda.d.ts +13 -0
- package/dist/places/miranda.js +14 -0
- package/dist/places/moon.d.ts +12 -0
- package/dist/places/moon.js +13 -0
- package/dist/places/oberon.d.ts +13 -0
- package/dist/places/oberon.js +14 -0
- package/dist/places/pluto.d.ts +13 -0
- package/dist/places/pluto.js +14 -0
- package/dist/places/rhea.d.ts +13 -0
- package/dist/places/rhea.js +14 -0
- package/dist/places/ryugu.d.ts +13 -0
- package/dist/places/ryugu.js +14 -0
- package/dist/places/saturn.d.ts +13 -0
- package/dist/places/saturn.js +14 -0
- package/dist/places/tempel-1.d.ts +13 -0
- package/dist/places/tempel-1.js +14 -0
- package/dist/places/tethys.d.ts +13 -0
- package/dist/places/tethys.js +14 -0
- package/dist/places/titan.d.ts +13 -0
- package/dist/places/titan.js +14 -0
- package/dist/places/titania.d.ts +13 -0
- package/dist/places/titania.js +14 -0
- package/dist/places/triton.d.ts +13 -0
- package/dist/places/triton.js +14 -0
- package/dist/places/umbriel.d.ts +13 -0
- package/dist/places/umbriel.js +14 -0
- package/dist/places/venus.d.ts +13 -0
- package/dist/places/venus.js +14 -0
- package/dist/places/vesta.d.ts +13 -0
- package/dist/places/vesta.js +14 -0
- package/dist/places.d.ts +354 -0
- package/dist/places.js +357 -0
- package/dist/plan/element.d.ts +52 -0
- package/dist/plan/element.js +258 -0
- package/dist/plan/index.d.ts +2 -0
- package/dist/plan/index.js +2 -0
- package/dist/plan/layout.d.ts +230 -0
- package/dist/plan/layout.js +229 -0
- package/dist/plan/svg.d.ts +125 -0
- package/dist/plan/svg.js +185 -0
- package/dist/roadster.d.ts +415 -0
- package/dist/roadster.js +496 -0
- package/dist/scene/body.js +10 -9
- package/dist/scene/painter.d.ts +1 -1
- package/dist/scene/painter.js +23 -7
- package/dist/scene/textures.d.ts +2 -2
- package/dist/space/beside.d.ts +4 -1
- package/dist/space/beside.js +47 -6
- package/dist/space/covered.d.ts +102 -0
- package/dist/space/covered.js +98 -0
- package/dist/space/element.d.ts +101 -5
- package/dist/space/element.js +474 -30
- package/dist/space/frame.d.ts +14 -0
- package/dist/space/frame.js +16 -0
- package/dist/space/index.d.ts +4 -1
- package/dist/space/index.js +4 -1
- package/dist/space/regions.d.ts +111 -0
- package/dist/space/regions.js +84 -0
- package/dist/space/scale.d.ts +2 -1
- package/dist/space/scale.js +13 -2
- package/dist/space/scene.d.ts +109 -8
- package/dist/space/scene.js +313 -37
- package/dist/space/travel.d.ts +256 -0
- package/dist/space/travel.js +597 -0
- package/dist/spacecraft-facts.d.ts +4 -4
- package/dist/spacecraft-facts.js +158 -3
- package/dist/spacecraft.d.ts +69 -2
- package/dist/spacecraft.js +45 -2
- package/dist/textures/mimas-1024.webp +0 -0
- package/dist/textures/mimas-512.webp +0 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +208 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
// What is known about each orbiter: names, operator, launch, instruments, a line about it in our own words, and the state of its mission. Every fact is typed from the craft's own
|
|
2
|
+
// JPL Horizons object page as a plain fact, in our own words, read 2026-11-11 by scripts/make-orbiter-data.py (NOTICE.md names the pages and the agency that supplies each trajectory); a fact the page does not give is left out, never guessed.
|
|
3
|
+
// The Japanese names and lines are ours.
|
|
4
|
+
/**
|
|
5
|
+
* The orbiters' facts by id.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { ORBITER_FACTS } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
10
|
+
*
|
|
11
|
+
* console.log(Object.keys(ORBITER_FACTS).length, "orbiters;", ORBITER_FACTS.danuri.operator);
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export const ORBITER_FACTS = {
|
|
15
|
+
lro: {
|
|
16
|
+
name: { en: "Lunar Reconnaissance Orbiter", ja: "ルナー・リコネサンス・オービター" },
|
|
17
|
+
centre: "moon",
|
|
18
|
+
operator: "NASA (Goddard Space Flight Center)",
|
|
19
|
+
launch: { date: "2009-06-18T09:32Z", vehicle: "Atlas V", site: "Cape Canaveral, launch complex 41" },
|
|
20
|
+
instruments: [
|
|
21
|
+
{ name: "Cosmic Ray Telescope for the Effects of Radiation", short: "CRaTER" },
|
|
22
|
+
{ name: "Diviner Lunar Radiometer Experiment", short: "DLRE" },
|
|
23
|
+
{ name: "Lyman Alpha Mapping Project", short: "LAMP" },
|
|
24
|
+
{ name: "Lunar Exploration Neutron Detector", short: "LEND" },
|
|
25
|
+
{ name: "Lunar Orbiter Laser Altimeter", short: "LOLA" },
|
|
26
|
+
{ name: "Lunar Reconnaissance Orbiter Camera", short: "LROC" },
|
|
27
|
+
{ name: "Mini-RF Technology Demonstration", short: "Mini-RF" },
|
|
28
|
+
],
|
|
29
|
+
about: { en: "NASA's mapping orbiter since 2009: a global geodetic grid, day and night temperatures, high-resolution pictures and the hunt for water at the poles, now in a low-maintenance orbit as a relay and south-pole observer.", ja: "2009年から月の地図づくりを続けるNASAの周回機です。全球の測地グリッド、昼夜の温度、高解像度の画像を作り、極の水を探してきました。いまは手のかからない軌道で、中継と南極の観測を続けています。" },
|
|
30
|
+
status: { state: "flying" },
|
|
31
|
+
horizonsId: -85,
|
|
32
|
+
},
|
|
33
|
+
"chandrayaan-2": {
|
|
34
|
+
name: { en: "Chandrayaan-2 orbiter", ja: "チャンドラヤーン2号 オービター" },
|
|
35
|
+
centre: "moon",
|
|
36
|
+
operator: "ISRO",
|
|
37
|
+
launch: { date: "2019-07-22T09:13Z", vehicle: "GSLV Mk III", site: "Satish Dhawan Space Centre, Sriharikota" },
|
|
38
|
+
instruments: [],
|
|
39
|
+
about: { en: "India's lunar orbiter: it carried the Vikram lander and Pragyan rover, which were lost on landing in 2019, and goes on in a near-circular polar orbit about 100 km up, studying the surface, the exosphere and signs of water ice.", ja: "インドの月周回機。2019年の着陸で失われたヴィクラム着陸機とプラギャン探査車を運び、いまは高度約100 kmのほぼ円形の極軌道で、表面、外気圏、水氷の兆候を調べています。" },
|
|
40
|
+
status: { state: "flying" },
|
|
41
|
+
horizonsId: -152,
|
|
42
|
+
},
|
|
43
|
+
danuri: {
|
|
44
|
+
name: { en: "Danuri (KPLO)", ja: "ダヌリ (KPLO)" },
|
|
45
|
+
centre: "moon",
|
|
46
|
+
operator: "KARI (Korea Aerospace Research Institute)",
|
|
47
|
+
launch: { date: "2022-08-04T23:08Z", vehicle: "Falcon 9 Block 5", site: "Cape Canaveral, SLC-40" },
|
|
48
|
+
instruments: [
|
|
49
|
+
{ name: "Lunar Terrain Imager", short: "LUTI" },
|
|
50
|
+
{ name: "Wide-Angle Polarimetric Camera", short: "PolCam" },
|
|
51
|
+
{ name: "KPLO Magnetometer", short: "KMAG" },
|
|
52
|
+
{ name: "KPLO Gamma Ray Spectrometer", short: "KGRS" },
|
|
53
|
+
{ name: "Disruption Tolerant Network experiment", short: "DTNPL" },
|
|
54
|
+
{ name: "ShadowCam (NASA)", short: "ShadowCam" },
|
|
55
|
+
],
|
|
56
|
+
about: { en: "South Korea's first lunar mission: it reached the Moon by a ballistic transfer in December 2022 and images landing sites, maps minerals and the magnetic field, and looks into the permanently shadowed craters with NASA's ShadowCam.", ja: "韓国初の月探査機。2022年12月に弾道月遷移軌道で月に着き、着陸地点の撮影、鉱物と磁場の地図づくり、NASAのShadowCamによる永久影のクレーターの観測をしています。" },
|
|
57
|
+
status: { state: "flying" },
|
|
58
|
+
horizonsId: -155,
|
|
59
|
+
},
|
|
60
|
+
"artemis-p1": {
|
|
61
|
+
name: { en: "ARTEMIS P1", ja: "ARTEMIS P1" },
|
|
62
|
+
centre: "moon",
|
|
63
|
+
operator: "NASA (University of California, Berkeley)",
|
|
64
|
+
launch: { date: "2007-02-17T23:01Z", vehicle: "Delta II 7925-10C", site: "Cape Canaveral" },
|
|
65
|
+
instruments: [
|
|
66
|
+
{ name: "Fluxgate Magnetometer", short: "FGM" },
|
|
67
|
+
{ name: "Electrostatic Analyzer", short: "ESA" },
|
|
68
|
+
{ name: "Solid-State Telescope", short: "SST" },
|
|
69
|
+
{ name: "Search Coil Magnetometer", short: "SCM" },
|
|
70
|
+
{ name: "Electric Field Instrument", short: "EFI" },
|
|
71
|
+
],
|
|
72
|
+
about: { en: "One of the five THEMIS satellites, sent on from Earth orbit in 2009 and the first craft to orbit an Earth-Moon Lagrange point; since 2011 it circles the Moon on a long, lopsided orbit (about 100 by 19,000 km, 26 hours) studying the solar wind and the lunar wake.", ja: "THEMIS衛星5機のうちの1機。2009年に地球軌道から送り出され、地球と月のラグランジュ点を初めて周回した探査機です。2011年からは細長い月周回軌道 (約100 × 19,000 km、26時間) で太陽風と月の後流を調べています。" },
|
|
73
|
+
status: { state: "flying" },
|
|
74
|
+
horizonsId: -192,
|
|
75
|
+
},
|
|
76
|
+
"artemis-p2": {
|
|
77
|
+
name: { en: "ARTEMIS P2", ja: "ARTEMIS P2" },
|
|
78
|
+
centre: "moon",
|
|
79
|
+
operator: "NASA (University of California, Berkeley)",
|
|
80
|
+
launch: { date: "2007-02-17T23:01Z", vehicle: "Delta II 7925-10C", site: "Cape Canaveral" },
|
|
81
|
+
instruments: [
|
|
82
|
+
{ name: "Fluxgate Magnetometer", short: "FGM" },
|
|
83
|
+
{ name: "Electrostatic Analyzer", short: "ESA" },
|
|
84
|
+
{ name: "Solid-State Telescope", short: "SST" },
|
|
85
|
+
{ name: "Search Coil Magnetometer", short: "SCM" },
|
|
86
|
+
{ name: "Electric Field Instrument", short: "EFI" },
|
|
87
|
+
],
|
|
88
|
+
about: { en: "ARTEMIS P1's twin, the first craft to orbit the Earth-Moon L1 point; in a long lunar orbit since July 2011, measuring particles and fields where the Moon meets the solar wind.", ja: "ARTEMIS P1の双子機で、地球と月のL1点を初めて周回しました。2011年7月から細長い月周回軌道で、月が太陽風と出会う場所の粒子と電磁場を測っています。" },
|
|
89
|
+
status: { state: "flying" },
|
|
90
|
+
horizonsId: -193,
|
|
91
|
+
},
|
|
92
|
+
capstone: {
|
|
93
|
+
name: { en: "CAPSTONE", ja: "キャップストーン" },
|
|
94
|
+
centre: "moon",
|
|
95
|
+
operator: "NASA (Advanced Space)",
|
|
96
|
+
launch: { date: "2022-06-28T09:55:52Z", vehicle: "Electron (Rocket Lab)", site: "Mahia Peninsula, New Zealand" },
|
|
97
|
+
instruments: [],
|
|
98
|
+
about: { en: "A 25 kg CubeSat that flew the near-rectilinear halo orbit planned for the Gateway outpost, passing within about 1,600 km of one lunar pole and 70,000 km from the other every seven days, and tested navigation with LRO. Its halo orbit is no ellipse, so no path is drawn for it.", ja: "ゲートウェイ拠点のために計画された近直線ハロー軌道を飛んだ25 kgのキューブサット。7日ごとに、月の一方の極の約1,600 km以内を通り、もう一方の極からは70,000 km離れ、LROとの航法の試験をしました。ハロー軌道は楕円ではないので、経路は描きません。" },
|
|
99
|
+
status: { state: "ended", since: "2026-07", note: { en: "Horizons' page says no further updates for this completed mission (note of 2026-07-28); its track ends 2026-08-14.", ja: "Horizonsのページに、このミッションは完了したので今後の更新はない、とあります (2026-07-28の注記)。経路データは2026-08-14で終わります。" } },
|
|
100
|
+
horizonsId: -1176,
|
|
101
|
+
},
|
|
102
|
+
mro: {
|
|
103
|
+
name: { en: "Mars Reconnaissance Orbiter", ja: "マーズ・リコネサンス・オービター" },
|
|
104
|
+
centre: "mars",
|
|
105
|
+
operator: "NASA (JPL)",
|
|
106
|
+
launch: { date: "2005-08-12T11:43Z", vehicle: "Atlas V", site: "Cape Canaveral" },
|
|
107
|
+
instruments: [],
|
|
108
|
+
about: { en: "NASA's high-resolution eye on Mars since 2006, in a near-circular polar orbit of about 112 minutes after six months of aerobraking; it also relays the rovers' data.", ja: "2006年から火星を高解像度で見つめるNASAの探査機です。6か月の大気制動のあと、周期約112分のほぼ円形の極軌道にあり、探査車のデータの中継もしています。" },
|
|
109
|
+
status: { state: "flying" },
|
|
110
|
+
horizonsId: -74,
|
|
111
|
+
},
|
|
112
|
+
odyssey: {
|
|
113
|
+
name: { en: "2001 Mars Odyssey", ja: "2001マーズ・オデッセイ" },
|
|
114
|
+
centre: "mars",
|
|
115
|
+
operator: "NASA (JPL)",
|
|
116
|
+
launch: { date: "2001-04-07T15:02Z", vehicle: "Delta II 7925" },
|
|
117
|
+
instruments: [
|
|
118
|
+
{ name: "Thermal Emission Imaging System", short: "THEMIS" },
|
|
119
|
+
{ name: "Gamma Ray Spectrometer", short: "GRS" },
|
|
120
|
+
{ name: "Mars Radiation Environment Experiment", short: "MARIE" },
|
|
121
|
+
],
|
|
122
|
+
about: { en: "The longest-serving craft at Mars: it mapped the surface's elements and minerals, found water ice buried near the poles, measured radiation in orbit, and has relayed most of the rovers' data since 2004.", ja: "火星で最も長く働く探査機。表面の元素と鉱物を地図にし、極の近くに埋まった水氷を見つけ、軌道上の放射線を測り、2004年から探査車のデータの大半を中継しています。" },
|
|
123
|
+
status: { state: "flying" },
|
|
124
|
+
horizonsId: -53,
|
|
125
|
+
},
|
|
126
|
+
maven: {
|
|
127
|
+
name: { en: "MAVEN", ja: "メイブン" },
|
|
128
|
+
centre: "mars",
|
|
129
|
+
operator: "NASA (Goddard Space Flight Center)",
|
|
130
|
+
launch: { date: "2013-11-18T18:28Z", vehicle: "Atlas V 401", site: "Cape Canaveral, SLC-41" },
|
|
131
|
+
instruments: [
|
|
132
|
+
{ name: "Particles and Fields Package", short: "PFP" },
|
|
133
|
+
{ name: "Imaging Ultraviolet Spectrometer", short: "IUVS" },
|
|
134
|
+
{ name: "Neutral Gas and Ion Mass Spectrometer", short: "NGIMS" },
|
|
135
|
+
],
|
|
136
|
+
about: { en: "The Mars Atmosphere and Volatile Evolution orbiter studied how the upper atmosphere is lost to space from a 150 by 6,200 km orbit; contact was lost in December 2025 and NASA ended the mission in 2026, so its last known orbit is shown as modelled.", ja: "火星の上層大気がどう宇宙へ失われるかを、150 × 6,200 kmの軌道から調べた探査機。2025年12月に交信が途絶え、2026年にNASAがミッションを終えたので、最後に分かっている軌道をモデルの軌道として示します。" },
|
|
137
|
+
status: { state: "ended", since: "2025-12-06", note: { en: "Horizons' page: no contact since 2025-12-06, with evidence of an unplanned change of velocity on 2025-12-04; its fit reaches 2025-12-04 and its track ends 2026-03-01.", ja: "Horizonsのページ: 2025-12-06から交信がなく、2025-12-04に予定外の速度変化があった形跡があります。合わせた期間は2025-12-04まで、経路データは2026-03-01で終わります。" } },
|
|
138
|
+
horizonsId: -202,
|
|
139
|
+
},
|
|
140
|
+
"mars-express": {
|
|
141
|
+
name: { en: "Mars Express", ja: "マーズ・エクスプレス" },
|
|
142
|
+
centre: "mars",
|
|
143
|
+
operator: "ESA",
|
|
144
|
+
launch: { date: "2003-06-02", vehicle: "Soyuz-Fregat", site: "Baikonur" },
|
|
145
|
+
instruments: [],
|
|
146
|
+
about: { en: "Europe's first Mars orbiter, in a long elliptical orbit (about 258 by 11,560 km, 6 hours 43 minutes) since December 2003; its Beagle 2 lander was lost on arrival.", ja: "ヨーロッパ初の火星周回機。2003年12月から細長い楕円軌道 (約258 × 11,560 km、6時間43分) にあります。運んだ着陸機ビーグル2は到着時に失われました。" },
|
|
147
|
+
status: { state: "flying" },
|
|
148
|
+
horizonsId: -41,
|
|
149
|
+
},
|
|
150
|
+
tgo: {
|
|
151
|
+
name: { en: "ExoMars Trace Gas Orbiter", ja: "エクソマーズ・トレース・ガス・オービター" },
|
|
152
|
+
centre: "mars",
|
|
153
|
+
operator: "ESA (with Roscosmos)",
|
|
154
|
+
launch: { date: "2016-03-14T09:31Z", vehicle: "Proton", site: "Baikonur" },
|
|
155
|
+
instruments: [
|
|
156
|
+
{ name: "Atmospheric Chemistry Suite", short: "ACS" },
|
|
157
|
+
{ name: "Colour and Stereo Surface Imaging System", short: "CaSSIS" },
|
|
158
|
+
{ name: "Fine Resolution Epithermal Neutron Detector", short: "FREND" },
|
|
159
|
+
{ name: "Nadir and Occultation for Mars Discovery", short: "NOMAD" },
|
|
160
|
+
],
|
|
161
|
+
about: { en: "ESA's orbiter hunting methane and other trace gases from a circular 400 km orbit inclined 74 degrees, reached by a year of aerobraking in 2017; the Schiaparelli lander it carried was destroyed on landing.", ja: "メタンなどの微量ガスを探すESAの周回機。2017年に1年かけた大気制動で、軌道傾斜角74度、高度400 kmの円軌道に入りました。運んだ着陸機スキアパレッリは着陸時に壊れました。" },
|
|
162
|
+
status: { state: "flying" },
|
|
163
|
+
horizonsId: -143,
|
|
164
|
+
},
|
|
165
|
+
hope: {
|
|
166
|
+
name: { en: "Hope (Emirates Mars Mission)", ja: "ホープ (エミレーツ・マーズ・ミッション)" },
|
|
167
|
+
centre: "mars",
|
|
168
|
+
operator: "Mohammed Bin Rashid Space Centre (United Arab Emirates)",
|
|
169
|
+
launch: { date: "2020-07-19T21:58:14Z", vehicle: "H-IIA 202", site: "Tanegashima, Japan" },
|
|
170
|
+
instruments: [
|
|
171
|
+
{ name: "Emirates eXploration Imager", short: "EXI" },
|
|
172
|
+
{ name: "Emirates Mars Ultraviolet Spectrometer", short: "EMUS" },
|
|
173
|
+
{ name: "Emirates Mars Infrared Spectrometer", short: "EMIRS" },
|
|
174
|
+
],
|
|
175
|
+
about: { en: "The United Arab Emirates' weather satellite for Mars: from a high orbit of about 22,000 by 44,000 km (55 hours) it watches the whole atmosphere through the day and the year.", ja: "アラブ首長国連邦の火星気象衛星。約22,000 × 44,000 km (55時間) の高い軌道から、一日と一年を通して大気全体を見ています。" },
|
|
176
|
+
status: { state: "flying" },
|
|
177
|
+
horizonsId: -62,
|
|
178
|
+
},
|
|
179
|
+
"tianwen-1": {
|
|
180
|
+
name: { en: "Tianwen-1 orbiter", ja: "天問1号 オービター" },
|
|
181
|
+
centre: "mars",
|
|
182
|
+
operator: "CNSA",
|
|
183
|
+
launch: { date: "2020-07-23T04:41Z", vehicle: "Long March 5", site: "Wenchang, Hainan" },
|
|
184
|
+
instruments: [],
|
|
185
|
+
about: { en: "China's first Mars mission, an orbiter with seven instruments that carried the Zhurong rover to Utopia Planitia in 2021. Horizons holds only a volunteers' track of its cruise, ending at arrival, so no orbit is drawn for it.", ja: "中国初の火星ミッション。7つの観測機器を持つ周回機で、2021年に探査車「祝融号」をユートピア平原へ運びました。Horizonsにはボランティアによる巡航の追跡しかなく、到着で終わるので、軌道は描きません。" },
|
|
186
|
+
status: { state: "flying", note: { en: "No public orbit track: Horizons' record is the cruise to Mars, from ground-based volunteers, ending 2021-02-10.", ja: "公開された軌道データはありません。Horizonsの記録は地上のボランティアによる火星への巡航の追跡で、2021-02-10で終わります。" } },
|
|
187
|
+
horizonsId: -9901491,
|
|
188
|
+
},
|
|
189
|
+
};
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { ORBITER_FITS } from "./data/orbiters.ts";
|
|
2
|
+
import { type OrbiterFacts } from "./orbiter-facts.ts";
|
|
3
|
+
import type { When } from "./when.ts";
|
|
4
|
+
import type { Vec3 } from "./vec.ts";
|
|
5
|
+
export { ORBITER_FACTS, type OrbiterFacts, type OrbiterInstrument } from "./orbiter-facts.ts";
|
|
6
|
+
export type { When } from "./when.ts";
|
|
7
|
+
/**
|
|
8
|
+
* The orbiters the package knows: six round the Moon and seven round Mars.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { ORBITER_IDS } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
13
|
+
*
|
|
14
|
+
* console.log(ORBITER_IDS.join(", "));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare const ORBITER_IDS: readonly OrbiterId[];
|
|
18
|
+
/**
|
|
19
|
+
* The name of an orbiter: `lro`, `chandrayaan-2`, `danuri`, `artemis-p1`, `artemis-p2`, `capstone`, `mro`, `odyssey`, `maven`, `mars-express`, `tgo`, `hope` or `tianwen-1`.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import type { OrbiterId } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
24
|
+
*
|
|
25
|
+
* const id: OrbiterId = "lro";
|
|
26
|
+
* console.log(id);
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export type OrbiterId = keyof typeof ORBITER_FITS;
|
|
30
|
+
/**
|
|
31
|
+
* The body an orbiter goes round.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* import { orbiterCentre } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
36
|
+
*
|
|
37
|
+
* console.log(orbiterCentre("lro"), orbiterCentre("mro"));
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export type OrbiterCentre = "moon" | "mars";
|
|
41
|
+
/**
|
|
42
|
+
* Where an orbiter's path comes from at a moment: `tracked` (inside the window the ellipse was fitted over, where its error against Horizons was measured: `fitErrorKm`), `predicted` (after that window
|
|
43
|
+
* and within as many days again as it was long: the same ellipse carried on, its error against Horizons measured there too: `predictedErrorKm`, usually the larger), `modelled` (a mean orbit only: outside
|
|
44
|
+
* both, or the track ended, or no ellipse follows the craft closely) or `none` (no path at all: Tianwen-1 has no public orbit track, CAPSTONE's halo orbit is no ellipse).
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* import { orbiterStatus } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
49
|
+
*
|
|
50
|
+
* console.log(orbiterStatus("lro", Date.UTC(2026, 10, 11)), orbiterStatus("tianwen-1", Date.UTC(2026, 10, 11)));
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export type OrbiterStatus = "tracked" | "predicted" | "modelled" | "none";
|
|
54
|
+
/**
|
|
55
|
+
* The fitted mean elements of an orbiter: a Kepler ellipse round the body with its node and periapsis drifting at fitted rates, the epoch of the fit, the window it is good for, and its error against Horizons.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* import { orbiterElements } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
60
|
+
*
|
|
61
|
+
* const lro = orbiterElements("lro")!;
|
|
62
|
+
* console.log(lro.a.toFixed(0), "km", lro.i.toFixed(1), "degrees", lro.periodDays.toFixed(4), "days");
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export interface OrbiterElements {
|
|
66
|
+
/** The semi-major axis in kilometres from the body's centre. */
|
|
67
|
+
a: number;
|
|
68
|
+
e: number;
|
|
69
|
+
/** Inclination, node, argument of periapsis and mean anomaly at the epoch, in degrees, ecliptic J2000. */
|
|
70
|
+
i: number;
|
|
71
|
+
raan: number;
|
|
72
|
+
argp: number;
|
|
73
|
+
m0: number;
|
|
74
|
+
/** How fast the node and the periapsis drift, in degrees a day. */
|
|
75
|
+
raanRate: number;
|
|
76
|
+
argpRate: number;
|
|
77
|
+
/** The fitted mean motion's difference from the Kepler mean motion of `a`, in degrees a day. */
|
|
78
|
+
meanMotionCorrection: number;
|
|
79
|
+
/** One trip round the body, in days. */
|
|
80
|
+
periodDays: number;
|
|
81
|
+
/** The fit's epoch, as a Julian date in TDB (a moment in UTC is turned into TDB, 69.184 s later, before it is used). */
|
|
82
|
+
epochJd: number;
|
|
83
|
+
/** The window the fit was made over (`validFrom` to `fitUntil`, ISO dates in UTC: `tracked`) and the end of the days after it the ellipse is carried on for (`validUntil`: `predicted`). */
|
|
84
|
+
validFrom: string;
|
|
85
|
+
fitUntil: string;
|
|
86
|
+
validUntil: string;
|
|
87
|
+
/** The date Horizons was read on, as `yyyy-mm-dd` (UTC): the age of the elements. */
|
|
88
|
+
retrieved: string;
|
|
89
|
+
/** How far Horizons' tracking data reached when the fit was made, as Horizons writes it. */
|
|
90
|
+
trackedUntil: string;
|
|
91
|
+
/** The error of the ellipse against Horizons over the fit's window (`tracked`), in kilometres: median and worst. */
|
|
92
|
+
fitErrorKm: {
|
|
93
|
+
median: number;
|
|
94
|
+
max: number;
|
|
95
|
+
};
|
|
96
|
+
/** The error of the same ellipse against Horizons over the days after the window (`predicted`), in kilometres: median and worst; `null` where Horizons has nothing there (a craft whose track has ended). */
|
|
97
|
+
predictedErrorKm: {
|
|
98
|
+
median: number;
|
|
99
|
+
max: number;
|
|
100
|
+
} | null;
|
|
101
|
+
/** `tracked` when the ellipse follows Horizons within the limit the script sets; `modelled` when not, or when the track had ended. */
|
|
102
|
+
basis: "tracked" | "modelled";
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The body an orbiter goes round.
|
|
106
|
+
*
|
|
107
|
+
* @param id - The orbiter.
|
|
108
|
+
* @returns `moon` or `mars`.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* import { orbiterCentre } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
113
|
+
*
|
|
114
|
+
* console.log(orbiterCentre("hope"));
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export declare function orbiterCentre(id: OrbiterId): OrbiterCentre;
|
|
118
|
+
/**
|
|
119
|
+
* The fitted elements of an orbiter, or `undefined` for one with no path (`orbiterStatus` says `none`).
|
|
120
|
+
*
|
|
121
|
+
* @param id - The orbiter.
|
|
122
|
+
* @returns The elements, or `undefined`.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* ```ts
|
|
126
|
+
* import { orbiterElements } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
127
|
+
*
|
|
128
|
+
* console.log(orbiterElements("capstone"), orbiterElements("mro")?.e.toFixed(4));
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
export declare function orbiterElements(id: OrbiterId): OrbiterElements | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Where an orbiter's path comes from at a moment: see `OrbiterStatus`. `tracked` ends with the fit's window (`fitUntil`); after it, up to `validUntil`, a path is `predicted`. A moment before the window or after
|
|
134
|
+
* `validUntil` is `modelled` (the ellipse is extended, not measured there). `trackedUntil`, how far Horizons' own tracking data reached, is not used: where Horizons' track is itself an agency's prediction, "tracked" says the
|
|
135
|
+
* ellipse follows that track.
|
|
136
|
+
*
|
|
137
|
+
* @param id - The orbiter.
|
|
138
|
+
* @param when - A `Date` or milliseconds since 1970 (UTC).
|
|
139
|
+
* @returns The status.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* ```ts
|
|
143
|
+
* import { orbiterStatus } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
144
|
+
*
|
|
145
|
+
* console.log(orbiterStatus("mro", Date.UTC(2026, 10, 1)), orbiterStatus("mro", Date.UTC(2030, 0, 1)));
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
export declare function orbiterStatus(id: OrbiterId, when: When): OrbiterStatus;
|
|
149
|
+
/**
|
|
150
|
+
* Where an orbiter is at a moment, in kilometres from the centre of the body it goes round, ecliptic and equinox J2000. The mean ellipse is propagated with its drifting node and periapsis: good to the
|
|
151
|
+
* `fitErrorKm` of its elements within the fit's window and the larger `predictedErrorKm` in the days after it, rougher beyond (`orbiterStatus`). `when` is UTC; the elements' TDB epoch is allowed for (69.184 s). Throws for a craft with no path.
|
|
152
|
+
*
|
|
153
|
+
* @param id - The orbiter.
|
|
154
|
+
* @param when - A `Date` or milliseconds since 1970 (UTC).
|
|
155
|
+
* @returns x, y, z in kilometres.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```ts
|
|
159
|
+
* import { orbiterPosition } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
160
|
+
*
|
|
161
|
+
* const [x, y, z] = orbiterPosition("lro", Date.UTC(2026, 10, 11));
|
|
162
|
+
* console.log(Math.hypot(x, y, z).toFixed(0), "km from the Moon's centre");
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
export declare function orbiterPosition(id: OrbiterId, when: When): Vec3;
|
|
166
|
+
/**
|
|
167
|
+
* How fast an orbiter moves at a moment, in kilometres a second relative to the body it goes round (from the ellipse).
|
|
168
|
+
*
|
|
169
|
+
* @param id - The orbiter.
|
|
170
|
+
* @param when - A `Date` or milliseconds since 1970 (UTC).
|
|
171
|
+
* @returns The speed in km/s.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```ts
|
|
175
|
+
* import { orbiterSpeed } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
176
|
+
*
|
|
177
|
+
* console.log(orbiterSpeed("lro", Date.UTC(2026, 10, 11)).toFixed(2), "km/s");
|
|
178
|
+
* ```
|
|
179
|
+
*/
|
|
180
|
+
export declare function orbiterSpeed(id: OrbiterId, when: When): number;
|
|
181
|
+
/**
|
|
182
|
+
* The numbers a page shows for an orbiter at a moment: its height above the body's mean surface, its speed, its period and inclination, where its path comes from, and how far wrong it may be (`errorKm`: the worst error
|
|
183
|
+
* measured against Horizons for that status, `fitErrorKm.max` when `tracked`, `predictedErrorKm.max` when `predicted`; `null` when `modelled`).
|
|
184
|
+
*
|
|
185
|
+
* @param id - The orbiter.
|
|
186
|
+
* @param when - A `Date` or milliseconds since 1970 (UTC).
|
|
187
|
+
* @returns The numbers, or `undefined` for a craft with no path.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ```ts
|
|
191
|
+
* import { orbiterNumbers } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
192
|
+
*
|
|
193
|
+
* const mro = orbiterNumbers("mro", Date.UTC(2026, 10, 11))!;
|
|
194
|
+
* console.log(mro.altitudeKm.toFixed(0), "km up,", mro.speedKmS.toFixed(2), "km/s,", (mro.periodDays * 24 * 60).toFixed(0), "minutes round,", mro.status, "within", mro.errorKm, "km");
|
|
195
|
+
* ```
|
|
196
|
+
*/
|
|
197
|
+
export declare function orbiterNumbers(id: OrbiterId, when: When): {
|
|
198
|
+
altitudeKm: number;
|
|
199
|
+
speedKmS: number;
|
|
200
|
+
periodDays: number;
|
|
201
|
+
inclinationDeg: number;
|
|
202
|
+
status: OrbiterStatus;
|
|
203
|
+
errorKm: number | null;
|
|
204
|
+
} | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* The orbit as points round one trip, in kilometres from the body's centre, ecliptic J2000, at the moment's node and periapsis: for an orbit line.
|
|
207
|
+
*
|
|
208
|
+
* @param id - The orbiter.
|
|
209
|
+
* @param when - A `Date` or milliseconds since 1970 (UTC): the ellipse's orientation then.
|
|
210
|
+
* @param points - How many points round the trip (the first is repeated at the end).
|
|
211
|
+
* @returns The points, or an empty list for a craft with no path.
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* ```ts
|
|
215
|
+
* import { orbiterPath } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
216
|
+
*
|
|
217
|
+
* console.log(orbiterPath("hope", Date.UTC(2026, 10, 11), 8).length);
|
|
218
|
+
* ```
|
|
219
|
+
*/
|
|
220
|
+
export declare function orbiterPath(id: OrbiterId, when: When, points?: number): Vec3[];
|
|
221
|
+
/**
|
|
222
|
+
* What is known about an orbiter: names, operator, launch, instruments, a line about it, and the state of its path.
|
|
223
|
+
*
|
|
224
|
+
* @param id - The orbiter.
|
|
225
|
+
* @returns The facts.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* ```ts
|
|
229
|
+
* import { orbiterFacts } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
230
|
+
*
|
|
231
|
+
* const lro = orbiterFacts("lro");
|
|
232
|
+
* console.log(lro.name.en, lro.operator, lro.launch.date, lro.launch.vehicle);
|
|
233
|
+
* ```
|
|
234
|
+
*/
|
|
235
|
+
export declare function orbiterFacts(id: OrbiterId): OrbiterFacts;
|
|
236
|
+
/**
|
|
237
|
+
* An orbiter as a point the space view can ride along with (`space.ride(orbiterRidePoint("lro"), { around: "moon" })`): where it is and which way it goes at a moment, in kilometres and kilometres a
|
|
238
|
+
* second from the centre of the body it goes round, in the view's axes (equatorial J2000, y north). It answers `null` for a craft with no path.
|
|
239
|
+
*
|
|
240
|
+
* @param id - The orbiter.
|
|
241
|
+
* @returns The point: its `at` gives the place and velocity, or `null` for a craft with no path (`orbiterStatus` says `none`), which the view then does not ride.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ```ts
|
|
245
|
+
* import { orbiterRidePoint } from "@johnmorrisdotca/wakusei-planets/orbiters";
|
|
246
|
+
*
|
|
247
|
+
* const point = orbiterRidePoint("mro").at(Date.UTC(2026, 10, 11));
|
|
248
|
+
* console.log(point === null ? "no path" : Math.hypot(...point.velocity).toFixed(2) + " km/s");
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
251
|
+
export declare function orbiterRidePoint(id: OrbiterId): {
|
|
252
|
+
at(ms: number): {
|
|
253
|
+
position: Vec3;
|
|
254
|
+
velocity: Vec3;
|
|
255
|
+
} | null;
|
|
256
|
+
};
|