astraeus-data-mars 0.6.0 → 0.8.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/data/mars-moons/fit-errors.json +1 -0
- package/data/mars-moons/list.json +106 -0
- package/package.json +4 -2
- package/src/index.d.ts +2 -2
- package/src/index.js +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mars":0.0319,"phobos":0.0593,"deimos":0.5533}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "astraeus.moon-catalogue/1",
|
|
3
|
+
"kind": "moon-catalogue",
|
|
4
|
+
"parent": "mars",
|
|
5
|
+
"note": "Mars has two moons, both small and irregularly shaped, one family. Sizes are JPL's published mean radii.",
|
|
6
|
+
"asOf": "2026-10-20",
|
|
7
|
+
"periods": {
|
|
8
|
+
"source": "jpl-sat-elem",
|
|
9
|
+
"column": "P (days)",
|
|
10
|
+
"fetched": "2026-10-31",
|
|
11
|
+
"missing": []
|
|
12
|
+
},
|
|
13
|
+
"ephemeris": {
|
|
14
|
+
"path": "data/ephemerides/mars-moons/index.json",
|
|
15
|
+
"moonCount": 2
|
|
16
|
+
},
|
|
17
|
+
"sources": {
|
|
18
|
+
"horizons-moon-list": {
|
|
19
|
+
"title": "JPL Horizons On-Line Ephemeris System, major-body list for Mars (2 moons, fetched 2026-10-20)",
|
|
20
|
+
"url": "https://ssd.jpl.nasa.gov/horizons/"
|
|
21
|
+
},
|
|
22
|
+
"jpl-sat-elem": {
|
|
23
|
+
"title": "JPL Solar System Dynamics, Planetary Satellite Mean Elements",
|
|
24
|
+
"url": "https://ssd.jpl.nasa.gov/sats/elem/"
|
|
25
|
+
},
|
|
26
|
+
"jpl-sat-phys": {
|
|
27
|
+
"title": "JPL Solar System Dynamics, Planetary Satellite Physical Parameters (mean radius)",
|
|
28
|
+
"url": "https://ssd.jpl.nasa.gov/sats/phys_par/"
|
|
29
|
+
},
|
|
30
|
+
"jpl-sat-discovery": {
|
|
31
|
+
"title": "JPL Solar System Dynamics, Planetary Satellite Discovery Circumstances (data last updated 2023-May-23)",
|
|
32
|
+
"url": "https://ssd.jpl.nasa.gov/sats/discovery.html"
|
|
33
|
+
},
|
|
34
|
+
"wikipedia-moons-of-mars": {
|
|
35
|
+
"title": "Moons of Mars (Wikipedia), read 2026-10-20: the table of Phobos and Deimos with their sizes and discovery. A compilation, used because the primary papers do not tabulate every moon; group membership was not re-derived.",
|
|
36
|
+
"url": "https://en.wikipedia.org/wiki/Moons_of_Mars"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"families": [
|
|
40
|
+
{
|
|
41
|
+
"id": "mars-moons",
|
|
42
|
+
"label": "Phobos and Deimos",
|
|
43
|
+
"description": "The two small moons of Mars, found by Asaph Hall in 1877: irregular lumps close to Mars on nearly circular orbits.",
|
|
44
|
+
"sources": [
|
|
45
|
+
"jpl-sat-elem",
|
|
46
|
+
"wikipedia-moons-of-mars"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"moons": [
|
|
51
|
+
{
|
|
52
|
+
"id": "phobos",
|
|
53
|
+
"name": "Phobos",
|
|
54
|
+
"named": true,
|
|
55
|
+
"designation": null,
|
|
56
|
+
"naifId": 401,
|
|
57
|
+
"family": "mars-moons",
|
|
58
|
+
"meanRadiusKm": 11.08,
|
|
59
|
+
"radiusBasis": "measured",
|
|
60
|
+
"discoveryYear": 1877,
|
|
61
|
+
"orbitPeriodDays": 0.3187,
|
|
62
|
+
"ephemeris": {
|
|
63
|
+
"set": "mars-moons",
|
|
64
|
+
"body": "phobos"
|
|
65
|
+
},
|
|
66
|
+
"bodyPackage": null,
|
|
67
|
+
"sources": {
|
|
68
|
+
"list": "horizons-moon-list",
|
|
69
|
+
"family": "jpl-sat-elem",
|
|
70
|
+
"familyBasis": [
|
|
71
|
+
"jpl-sat-elem"
|
|
72
|
+
],
|
|
73
|
+
"radius": "jpl-sat-phys",
|
|
74
|
+
"discovery": "jpl-sat-discovery",
|
|
75
|
+
"period": "jpl-sat-elem"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "deimos",
|
|
80
|
+
"name": "Deimos",
|
|
81
|
+
"named": true,
|
|
82
|
+
"designation": null,
|
|
83
|
+
"naifId": 402,
|
|
84
|
+
"family": "mars-moons",
|
|
85
|
+
"meanRadiusKm": 6.2,
|
|
86
|
+
"radiusBasis": "measured",
|
|
87
|
+
"discoveryYear": 1877,
|
|
88
|
+
"orbitPeriodDays": 1.2625,
|
|
89
|
+
"ephemeris": {
|
|
90
|
+
"set": "mars-moons",
|
|
91
|
+
"body": "deimos"
|
|
92
|
+
},
|
|
93
|
+
"bodyPackage": null,
|
|
94
|
+
"sources": {
|
|
95
|
+
"list": "horizons-moon-list",
|
|
96
|
+
"family": "jpl-sat-elem",
|
|
97
|
+
"familyBasis": [
|
|
98
|
+
"jpl-sat-elem"
|
|
99
|
+
],
|
|
100
|
+
"radius": "jpl-sat-phys",
|
|
101
|
+
"discovery": "jpl-sat-discovery",
|
|
102
|
+
"period": "jpl-sat-elem"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astraeus-data-mars",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Mars's moon positions for the Astraeus engine: piecewise Chebyshev fits of JPL Horizons state vectors, 2010 to 2030.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"mars"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"astraeus": ">=0.
|
|
20
|
+
"astraeus": ">=0.8.0 <0.9.0"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
"import": "./src/index.js"
|
|
26
26
|
},
|
|
27
27
|
"./index.json": "./data/mars-moons/index.json",
|
|
28
|
+
"./moon-list.json": "./data/mars-moons/list.json",
|
|
29
|
+
"./moon-fit-errors.json": "./data/mars-moons/fit-errors.json",
|
|
28
30
|
"./package.json": "./package.json"
|
|
29
31
|
},
|
|
30
32
|
"types": "./src/index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DataSource } from "astraeus";
|
|
1
|
+
import type { DataSource, MoonIndex } from "astraeus";
|
|
2
2
|
import { chunkUrls } from "./chunks.js";
|
|
3
3
|
/** Reads Mars's index (the moons, their fits and the measured errors). A dynamic import, so a bundler keeps it as its own file. */
|
|
4
|
-
export declare const loadIndex: () => Promise<
|
|
4
|
+
export declare const loadIndex: () => Promise<MoonIndex>;
|
|
5
5
|
export { chunkUrls };
|
|
6
6
|
/** Hand this to `mount(element, scene, { data: [dataSource] })` to give Mars's moons their positions. */
|
|
7
7
|
export declare const dataSource: DataSource;
|
package/src/index.js
CHANGED
|
@@ -9,5 +9,5 @@ export { chunkUrls };
|
|
|
9
9
|
export const dataSource = Object.freeze({
|
|
10
10
|
name: "astraeus-data-mars",
|
|
11
11
|
provides: ["phobos", "deimos"],
|
|
12
|
-
moonPositions: Object.freeze({
|
|
12
|
+
moonPositions: Object.freeze({ center: "mars", loadIndex, chunkUrls }),
|
|
13
13
|
});
|