Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS time conversion #1109

Open
jrollins opened this issue May 24, 2022 · 2 comments
Open

GPS time conversion #1109

jrollins opened this issue May 24, 2022 · 2 comments

Comments

@jrollins
Copy link

jrollins commented May 24, 2022

There is a strong need for GPS time conversion in many science applications. Unfortunately none of the existing python date/time libraries support GPS time conversion. The only library that does on a limited basis is astropy. I am the upstream maintainer of gpstime, which is an attempt to fill that gap. I (and likely much of the scientific community) would be extremely thrilled if this functionality was just folded into arrow.

Feature Request

GPS time conversion support.

@krisfremen
Copy link
Member

@jrollins this would indeed be a great addition to arrow!

We do try to keep arrow as light and standalone as possible, as doing this would require fetching the leap seconds on systems other than Linux.
We'll need to see what trade offs it will require to implement in arrow and keep the experience as smooth as possible.

@jrollins
Copy link
Author

The leap second database is only updated very rarely. One possibility is just distributing the leap second list with arrow, so you wouldn't have to depend on something external. The problem with that of course is that it would get out of date for people who don't update regularly. A warning could be issued if the leap second file is out of date though, telling people to update their install.

Would people be amenable to me putting together a PR that adds this functionality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants