@johnmorrisdotca/wakusei-planets 0.64.0 → 0.66.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.
@@ -0,0 +1,6 @@
1
+ export declare const MOON_OSCULATING_EPOCH_JD = 2461375.5;
2
+ /**
3
+ * Six whole numbers for each irregular moon of a giant planet that has a mean orbit, in the order of the rows of data/moon-catalogue.ts: a in units of 100 km, e in units of 0.0001, then i, the node, the argument of periapsis
4
+ * and the mean anomaly in units of 0.01 degree, in the J2000 ecliptic frame, at the epoch (JD, TDB).
5
+ */
6
+ export declare const MOON_OSCULATING: readonly number[];
@@ -0,0 +1,401 @@
1
+ // Made by scripts/make-moon-osculating.py from JPL Horizons (NASA/JPL-Caltech; see NOTICE.md): the osculating orbit of each irregular moon of /moon-catalogue on one day; do not edit by hand. Read again with a new --epoch.
2
+ export const MOON_OSCULATING_EPOCH_JD = 2461375.5;
3
+ /**
4
+ * Six whole numbers for each irregular moon of a giant planet that has a mean orbit, in the order of the rows of data/moon-catalogue.ts: a in units of 100 km, e in units of 0.0001, then i, the node, the argument of periapsis
5
+ * and the mean anomaly in units of 0.01 degree, in the J2000 ecliptic frame, at the epoch (JD, TDB).
6
+ */
7
+ export const MOON_OSCULATING = [
8
+ 114127, 1587, 2865, 3423, 5220, 10041,
9
+ 117510, 2195, 2920, 8255, 22534, 23022,
10
+ 234403, 4113, 15290, 7898, 28272, 886,
11
+ 243152, 2012, 15950, 5270, 8007, 16886,
12
+ 117350, 1151, 2723, 33234, 12227, 26383,
13
+ 229112, 2407, 16215, 23307, 15919, 35846,
14
+ 213136, 1092, 14881, 10655, 13845, 16213,
15
+ 111961, 1514, 2833, 18257, 33037, 13666,
16
+ 245328, 3114, 14867, 3756, 11330, 11588,
17
+ 73918, 2700, 4457, 18597, 24725, 15444,
18
+ 237405, 3838, 14915, 2566, 3056, 16885,
19
+ 225452, 3234, 16334, 5225, 35610, 23140,
20
+ 235465, 2875, 16203, 24346, 1517, 8961,
21
+ 213905, 1674, 14871, 11139, 23111, 11498,
22
+ 227708, 2096, 16554, 16545, 34233, 34455,
23
+ 215211, 2729, 14856, 442, 13024, 8456,
24
+ 224835, 1973, 16524, 6318, 11839, 8276,
25
+ 227679, 2164, 16332, 23936, 22843, 31166,
26
+ 206372, 2765, 14947, 680, 26654, 2727,
27
+ 236862, 3277, 14697, 3270, 16088, 12268,
28
+ 208292, 1717, 14664, 32468, 12935, 18511,
29
+ 211418, 1632, 14816, 5503, 1247, 32544,
30
+ 224892, 3466, 16635, 11166, 22855, 24640,
31
+ 228390, 2521, 14780, 5685, 32236, 18970,
32
+ 203782, 1856, 14741, 33620, 5767, 26302,
33
+ 196305, 1359, 14774, 13109, 9932, 7690,
34
+ 202674, 5238, 14803, 32121, 28132, 16485,
35
+ 229574, 2930, 14262, 23497, 17211, 23135,
36
+ 233583, 2550, 16437, 17954, 16655, 2129,
37
+ 233515, 2330, 16494, 7364, 613, 6659,
38
+ 233920, 2910, 15308, 8072, 31772, 34016,
39
+ 213934, 3132, 15203, 10307, 8649, 25026,
40
+ 248220, 3678, 15364, 29262, 21709, 11978,
41
+ 206709, 2433, 14710, 25209, 3527, 14005,
42
+ 239420, 2078, 16702, 8833, 26783, 21293,
43
+ 236799, 2757, 16664, 14797, 11701, 24970,
44
+ 204276, 961, 15459, 18065, 4767, 27773,
45
+ 171651, 5380, 4818, 32867, 8555, 26688,
46
+ 226514, 3030, 16504, 29713, 6681, 35426,
47
+ 233100, 4758, 14338, 3481, 32870, 14505,
48
+ 246846, 3389, 14001, 5157, 21414, 29110,
49
+ 226416, 2048, 16520, 4248, 9934, 25115,
50
+ 228774, 2977, 16388, 3606, 32333, 26696,
51
+ 211646, 3245, 15145, 8835, 7135, 29906,
52
+ 122230, 2878, 2666, 25564, 25452, 2911,
53
+ 214300, 543, 14356, 31770, 34901, 19265,
54
+ 200940, 398, 14255, 23781, 8899, 12037,
55
+ 238417, 2620, 15305, 13424, 4996, 13601,
56
+ 237247, 2877, 16358, 28306, 22796, 10171,
57
+ 233768, 3633, 14907, 32431, 8945, 8229,
58
+ 242271, 3677, 14405, 2259, 13256, 32231,
59
+ 205773, 2876, 14915, 32406, 11148, 822,
60
+ 226389, 2722, 16715, 14487, 29599, 35387,
61
+ 184167, 1648, 3344, 21805, 19553, 14473,
62
+ 223407, 3872, 16728, 10922, 25449, 13001,
63
+ 214477, 1907, 14902, 10330, 23350, 7464,
64
+ 114662, 2192, 2702, 21589, 26532, 12502,
65
+ 233847, 2846, 16693, 15748, 8683, 14503,
66
+ 226205, 2897, 15135, 7759, 12268, 30017,
67
+ 211945, 1355, 14621, 34871, 32113, 29147,
68
+ 225699, 2499, 16490, 20858, 11868, 19096,
69
+ 219406, 1790, 15482, 33626, 31255, 21325,
70
+ 114312, 1109, 3056, 8565, 2615, 1239,
71
+ 234089, 2939, 16398, 281, 14942, 2935,
72
+ 213675, 2595, 15171, 7412, 23840, 28866,
73
+ 222195, 4998, 15181, 28813, 26600, 17079,
74
+ 239851, 2123, 16643, 16048, 8040, 8561,
75
+ 231273, 2122, 16382, 26762, 29380, 33853,
76
+ 210474, 3666, 15364, 15567, 11033, 10138,
77
+ 213978, 2443, 15080, 11061, 10067, 27768,
78
+ 237545, 2567, 14323, 16521, 31192, 21412,
79
+ 232341, 2264, 16414, 31170, 20469, 33373,
80
+ 117173, 2090, 2916, 9274, 23020, 23298,
81
+ 114003, 1228, 2945, 6229, 487, 18789,
82
+ 231485, 2264, 16364, 25000, 30859, 31605,
83
+ 208019, 3128, 15260, 32846, 9520, 1994,
84
+ 206690, 3129, 14974, 213, 10242, 2425,
85
+ 212157, 2330, 14855, 24108, 27820, 17037,
86
+ 231145, 2880, 16284, 23087, 22118, 6238,
87
+ 241166, 3273, 16323, 25659, 3087, 28054,
88
+ 223553, 2293, 16525, 19708, 28353, 4540,
89
+ 230015, 2198, 16601, 15018, 21947, 32875,
90
+ 223873, 3405, 14697, 32853, 30036, 11816,
91
+ 164100, 420, 5047, 1455, 25706, 20938,
92
+ 232963, 2891, 16408, 5906, 75, 29396,
93
+ 234906, 3075, 16525, 17251, 13492, 24923,
94
+ 210891, 3415, 14905, 30703, 7246, 12618,
95
+ 212325, 2318, 14404, 4602, 23307, 4610,
96
+ 224956, 2224, 16233, 24999, 17405, 2379,
97
+ 111587, 1314, 2758, 30887, 9298, 27682,
98
+ 224382, 3951, 16496, 28957, 6851, 16094,
99
+ 238013, 2396, 16428, 1441, 20913, 1368,
100
+ 246670, 1354, 16565, 16200, 21931, 16595,
101
+ 232137, 2358, 14800, 8169, 14101, 27168,
102
+ 230414, 2145, 16413, 25508, 26691, 27044,
103
+ 230112, 3312, 16442, 5824, 3066, 11253,
104
+ 213111, 2866, 14778, 2669, 14210, 35723,
105
+ 229263, 2182, 16464, 6184, 35149, 3715,
106
+ 240861, 3102, 16574, 33775, 10457, 8654,
107
+ 232401, 1879, 16434, 22209, 9142, 13027,
108
+ 229511, 4633, 14891, 3116, 25527, 7680,
109
+ 226765, 1635, 14761, 5414, 12682, 5216,
110
+ 226209, 2718, 16755, 12131, 28197, 35889,
111
+ 117168, 1413, 2837, 28677, 18521, 31224,
112
+ 227367, 2235, 16577, 16453, 33747, 99,
113
+ 226642, 2936, 14977, 3965, 11872, 26547,
114
+ 207032, 2741, 14729, 23011, 10083, 25839,
115
+ 128931, 1666, 17286, 27154, 1230, 35997,
116
+ 226375, 2979, 17237, 24265, 8740, 2608,
117
+ 150758, 5710, 4308, 33173, 24466, 7214,
118
+ 183896, 5563, 4116, 5660, 31800, 13018,
119
+ 113145, 4324, 4887, 14193, 6850, 31849,
120
+ 195951, 870, 17397, 26898, 9382, 18356,
121
+ 113221, 1493, 4917, 34526, 8510, 14246,
122
+ 183515, 2441, 16855, 10427, 34390, 19834,
123
+ 165499, 5996, 3337, 7177, 9879, 21546,
124
+ 156760, 2753, 14864, 29713, 22176, 29034,
125
+ 175553, 4007, 3962, 11458, 31532, 4406,
126
+ 176888, 4533, 4468, 3189, 8639, 19199,
127
+ 204241, 4727, 17366, 27753, 13558, 33928,
128
+ 190697, 2763, 13996, 19679, 20529, 2827,
129
+ 209353, 3036, 16728, 21830, 28777, 30245,
130
+ 171253, 4616, 4208, 18190, 3703, 7480,
131
+ 195139, 1325, 15774, 23228, 14883, 24284,
132
+ 205450, 5441, 14268, 33394, 11450, 27905,
133
+ 202441, 2294, 15723, 15974, 2453, 27997,
134
+ 226370, 1457, 16229, 26162, 16522, 5295,
135
+ 254192, 2339, 16694, 29260, 1249, 4935,
136
+ 198277, 4244, 16436, 33786, 4593, 32846,
137
+ 184370, 3980, 15287, 7581, 30330, 12609,
138
+ 220601, 5038, 14602, 30365, 19829, 27222,
139
+ 229448, 2432, 16791, 182, 6849, 13442,
140
+ 175538, 5223, 15586, 30837, 21398, 10235,
141
+ 226969, 4929, 16400, 27902, 35550, 34999,
142
+ 195509, 2405, 16501, 3958, 27101, 9778,
143
+ 185100, 2606, 17343, 35275, 16522, 12403,
144
+ 177356, 1378, 4886, 8033, 7085, 17473,
145
+ 193032, 1856, 16354, 35392, 29886, 5426,
146
+ 203988, 1819, 17722, 28189, 10282, 4185,
147
+ 210029, 5288, 17681, 23200, 13762, 15628,
148
+ 213109, 5709, 17182, 28292, 34788, 4366,
149
+ 269667, 732, 17246, 35972, 16422, 19271,
150
+ 196738, 1473, 16657, 10896, 17560, 2312,
151
+ 169622, 3719, 4428, 13879, 49, 7078,
152
+ 204663, 945, 15570, 28008, 30126, 24812,
153
+ 209148, 2705, 15845, 31637, 5844, 33909,
154
+ 230788, 5701, 15459, 10669, 35482, 17139,
155
+ 239686, 3036, 16563, 31460, 2850, 34305,
156
+ 223630, 2770, 17709, 33526, 21658, 30163,
157
+ 224621, 5549, 15356, 14506, 2826, 2733,
158
+ 176030, 2464, 4759, 6609, 26405, 3155,
159
+ 237293, 670, 3488, 33122, 8040, 16120,
160
+ 221582, 1927, 17023, 15850, 24060, 9539,
161
+ 235142, 4498, 15471, 13778, 21800, 32007,
162
+ 234999, 5803, 15906, 26814, 27227, 22966,
163
+ 159861, 4841, 16321, 17007, 10714, 19328,
164
+ 227216, 1488, 16740, 20380, 26454, 20870,
165
+ 215950, 5446, 16569, 1673, 11747, 24094,
166
+ 198278, 3047, 16366, 33161, 10922, 15363,
167
+ 187305, 2137, 16749, 23899, 2313, 20060,
168
+ 197006, 1425, 16896, 3996, 20024, 4092,
169
+ 189784, 660, 15581, 35310, 19282, 14226,
170
+ 213915, 3469, 15576, 24038, 22474, 24927,
171
+ 159753, 2273, 17639, 13686, 8181, 1253,
172
+ 198403, 1669, 17624, 13337, 2234, 10001,
173
+ 112926, 5981, 4431, 15894, 10239, 6726,
174
+ 164489, 2608, 17570, 12645, 14120, 28489,
175
+ 171590, 2651, 16413, 26172, 16269, 3817,
176
+ 112967, 5032, 4643, 14737, 7597, 29839,
177
+ 178278, 1486, 17272, 12075, 16492, 35161,
178
+ 161559, 3074, 17016, 5938, 15781, 23344,
179
+ 143167, 2390, 17433, 5419, 465, 12409,
180
+ 159036, 1193, 15960, 14511, 6505, 7623,
181
+ 180106, 344, 4876, 20244, 35946, 4606,
182
+ 180201, 3899, 16933, 32504, 27197, 17759,
183
+ 178960, 2958, 16866, 7675, 27515, 24257,
184
+ 182260, 3936, 4443, 5269, 20062, 1823,
185
+ 185482, 1283, 5108, 19895, 29599, 6743,
186
+ 187606, 1941, 16577, 34274, 5463, 9770,
187
+ 181882, 1703, 16653, 2838, 12929, 19172,
188
+ 187689, 1835, 16233, 1594, 11182, 16525,
189
+ 189338, 1951, 15473, 28850, 34872, 1966,
190
+ 188234, 4622, 17207, 23254, 28808, 1108,
191
+ 193969, 1258, 16928, 6702, 18766, 15979,
192
+ 194266, 5961, 14734, 31781, 2155, 22485,
193
+ 194407, 1824, 17191, 27157, 18175, 14312,
194
+ 198520, 5404, 3896, 9888, 12890, 8174,
195
+ 183056, 542, 4823, 14123, 28884, 8681,
196
+ 200971, 3322, 16461, 8266, 29769, 33868,
197
+ 203271, 2116, 17308, 24836, 3041, 870,
198
+ 201114, 2628, 17400, 19981, 17835, 3927,
199
+ 200879, 4099, 15922, 13919, 35379, 22558,
200
+ 208875, 2130, 17589, 29171, 31831, 15454,
201
+ 209349, 2670, 16051, 29335, 3234, 4046,
202
+ 160687, 2662, 15884, 31087, 31419, 34353,
203
+ 207229, 6989, 15245, 1132, 7465, 11129,
204
+ 212450, 562, 16382, 29361, 20503, 4496,
205
+ 206482, 5188, 16748, 901, 29318, 7883,
206
+ 212770, 4537, 17017, 5343, 8345, 5266,
207
+ 208002, 3015, 17856, 27646, 20895, 33010,
208
+ 112822, 1731, 5228, 16183, 10329, 19998,
209
+ 158567, 1933, 16991, 2226, 17251, 7096,
210
+ 171789, 4460, 3723, 15828, 31082, 25843,
211
+ 173470, 4723, 16184, 20533, 33216, 341,
212
+ 179563, 487, 4848, 13699, 32447, 23595,
213
+ 212694, 2007, 15886, 5125, 4299, 11643,
214
+ 218571, 5548, 17088, 13823, 35241, 11741,
215
+ 219585, 1322, 16262, 4465, 26431, 34252,
216
+ 213575, 2125, 16564, 19904, 31608, 11459,
217
+ 225027, 4890, 16411, 29281, 18740, 9574,
218
+ 217215, 4130, 16047, 23239, 33244, 15437,
219
+ 224147, 1986, 16434, 7709, 7316, 19264,
220
+ 220145, 3814, 15980, 25415, 24030, 28713,
221
+ 222365, 4303, 16583, 20992, 24058, 35339,
222
+ 225039, 1424, 17139, 8686, 12685, 19363,
223
+ 233724, 3060, 16092, 24468, 32739, 9984,
224
+ 222852, 4753, 15355, 15633, 79, 24665,
225
+ 228158, 5381, 14661, 26247, 34982, 11241,
226
+ 229140, 4662, 14357, 27697, 34965, 12144,
227
+ 238046, 3531, 15798, 21304, 24391, 32355,
228
+ 240885, 4714, 17402, 30405, 5330, 21381,
229
+ 255477, 1322, 16918, 32113, 11606, 23312,
230
+ 265641, 3964, 16445, 5043, 21741, 18089,
231
+ 260648, 2816, 16357, 24846, 34134, 33421,
232
+ 199842, 3749, 15462, 29172, 15943, 26820,
233
+ 229409, 3098, 16078, 25228, 32821, 14444,
234
+ 247711, 2378, 16355, 27688, 24624, 31811,
235
+ 266467, 1582, 17248, 2260, 6538, 34028,
236
+ 131510, 2033, 17486, 8140, 10508, 26538,
237
+ 112659, 4117, 4856, 6784, 10957, 6996,
238
+ 113159, 1819, 5156, 18866, 7587, 4498,
239
+ 136322, 3376, 16262, 129, 11871, 31540,
240
+ 182958, 2453, 17044, 6986, 9822, 8903,
241
+ 181537, 1348, 4415, 26959, 13489, 5201,
242
+ 193048, 2883, 17024, 15361, 25467, 22651,
243
+ 197844, 2553, 17287, 34343, 28528, 20843,
244
+ 209760, 5123, 17039, 22800, 10668, 940,
245
+ 182564, 729, 4963, 15321, 7175, 10486,
246
+ 182891, 4919, 3674, 24614, 17213, 29607,
247
+ 150888, 1819, 16940, 34096, 18068, 14108,
248
+ 150670, 2494, 17075, 24903, 9892, 28784,
249
+ 181726, 2335, 4245, 23872, 8599, 18379,
250
+ 180123, 3501, 16621, 23299, 7982, 22898,
251
+ 187868, 2798, 15471, 29536, 16122, 9669,
252
+ 186900, 2659, 17349, 17308, 4001, 29339,
253
+ 193196, 1416, 17155, 3076, 12110, 29561,
254
+ 220095, 2398, 17491, 19447, 29960, 8138,
255
+ 251003, 2401, 15635, 11572, 33882, 27956,
256
+ 113609, 5357, 4058, 26761, 10160, 29238,
257
+ 174109, 4547, 3896, 3803, 2387, 35392,
258
+ 112837, 4075, 4566, 539, 10851, 18936,
259
+ 113240, 1540, 4952, 34880, 7398, 33303,
260
+ 113840, 4779, 4465, 18795, 8213, 35027,
261
+ 113524, 2278, 5016, 20496, 7229, 30632,
262
+ 114033, 3162, 5066, 11048, 10943, 4668,
263
+ 161776, 3888, 16542, 14485, 12467, 2523,
264
+ 174011, 1893, 15601, 28612, 10890, 6664,
265
+ 175325, 3615, 3530, 29029, 3329, 25102,
266
+ 176411, 954, 16905, 1797, 3395, 21777,
267
+ 178029, 6263, 3801, 14597, 6542, 6527,
268
+ 178297, 3060, 4741, 18997, 30015, 34923,
269
+ 188667, 3206, 17119, 21793, 9085, 31283,
270
+ 185052, 6879, 3249, 11603, 27398, 22495,
271
+ 185518, 5691, 15939, 8403, 20952, 2220,
272
+ 202663, 1379, 16724, 2024, 31180, 24509,
273
+ 199486, 4025, 14378, 28898, 2750, 21113,
274
+ 216114, 4330, 15975, 24779, 34756, 11753,
275
+ 243397, 1074, 17216, 29271, 573, 10044,
276
+ 245719, 1065, 16327, 8102, 28437, 32569,
277
+ 238667, 3154, 15953, 5636, 9567, 23065,
278
+ 236165, 952, 16231, 34625, 11396, 32712,
279
+ 258672, 2059, 16734, 15972, 15354, 28089,
280
+ 274735, 4513, 17026, 25467, 879, 29153,
281
+ 112945, 3730, 4959, 8356, 10977, 7758,
282
+ 112995, 1792, 5158, 6294, 7611, 31545,
283
+ 114069, 4533, 4563, 2385, 10520, 8187,
284
+ 162894, 3721, 16404, 2231, 9243, 9745,
285
+ 166087, 3972, 3516, 30402, 31833, 16460,
286
+ 170940, 3585, 16649, 29115, 9502, 13812,
287
+ 171686, 4284, 14727, 23895, 31541, 26484,
288
+ 179819, 1413, 16802, 22592, 18526, 23628,
289
+ 176706, 1194, 4924, 4202, 6871, 13759,
290
+ 179625, 1136, 17209, 11849, 25779, 26696,
291
+ 190725, 3264, 16903, 34699, 22100, 11298,
292
+ 194305, 595, 15834, 28917, 8366, 33108,
293
+ 196338, 1248, 16683, 17973, 8802, 20114,
294
+ 206324, 2423, 15991, 7105, 15389, 23004,
295
+ 207333, 3527, 16926, 26283, 35816, 21181,
296
+ 216292, 2843, 15941, 27406, 17862, 27392,
297
+ 213924, 1382, 14281, 34549, 31988, 9427,
298
+ 219184, 4322, 16523, 11135, 27493, 458,
299
+ 219754, 286, 16644, 27828, 25111, 12166,
300
+ 221406, 6236, 15288, 14861, 3005, 8032,
301
+ 223117, 2969, 16619, 18003, 24281, 25301,
302
+ 224287, 4917, 17167, 3064, 25028, 9645,
303
+ 229615, 5515, 16436, 18893, 4699, 33630,
304
+ 226900, 1328, 16138, 3941, 19924, 2063,
305
+ 226098, 2579, 17535, 1518, 6129, 24652,
306
+ 229037, 3269, 16929, 6076, 18168, 4739,
307
+ 237333, 2860, 17747, 8977, 28245, 21156,
308
+ 240004, 4504, 16120, 33387, 29102, 17358,
309
+ 242715, 4147, 16110, 35643, 7834, 10202,
310
+ 244120, 3808, 16525, 28855, 14755, 8705,
311
+ 268736, 3364, 16508, 8565, 28169, 14658,
312
+ 260437, 5543, 15873, 9068, 14891, 5510,
313
+ 263031, 1572, 16647, 11415, 29610, 23304,
314
+ 269920, 2646, 16903, 7644, 33694, 22632,
315
+ 112217, 3644, 5187, 14822, 30170, 33355,
316
+ 113311, 2237, 4804, 24541, 11430, 22586,
317
+ 176782, 3140, 4587, 7473, 27123, 35514,
318
+ 175951, 2873, 16724, 27970, 3389, 13192,
319
+ 262867, 6557, 16408, 28768, 16905, 6584,
320
+ 119740, 4536, 4529, 3619, 11353, 18729,
321
+ 121616, 1915, 4499, 28085, 9742, 259,
322
+ 140509, 1239, 16521, 25385, 30131, 7536,
323
+ 131990, 1514, 17219, 33449, 23329, 4878,
324
+ 153738, 2689, 16117, 32330, 14585, 27581,
325
+ 140192, 3405, 17109, 21499, 10880, 24026,
326
+ 159200, 6547, 16586, 31154, 20716, 3041,
327
+ 153064, 1551, 17001, 15308, 12331, 18017,
328
+ 169934, 5430, 16799, 30170, 1644, 3518,
329
+ 182074, 5354, 15753, 30060, 15734, 1415,
330
+ 169918, 2619, 15981, 28855, 13843, 943,
331
+ 176881, 5050, 3405, 18929, 30564, 25869,
332
+ 172456, 4813, 4017, 4353, 31569, 31183,
333
+ 175436, 266, 4874, 3649, 24182, 3839,
334
+ 172355, 2906, 13291, 12443, 34297, 4090,
335
+ 176865, 558, 15872, 14239, 905, 5488,
336
+ 187115, 3414, 4591, 10171, 26598, 15606,
337
+ 185347, 4089, 16520, 22209, 13553, 12897,
338
+ 186441, 3065, 16937, 2391, 34861, 23381,
339
+ 189872, 3245, 16478, 24351, 33392, 12236,
340
+ 202437, 2501, 16589, 18005, 13878, 24315,
341
+ 200992, 5399, 14740, 34281, 15567, 22236,
342
+ 200145, 5262, 17261, 9398, 4389, 29634,
343
+ 198850, 1192, 17085, 25102, 7643, 22840,
344
+ 184127, 4394, 13741, 26464, 21208, 23287,
345
+ 210632, 1440, 16068, 28364, 25419, 22359,
346
+ 202088, 158, 16977, 22397, 7841, 3947,
347
+ 216789, 7339, 14981, 27900, 34094, 10367,
348
+ 214058, 4669, 16742, 33984, 31206, 19121,
349
+ 221232, 1238, 16826, 879, 18440, 3962,
350
+ 217472, 3389, 16414, 34746, 19642, 23961,
351
+ 200530, 1957, 17500, 9949, 27259, 35976,
352
+ 121519, 9187, 15062, 8167, 34834, 2447,
353
+ 205461, 1617, 16683, 14238, 3197, 21508,
354
+ 206974, 4151, 16552, 28878, 691, 17910,
355
+ 215040, 2292, 17258, 3684, 35354, 17297,
356
+ 219572, 593, 16734, 2521, 7256, 33281,
357
+ 223347, 2184, 16832, 27390, 25487, 32282,
358
+ 196249, 3437, 16756, 20328, 19073, 14956,
359
+ 238992, 6871, 15295, 11750, 1423, 3813,
360
+ 246161, 4183, 14543, 34732, 10225, 18401,
361
+ 255328, 1240, 16167, 24542, 27783, 30513,
362
+ 203303, 179, 16958, 190, 11822, 4239,
363
+ 216481, 81, 17192, 22490, 17862, 8417,
364
+ 116641, 2506, 16688, 4115, 34514, 3259,
365
+ 230376, 1819, 17360, 21927, 23915, 26627,
366
+ 189513, 1896, 16593, 34147, 35947, 31600,
367
+ 210956, 5284, 14745, 1424, 3870, 2948,
368
+ 113195, 3739, 4659, 24193, 11537, 8859,
369
+ 233813, 2265, 16185, 24721, 34135, 10177,
370
+ 224357, 1622, 14744, 7280, 10562, 27179,
371
+ 170971, 924, 17013, 32914, 8579, 29660,
372
+ 172607, 6343, 3489, 8017, 9682, 4365,
373
+ 171037, 5131, 3386, 14554, 10573, 6069,
374
+ 112798, 5328, 4033, 25164, 9821, 15155,
375
+ 206318, 2635, 17053, 11504, 22713, 6442,
376
+ 112728, 5117, 4616, 10569, 10198, 28370,
377
+ 173173, 951, 17151, 14182, 9770, 2664,
378
+ 203916, 4833, 16991, 288, 4927, 11852,
379
+ 176012, 1758, 17327, 11086, 29282, 19828,
380
+ 180474, 6244, 16146, 34379, 8410, 34553,
381
+ 140429, 4970, 15816, 1492, 23290, 16220,
382
+ 184754, 2449, 16696, 12605, 32732, 898,
383
+ 71716, 795, 13949, 17572, 34399, 611,
384
+ 122284, 4630, 15439, 25993, 2254, 12882,
385
+ 162237, 3844, 14389, 32392, 17834, 23517,
386
+ 173682, 4787, 14999, 25487, 886, 32776,
387
+ 79538, 1562, 14164, 19009, 3278, 7486,
388
+ 85013, 2089, 16616, 19975, 16710, 22032,
389
+ 42764, 1393, 14749, 10392, 12447, 31129,
390
+ 143812, 8680, 5004, 1787, 7348, 31515,
391
+ 207140, 3209, 16795, 22861, 17557, 19689,
392
+ 79772, 1849, 14197, 26592, 14143, 18058,
393
+ 55120, 7457, 500, 31947, 29659, 32397,
394
+ 165635, 2502, 11280, 21819, 15590, 31568,
395
+ 490189, 1681, 12224, 32196, 14423, 18489,
396
+ 221317, 1391, 5311, 5969, 6360, 14937,
397
+ 236900, 3995, 3911, 4837, 13920, 18861,
398
+ 493921, 7332, 14239, 7490, 11080, 19888,
399
+ 234836, 5403, 4153, 27255, 6432, 21610,
400
+ 514697, 4367, 13542, 26701, 10504, 11786,
401
+ ];
@@ -0,0 +1,118 @@
1
+ /**
2
+ * How a body was found, as the instrument of its day: `ancient` (seen by eye since before recorded history), `visual` (a telescope and an eye), `calculation` (worked out from its pull on another planet, then looked for),
3
+ * `photographic` (plates), `electronic` (a digital camera on a telescope), `adaptive-optics` (a ground telescope that corrects the air), `space-telescope` or `spacecraft`. This field is worked out here from the place and
4
+ * the date of each record (its source says `derived`), not read from a published list.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { DISCOVERY_METHODS } from "@johnmorrisdotca/wakusei-planets/discovery";
9
+ *
10
+ * console.log(DISCOVERY_METHODS.join(", "));
11
+ * ```
12
+ */
13
+ export declare const DISCOVERY_METHODS: readonly ["ancient", "visual", "calculation", "photographic", "electronic", "adaptive-optics", "space-telescope", "spacecraft"];
14
+ /**
15
+ * One way a body was found.
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * import { DISCOVERY_METHODS, type DiscoveryMethod } from "@johnmorrisdotca/wakusei-planets/discovery";
20
+ *
21
+ * const how: DiscoveryMethod = DISCOVERY_METHODS[1];
22
+ * console.log(how);
23
+ * ```
24
+ */
25
+ export type DiscoveryMethod = (typeof DISCOVERY_METHODS)[number];
26
+ /**
27
+ * A fact and where it was read: the key of its source in `DISCOVERY_SOURCES` (`usgs`, `jpl-sbdb`, `jpl-ssd-moons`, `wikidata`, or `derived` for what is worked out here).
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * import { discoveryOf, DISCOVERY_SOURCES, type DiscoveryFact } from "@johnmorrisdotca/wakusei-planets/discovery";
32
+ *
33
+ * const place: DiscoveryFact<string> | null = discoveryOf("neptune")!.place;
34
+ * if (place !== null) console.log(place.value, "from", DISCOVERY_SOURCES[place.source]![0]);
35
+ * ```
36
+ */
37
+ export interface DiscoveryFact<T> {
38
+ value: T;
39
+ source: string;
40
+ }
41
+ /**
42
+ * What the sources say of one body's discovery. A field is `null` where the sources read give nothing (a body known since before recorded history has no date, place or discoverer; the one who found Haumea is not named
43
+ * by the Gazetteer or JPL). `date` is an ISO day, or a month where the source gives only that (`1989-06`); `place` and `by` are as the source writes them; `designation` is the first provisional designation (`1930 BM`,
44
+ * `S/1978 P 1`); `number` is the minor planet number (`(134340)`) or the moon's number round its planet (`Saturn VI`); `announced` is the circular that announced a moon; `nameOrigin` is where the name comes from, told in our
45
+ * own words. `notes` lists where another source gives a different day or credit, and what a field leaves out.
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * import { discoveryOf, type Discovery } from "@johnmorrisdotca/wakusei-planets/discovery";
50
+ *
51
+ * const triton: Discovery = discoveryOf("triton")!;
52
+ * console.log(triton.date?.value, triton.place?.value, triton.by?.value.join(", "), triton.nameOrigin?.value);
53
+ * ```
54
+ */
55
+ export interface Discovery {
56
+ id: string;
57
+ kind: "planet" | "dwarf-planet" | "moon";
58
+ /** True for what has been known since before recorded history: Mercury to Saturn, the Earth and the Moon. */
59
+ ancient: boolean;
60
+ date: DiscoveryFact<string> | null;
61
+ place: DiscoveryFact<string> | null;
62
+ by: DiscoveryFact<readonly string[]> | null;
63
+ method: DiscoveryFact<DiscoveryMethod> | null;
64
+ designation: DiscoveryFact<string> | null;
65
+ number: DiscoveryFact<string> | null;
66
+ announced: DiscoveryFact<string> | null;
67
+ namedBy: DiscoveryFact<string> | null;
68
+ nameOrigin: DiscoveryFact<string> | null;
69
+ notes: readonly string[];
70
+ }
71
+ /**
72
+ * The bodies that have a discovery record: the eight planets, nine dwarf planets and the Moon and 28 other moons the package draws in full, in the order of the Sun outward.
73
+ *
74
+ * @example
75
+ * ```ts
76
+ * import { DISCOVERY_IDS } from "@johnmorrisdotca/wakusei-planets/discovery";
77
+ *
78
+ * console.log(DISCOVERY_IDS.length, DISCOVERY_IDS[0]);
79
+ * ```
80
+ */
81
+ export declare const DISCOVERY_IDS: readonly string[];
82
+ /**
83
+ * Every source the records are read from: its key, then its name, its address and the day it was read. The key `derived` is what is worked out here and has no address.
84
+ *
85
+ * @example
86
+ * ```ts
87
+ * import { DISCOVERY_SOURCES } from "@johnmorrisdotca/wakusei-planets/discovery";
88
+ *
89
+ * for (const [key, [name, address, read]] of Object.entries(DISCOVERY_SOURCES)) console.log(key, name, address, read);
90
+ * ```
91
+ */
92
+ export declare const DISCOVERY_SOURCES: Readonly<Record<string, readonly [name: string, address: string, read: string]>>;
93
+ /**
94
+ * The discovery record of a body, or `undefined` for a body that has none.
95
+ *
96
+ * @param id - The body's id, as `BODY_IDS` has it (`neptune`, `charon`).
97
+ * @returns The record, or `undefined` when the body has none.
98
+ *
99
+ * @example
100
+ * ```ts
101
+ * import { discoveryOf } from "@johnmorrisdotca/wakusei-planets/discovery";
102
+ *
103
+ * const eris = discoveryOf("eris")!;
104
+ * console.log(eris.designation?.value, eris.date?.value, eris.place?.value);
105
+ * ```
106
+ */
107
+ export declare function discoveryOf(id: string): Discovery | undefined;
108
+ /**
109
+ * Every discovery record, in the order of `DISCOVERY_IDS`.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * import { DISCOVERIES } from "@johnmorrisdotca/wakusei-planets/discovery";
114
+ *
115
+ * console.log(DISCOVERIES.filter((d) => d.kind === "moon").length, "moons");
116
+ * ```
117
+ */
118
+ export declare const DISCOVERIES: readonly Discovery[];
@@ -0,0 +1,67 @@
1
+ // When, where, how and by whom each planet, dwarf planet and fully drawn moon was found, how it was first designated and numbered, and where its name comes from, as plain data: every fact says which source it was read from.
2
+ // The records are in `data/discovery.ts`, made by `scripts/make-discovery-data.py` from the Gazetteer of Planetary Nomenclature (IAU, hosted by the USGS), the JPL Small-Body Database, JPL's moon discovery page and Wikidata.
3
+ // Pure: no DOM, no clock reads, no three.js.
4
+ import { RECORDS, SOURCES } from "./data/discovery.js";
5
+ /**
6
+ * How a body was found, as the instrument of its day: `ancient` (seen by eye since before recorded history), `visual` (a telescope and an eye), `calculation` (worked out from its pull on another planet, then looked for),
7
+ * `photographic` (plates), `electronic` (a digital camera on a telescope), `adaptive-optics` (a ground telescope that corrects the air), `space-telescope` or `spacecraft`. This field is worked out here from the place and
8
+ * the date of each record (its source says `derived`), not read from a published list.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * import { DISCOVERY_METHODS } from "@johnmorrisdotca/wakusei-planets/discovery";
13
+ *
14
+ * console.log(DISCOVERY_METHODS.join(", "));
15
+ * ```
16
+ */
17
+ export const DISCOVERY_METHODS = ["ancient", "visual", "calculation", "photographic", "electronic", "adaptive-optics", "space-telescope", "spacecraft"];
18
+ /**
19
+ * The bodies that have a discovery record: the eight planets, nine dwarf planets and the Moon and 28 other moons the package draws in full, in the order of the Sun outward.
20
+ *
21
+ * @example
22
+ * ```ts
23
+ * import { DISCOVERY_IDS } from "@johnmorrisdotca/wakusei-planets/discovery";
24
+ *
25
+ * console.log(DISCOVERY_IDS.length, DISCOVERY_IDS[0]);
26
+ * ```
27
+ */
28
+ export const DISCOVERY_IDS = RECORDS.map((r) => r.id);
29
+ /**
30
+ * Every source the records are read from: its key, then its name, its address and the day it was read. The key `derived` is what is worked out here and has no address.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * import { DISCOVERY_SOURCES } from "@johnmorrisdotca/wakusei-planets/discovery";
35
+ *
36
+ * for (const [key, [name, address, read]] of Object.entries(DISCOVERY_SOURCES)) console.log(key, name, address, read);
37
+ * ```
38
+ */
39
+ export const DISCOVERY_SOURCES = SOURCES;
40
+ /**
41
+ * The discovery record of a body, or `undefined` for a body that has none.
42
+ *
43
+ * @param id - The body's id, as `BODY_IDS` has it (`neptune`, `charon`).
44
+ * @returns The record, or `undefined` when the body has none.
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * import { discoveryOf } from "@johnmorrisdotca/wakusei-planets/discovery";
49
+ *
50
+ * const eris = discoveryOf("eris")!;
51
+ * console.log(eris.designation?.value, eris.date?.value, eris.place?.value);
52
+ * ```
53
+ */
54
+ export function discoveryOf(id) {
55
+ return RECORDS.find((r) => r.id === id);
56
+ }
57
+ /**
58
+ * Every discovery record, in the order of `DISCOVERY_IDS`.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * import { DISCOVERIES } from "@johnmorrisdotca/wakusei-planets/discovery";
63
+ *
64
+ * console.log(DISCOVERIES.filter((d) => d.kind === "moon").length, "moons");
65
+ * ```
66
+ */
67
+ export const DISCOVERIES = RECORDS;
package/dist/facts.js CHANGED
@@ -232,7 +232,7 @@ export const BODIES = {
232
232
  charon: f("charon", "moon", "Charon", "カロン", 606, 0, 0, 132.993, -6.163, 122.695, 56.3625225, 153.2935, "#9c9189", { parent: "pluto", synchronous: true, features: [{ kind: "oval", lon: 0, lat: 76, rx: 90, ry: 14, fill: true }, { kind: "circle", lon: 40, lat: -15, radius: 12 }, ...dots([[-60, 10, 8], [120, 30, 7]])] }),
233
233
  nix: f("nix", "moon", "Nix", "ニクス", 19.3, 0.3, 0, 132.993, -6.163, 0, 14.48, 0, "#b3ada7", { parent: "pluto", axesKm: [24.9, 16.6, 15.6], features: [{ kind: "circle", lon: 0, lat: 0, radius: 18 }] }),
234
234
  hydra: f("hydra", "moon", "Hydra", "ヒドラ", 19.5, 0.4, 0, 132.993, -6.163, 0, 9.42, 0, "#c4beb6", { parent: "pluto", axesKm: [32.5, 22.5, 12.5], features: [{ kind: "circle", lon: 30, lat: 10, radius: 20 }] }),
235
- vanth: f("vanth", "moon", "Vanth", "ヴァント", 221, 0, 0, 142.474, 15.004, 0, 37.738618, 228.9488, "#6e6a66", { parent: "orcus", synchronous: true, features: dots([[-50, 15, 10], [80, -20, 9], [150, 30, 8]]) }),
235
+ vanth: f("vanth", "moon", "Vanth", "ヴァンス", 221, 0, 0, 142.474, 15.004, 0, 37.738618, 228.9488, "#6e6a66", { parent: "orcus", synchronous: true, features: dots([[-50, 15, 10], [80, -20, 9], [150, 30, 8]]) }),
236
236
  hiiaka: f("hiiaka", "moon", "Hiʻiaka", "ヒイアカ", 185, 0, 0, 282.6, -13, 0, 0, 0, "#e0e0e0", { parent: "haumea", features: dots([[-30, 20, 12], [70, -25, 10]]) }),
237
237
  namaka: f("namaka", "moon", "Namaka", "ナマカ", 75, 0, 0, 282.6, -13, 0, 0, 0, "#d0d0d0", { parent: "haumea", features: dots([[0, 0, 14]]) }),
238
238
  dysnomia: f("dysnomia", "moon", "Dysnomia", "ディスノミア", 308, 0, 0, 36.17, 44.51, 0, 22.805163, 378.8616, "#5a5856", { parent: "eris", synchronous: true, features: dots([[-60, 20, 10], [50, -25, 9], [140, 30, 8]]) }),