You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
from_altaz(...) does not fully populate the resultant object. #1085
The function from_altaz creates an object lacking a center and a time, however, it has to start with a position and a time, so it seems like it should / could have those fields populated?
Your link has disappeared over the past few weeks, but, even without seeing the example code, I can imagine how the Apparent position will get updated. I think it's quite reasonable that we would set the .center and .t for the user instead of them having to do it themselves, so I'll plan to add it to the next version of Skyfield.
Activity
bryan-lunt commentedon Jun 9, 2025
Here's my code that is using this. Maybe it will make it more clear.
https://github.com/bryan-lunt/celestial_navigation_homework/blob/061fb49eb0cfa2043934dfacbddd2cbbf2cd3fbb/navhw/__init__.py#L46
brandon-rhodes commentedon Jun 27, 2025
Your link has disappeared over the past few weeks, but, even without seeing the example code, I can imagine how the
Apparentposition will get updated. I think it's quite reasonable that we would set the.centerand.tfor the user instead of them having to do it themselves, so I'll plan to add it to the next version of Skyfield.bryan-lunt commentedon Jul 19, 2025
Thank you!
Sorry, I did not realize that my project is still private when I posted the link.