Skip to content

Confusion around J1900_REF_EPOCH and J2000_REF_EPOCH #435

@AljoschaMeyer

Description

@AljoschaMeyer

Hi,

I am not at all well-versed in the world of timekeeping, but had to delve into using TAI recently, and I have a hard time understanding some of the documented constants in hifitime.

The docs for J1900_REF_EPOCH state that this is "The J1900 reference epoch (1900-01-01 at noon) TAI." This contradicts the NAIF SPICE J1900, which is exactly 24 hours earlier. The JD_J1900 constant agrees with NAIF SPICE, and thus contradicts your J1900_REF_EPOCH. Is this an actual inconsistency, or am I missing something? Does this mean that all times in hifitime are off by one day? I'm assuming this is not the case, but I do not really understand why.

The docs for J2000_REF_EPOCH state that the time is midnight, but shouldn't it be noon? Since it is defined as being exactly one century after J1900_REF_EPOCH, it cannot shift by twelve hours, right?

CC @joakim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions