We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d39d69 commit 52f0418Copy full SHA for 52f0418
example/satellites/index.html
@@ -56,7 +56,9 @@
56
const satData = tleData.map(([name, ...tle]) => ({
57
satrec: satellite.twoline2satrec(...tle),
58
name: name.trim().replace(/^0 /, '')
59
- }));
+ }))
60
+ // exclude those that can't be propagated
61
+ .filter(d => !!satellite.propagate(d.satrec, new Date())?.position);
62
63
// time ticker
64
let time = new Date();
0 commit comments