Currently visible comets from a location (observe multiple comets) #754
Unanswered
jurezakrajsek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im preparing a comet planner for my website, where i would need to calulate the visibility of ~2000 comets from MPC list (or my database list) and eliminate them by brightnes, altitude above horizon (at transit time), apparent distance from the sun and moon , and calculate the time the comets is highest in the sky ...
It should work in real-time as the users are supposed to be able to change the date that the list should be produced for.
Currently im doing this with pyephem, which seems to work quite vell but for some comets issues a near-parrabolic error.
So the idea was to swith to skyfields
I can loop through the objects and observe() each individaully, but this process takes almost 60s for 2000 comets, and I didnt even start to calculate the transit time, or time best visible.
Here is part of the code i came up with so far:
Is there any better way on how to do this calculation with skyfields on multiple comets at once?
Any ideas or directions would be appreciated.
Best regards
Jure
Beta Was this translation helpful? Give feedback.
All reactions