question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support programatic leap seconds

See original GitHub issue

Currently, 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:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
eteqcommented, Dec 3, 2018

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.

1reaction
mhvkcommented, Oct 5, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found