comets and mps
#1106
|
hi! how can i get the current 10 brightest comets and minor planets? |
Answered by
heinkurz
Dec 14, 2025
Replies: 3 comments 7 replies
|
Here is an example that should get you close. https://rhodesmill.org/skyfield/stars.html#filtering-the-star-catalog Note that what results you get will greatly depend on which catalog you use. |
3 replies
|
You probably want to grab https://minorplanetcenter.net/iau/Ephemerides/Bright/2025/Soft00Bright.txt Then have a look through #416 which seems to discus methods of calculating the apparent magnitude |
1 reply
|
I'm now near a solution and it works with comets but I have a problem with minor planets. The last line raises an error: What's wrong? I've downloaded MPCORB.DAT from the MPC site so it must be correct. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem found!
MPCORB.DAT must be free of all header lines, only the pure data lines should remain.
And there have been failures in the original source code.
So here is my solution: