Skip to content

Commit

Permalink
Added UT1 registration
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleCeresoli committed Jan 5, 2024
1 parent 4021d36 commit 6660394
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/IERSConventions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,10 @@ module IERSConventions
# Rotation functions
include("rotations.jl")

function __init__()
if !Tempo.has_timescale(TIMESCALES, Tempo.timescale_id(UT1))
Tempo.add_timescale!(TIMESCALES, UT1, offset_tt2ut1; parent=TT)
end
end

end

0 comments on commit 6660394

Please sign in to comment.