Open spenczar opened 1 year ago
Great info, thanks. This repo has long been idle, I never finished what I started here, but if I come back to it, I'll take this into consideration.
Yep, makes sense. I came across it because I'm doing some work on orbit determination and ephemeris generation in Rust, and needed an astronomy-quality time library. You're the first thing that shows up in crates.io when you look in that direction.
TCB is a dynamical coordinate time scale which does not proceed at a fixed rate relative to TT. This implementation is not correct.
See, for example, the description provided by SOFA:
In fact, because of this, most people use TDB in practice, since it has a quasi-periodic behavior that can be approximated. See Fairhead and Bretagnon for a useful model. TDB can only be specified at a particular location, though. You could assume the geocenter but you'd be off by a significant amount (microseconds).