-
|
hi! how can i get the current 10 brightest comets and minor planets? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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: