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

Can't create times in Universal Time #91

Closed
voronY opened this issue May 11, 2016 · 1 comment
Closed

Can't create times in Universal Time #91

voronY opened this issue May 11, 2016 · 1 comment
Assignees

Comments

@voronY
Copy link

voronY commented May 11, 2016

t = ts.ut1(jd=2788977)
AttributeError: 'Timescale' object has no attribute 'ut1'
Skyfield 0.8 installed with pip. Works 'ok' with tai, tt and tdb.

@brandon-rhodes
Copy link
Member

This one is going to be interesting: since the TT–UT1 difference is looked up by TT, I suspect that a ut1() method will have to iterate until it finds an acceptable TT. Which will involve a Boolean mask over the array of times provided that lets me keep iterating on the ones that are still converging.

But there is a similar loop over in the code that does light round-trip times, so I'll see what I can do! I might get some time to work on Skyfield this weekend.

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

No branches or pull requests

2 participants