Comets and Minor Planets #747
-
This discussion serves two objectives: firstly, to let others know of the changes at the Minor Planet Center (MPC) in terms of orbital element data for comets and minor planets; secondly a cry for help as it were for my own specific case... BackgroundI have a Python program which pulls down data files from the MPC for comets and minor planets. My program uses A few months ago I noticed some discrepancies between the In parallel, I have converted my program to optionally use The ProblemWhen I brought to the attention of the MPC the discrepancies between Solution 1I could continue to use Solution 2I could switch to Solution 3Continue with @brandon-rhodes: I know you are not the author of Suggestions welcome! I will post a link to this discussion on the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
UpdateGiven that the data files for bright/critical/distant/unusual minor planets are no longer (officially) available and likely have not been updated for some time, I thought about swapping over to use the files on the main data page, namely The next option was to use the full list of minor planets, namely For anyone who needs data for minor planets and wants to screen out bodies by apparent magnitude ("visible" bodies), you are welcome to use the script below. The script reads in Filter MPCORB.DAT by apparent magnitude:
ConclusionUnfortunately for my purposes, I have hit the wall. My astronomy program is an appindicator running on a user's computer and downloads the data files (bright/critical/distant/unusual) once a week. The files are small and so there is little overhead (to download and process). It is now unreasonable to switch to download the Unless I can cross this (hopefully) last hurdle, I have to turn off the minor planet functionality. Note that this issue would still arise had I been fully loaded with Thankfully the single data file for comets is small and matches up well with what I was originally using. See below for a port of the Convert comets in MPC format to XEphem/PyEphem:
|
Beta Was this translation helpful? Give feedback.
-
Epilogue: I have found a source for each of minor planets and comets which provide updated orbital elements and corresponding apparent magnitude (either within the orbital elements or as a separate piece of data). For minor planets, I am using data from Lowell Minor Planet Services; for comets, the Comet Observation database. In terms of the scripts above which convert/filter, please ignore those, as I've found errors and changed my mind about use cases. Instead, I have put together replacement Python3 scripts which implement:
These scripts are in the same vein as the Perl scripts in the XEphem repository mentioned above. @brandon-rhodes I don't want to edit the previous posts/replies to remove old scripts in an attempt to "tidy up". I am happy to paste in here my new scripts and they are free for all. If you want to include the scripts in Skyfield, PyEphem or XEphem repositories, you have my blessing. |
Beta Was this translation helpful? Give feedback.
-
@brandon-rhodes Happy for these to be incorporated into the PyEphem (or XEphem) repository, at your discretion. Convert minor planet data in Lowell format to MPC format
Convert minor planet data in Lowell format to XEphem format
Convert comet data in MPC format to XEphem format
Convert minor planet data in MPC format to XEphem format
|
Beta Was this translation helpful? Give feedback.
Epilogue: I have found a source for each of minor planets and comets which provide updated orbital elements and corresponding apparent magnitude (either within the orbital elements or as a separate piece of data).
For minor planets, I am using data from Lowell Minor Planet Services; for comets, the Comet Observation database.
In terms of the scripts above which convert/filter, please ignore those, as I've found errors and changed my mind about use cases. Instead, I have put together replacement Python3 scripts which implement:
These scripts are in the same vein as the Perl scripts in t…