In JacchiaRobertsAtmosphere.cpp:
utc_time = (Real)a1mjd_time.ToUtcMjd();// - 0.5;
That ToUtcMjd is calling A1Mjd::GetA1UtcDiffAnalytic, which is some kind of linear fit to estimate UTC (from Swingby and using estimates from the 80s maybe?). The problem is it's not a good estimate anymore (it's multiple seconds off). So, you will end up in the wrong Kp bin when you are close to a transition from one to another.
Is there a good reason for using this method rather than the actual number of leap seconds?
In
JacchiaRobertsAtmosphere.cpp:utc_time = (Real)a1mjd_time.ToUtcMjd();// - 0.5;That
ToUtcMjdis callingA1Mjd::GetA1UtcDiffAnalytic, which is some kind of linear fit to estimate UTC (from Swingby and using estimates from the 80s maybe?). The problem is it's not a good estimate anymore (it's multiple seconds off). So, you will end up in the wrong Kp bin when you are close to a transition from one to another.Is there a good reason for using this method rather than the actual number of leap seconds?