stevenpaligo / spacetrack-client

Java client for the Space-Track.org REST API
Apache License 2.0
1 stars 4 forks source link

Use UtcInstant objects for TLE epochs #3

Open stevenpaligo opened 4 years ago

stevenpaligo commented 4 years ago

The epochs for TLE and LatestTLE use UTC-SLS instants. Can that be changed to the more accurate UctInstant?

stevenpaligo commented 4 years ago

TLEs store epochs using a fractional day, so there is no way to put 86401 seconds in there. I think is is safe to say there is no obvious solution how to handle this.

A search of SpaceTrack showed there are no TLEs with an epoch on a leap second, at least back to 1995. So it is possible the JSpOC doesn't do that as a matter of procedure. If the following link is correct, they may just fudge it if an epoch ever occurs on a leap second.

https://space.stackexchange.com/a/13826