shashwatak / satellite-js

Modular set of functions for SGP4 and SDP4 propagation of TLEs.
MIT License
902 stars 145 forks source link

Non-LEO orbits do not properly display #116

Closed CelesTrak closed 1 year ago

CelesTrak commented 1 year ago

Orbital ring graphics do not properly display for orbits other than LEO. MEO orbits display as partial arcs and GEO orbits only show dots (see attached image).

The orbital periods are correct coming out of SGP4 and into satrecs. The issue appears to be a time restriction (~90 mins) somewhere within the graphics potion of the application. Thus, the LEO orbits display correctly (90 mins), the MEO orbits only show partial arcs (90 mins of a longer period), and GEO orbits (24-hour Period) only show a dot. Screen Shot 2022-08-26 at 6 33 55 PM

thkruz commented 1 year ago

There are no graphics in this library and it only has a propagate function, so anything doing multiple propagate calls (like creating the orbit) are organic to your project or another library.

You seem to be building on top of cesium. Perhaps this was meant for their repo or another project you used as a starting point?

CelesTrak commented 1 year ago

Thanks TK.

Moved to Flowm/satvis. We will keep dialing.