You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-47Lines changed: 30 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,25 +29,8 @@ Note that TLEs should be updated at least daily to avoid drift in calculations.
29
29
30
30
More info on TLEs:
31
31
32
-
-[Two-line element set (Wikipedia)](https://en.wikipedia.org/wiki/Two-line_element_set)
33
-
-[TLE details from CASTOR](http://castor2.ca/03_Mechanics/03_TLE/)
34
-
35
-
## Support for CommonJS (e.g. Node <=12)
36
-
37
-
If you are using an older version of Node or a package that doesn't yet have ES Module support (and are getting the error `ERR_REQUIRE_ESM`), you will need to point to the special CommonJS build target. Simply change the `import` format in the following examples to this `require` format:
TLE epoch year (last two digits) when the TLE was generated.
346
329
347
-
-Range: 00 to 99
330
+
- Range: 00 to 99
348
331
349
332
```js
350
333
import { getEpochYear } from"tle.js";
@@ -357,7 +340,7 @@ getEpochYear(tle);
357
340
TLE epoch day of the year (day of year with fractional portion of the day) when the TLE was
358
341
generated.
359
342
360
-
-Range: 1 to 365.99999999
343
+
- Range: 1 to 365.99999999
361
344
362
345
```js
363
346
import { getEpochDay } from"tle.js";
@@ -382,7 +365,7 @@ two, measured in orbits per day per day (orbits/day<sup>2</sup>). Defines how me
382
365
from day to day, so TLE propagators can still be used to make reasonable guesses when distant
383
366
from the original TLE epoch.
384
367
385
-
-Units: Orbits / day<sup>2</sup>
368
+
- Units: Orbits / day<sup>2</sup>
386
369
387
370
```js
388
371
import { getFirstTimeDerivative } from"tle.js";
@@ -399,7 +382,7 @@ so software can make reasonable guesses when distant from the original TLE epoch
399
382
400
383
Usually zero, unless the satellite is manuevering or in a decaying orbit.
401
384
402
-
-Units: Orbits / day<sup>3</sup>
385
+
- Units: Orbits / day<sup>3</sup>
403
386
404
387
```js
405
388
import { getSecondTimeDerivative } from"tle.js";
@@ -414,7 +397,7 @@ Note: the original value in TLE is `00000-0` (= `0.0 x 10`<sup>`0`</sup> = `0`).
414
397
[BSTAR](https://en.wikipedia.org/wiki/BSTAR) drag term. This estimates the effects of atmospheric
415
398
drag on the satellite's motion.
416
399
417
-
-Units: EarthRadii<sup>-1</sup>
400
+
- Units: EarthRadii<sup>-1</sup>
418
401
419
402
```js
420
403
import { getBstarDrag } from"tle.js";
@@ -441,7 +424,7 @@ getOrbitModel(tle);
441
424
TLE element set number, incremented for each new TLE generated since launch. 999 seems to mean the
442
425
TLE has maxed out.
443
426
444
-
-Range: Technically 1 to 9999, though in practice the maximum number seems to be 999.
427
+
- Range: Technically 1 to 9999, though in practice the maximum number seems to be 999.
445
428
446
429
```js
447
430
import { getTleSetNumber } from"tle.js";
@@ -453,7 +436,7 @@ getTleSetNumber(tle);
453
436
454
437
TLE line 1 checksum (modulo 10), for verifying the integrity of this line of the TLE. Note that letters, blanks, periods, and plus signs are counted as 0, while minus signs are counted as 1.
0 commit comments