Skip to content

Support programatic leap seconds #5783

@eteq

Description

@eteq

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions