Hi,
I've been messing around with Celestia recently and discovered that all it's ephemeris files (.ssc and .xyz files) are referenced to TBD (Barycentric Dynamical Time) which is the same as JPL Horizons CT (Coordinate Time).
Whenever you request pos/vel vectors or osculating elements from Horizons, the time you input and the time returned as the ephemeris epoch are CT (Coordinate Time).
CT is not the same as UT or UTC.
UT is always within 0.9sec of UTC, and UTC is kept in line with UT by adding leap seconds to UTC every so often (at midnight June 30 or December 31).
For this purposes of this post, I'm going to ignore the difference between UT and UTC - we know it's going to be less than 1sec.
As far as I can tell from the web CT = UTC + 32.184sec + (leap seconds)
and the current leap second count is 34.
Thus, currently CT = UTC + 66.184sec
Now, Orbiter uses MJD/UT. Starting a scenario with parameter Date MJD55000.5 shows a UT time of 18 June 2009 12:00:00 UT.
So, thinks I, if I want to get vectors(for a spacecraft,say) from Horizons for this scenario time, I should use the correct CT time, which would be UT + 66.184sec = 18 June 2009 12:01:06.184
But this doesn't work in Orbiter - it puts my spacecraft 1000's of km away from where it should be. Whereas requesting the vectors from Horizons using the UT time without the 66.184sec offset works very well.
Conclusion: as far as the positions of Orbiter's Earth,Moon,Planets,etc. are concerned the time shown by the on-screen clock in Orbiter is actually CT not UT, and the MJD date used in the scenarios is referenced to CT not UT.
No big deal, but if you're running a historical simulation and your historical information says "launch occured at 18 June 2009, 12:00:00 UT", in Orbiter you should launch 66.184sec earlier, at 11:58:53.816 UT by the Orbiter clock.
Maybe I'm wrong, I find all these different timescales quite confusing! Check it for yourself if you're interested.
Here's some useful links about time scales:
http://star-www.rl.ac.uk/star/dvi/sun67.htx/node222.html
http://tycho.usno.navy.mil/systime.html
http://ssd.jpl.nasa.gov/?horizons_doc#timesys
Regards,
Brian
I've been messing around with Celestia recently and discovered that all it's ephemeris files (.ssc and .xyz files) are referenced to TBD (Barycentric Dynamical Time) which is the same as JPL Horizons CT (Coordinate Time).
Whenever you request pos/vel vectors or osculating elements from Horizons, the time you input and the time returned as the ephemeris epoch are CT (Coordinate Time).
CT is not the same as UT or UTC.
UT is always within 0.9sec of UTC, and UTC is kept in line with UT by adding leap seconds to UTC every so often (at midnight June 30 or December 31).
For this purposes of this post, I'm going to ignore the difference between UT and UTC - we know it's going to be less than 1sec.
As far as I can tell from the web CT = UTC + 32.184sec + (leap seconds)
and the current leap second count is 34.
Thus, currently CT = UTC + 66.184sec
Now, Orbiter uses MJD/UT. Starting a scenario with parameter Date MJD55000.5 shows a UT time of 18 June 2009 12:00:00 UT.
So, thinks I, if I want to get vectors(for a spacecraft,say) from Horizons for this scenario time, I should use the correct CT time, which would be UT + 66.184sec = 18 June 2009 12:01:06.184
But this doesn't work in Orbiter - it puts my spacecraft 1000's of km away from where it should be. Whereas requesting the vectors from Horizons using the UT time without the 66.184sec offset works very well.
Conclusion: as far as the positions of Orbiter's Earth,Moon,Planets,etc. are concerned the time shown by the on-screen clock in Orbiter is actually CT not UT, and the MJD date used in the scenarios is referenced to CT not UT.
No big deal, but if you're running a historical simulation and your historical information says "launch occured at 18 June 2009, 12:00:00 UT", in Orbiter you should launch 66.184sec earlier, at 11:58:53.816 UT by the Orbiter clock.
Maybe I'm wrong, I find all these different timescales quite confusing! Check it for yourself if you're interested.
Here's some useful links about time scales:
http://star-www.rl.ac.uk/star/dvi/sun67.htx/node222.html
http://tycho.usno.navy.mil/systime.html
http://ssd.jpl.nasa.gov/?horizons_doc#timesys
Regards,
Brian
