Support programatic leap seconds
See original GitHub issueCurrently, there’s no way for astropy
to programmatically change what the leap-seconds are, because the leap seconds are accessed through ERFA. This is problematic because it means when there’s a new leap second we have to do a bugfix release.
The fix in Astropy itself would be pretty easy, as it can be extracted from the IERS files that we already are using for DUT1 and such. But the non-trivial part is updating ERFA to have an interface for setting the leap second - see liberfa/erfa#43 for discussion on that.
cc @mhvk
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Leap second - Wikipedia
A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC), to accommodate the difference between precise time...
Read more >How to SET the leap seconds programmatically - u-blox
I have a memory together with the MCU to which the GPS receiver is connected. Thus, the lead seconds offset can be saved...
Read more >Leap Seconds - Orolia
A Leap Second is an intercalary1Intercalary: (of a day or a month) inserted in the calendar to harmonize it with the solar year,...
Read more >RTP and Leap Seconds RFC 7164 - IETF Datatracker
RTP and Leap Seconds RFC 7164 ; RFC - Proposed Standard (March 2014). Updates RFC 3550. Was draft-ietf-avtcore-leap-second (avtcore WG) · Kevin Gross...
Read more >Leap Seconds Will Expire by 2035, Easing Time Trouble for ...
Leap seconds, used for a half century to synchronize atomic clocks with variations in the Earth's rotation, are being phased out.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
At the astropy coordination meeting 2018, @adrn, @timj, @stargaser, et al. decided this is a good thing to prioritize for 3.2 (which means working on the
liberfa
fix asap). Hence the milestoning above.@bsipocz - no, not yet, we now have in principle the ability to update the leap second table, but we still need to put in place the machinery to get that updated table.