Skip to content

Legacy UTC calculation used by JacchiaRobertsAtmosphere #5

@jacobwilliams

Description

@jacobwilliams

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions