2021-10-12, 05:39 PM
I'd like you guys to know that I am thinking about observing close approaches and how to make SkyTools do that better. Eventually I will improve the code, but until then I can offer some advice. You guys may already know this, but just in case...
Because the number of minor planets has grown so large, I have had to come up with some creative ways of speeding things up for both general use, and plotting on the charts (two very different problems to solve). As a result things got very complicated. I added pre-calculations at the time when the elements are added, so that they will calculate faster later, and separated minor planets into a special database just for plotting, which also unfortunately adds overhead when you add them to the database. In the years that I was developing ST4, I don't think I spent more time on anything else. I had to go back to it again and again, trying things, and changing the database design, until it seemed to be the right mix. In the process it all got very complex, and that makes it more likely that sneaky little bugs are hiding from me. The fact that some of you "power users" have had trouble with corruption of your database sort of keeps me up at night, so please keep an eye out for any smoking guns when things go wrong. Right now, I don't know where to start looking for the problem.
One thing to always keep in mind: how long anything related to minor planets takes is always a function of the number of minor planets in the database. So to make things move as quickly as possible when you add new element sets, be sure to keep the number of minor planets to a minimum in the database. Presumably you guys aren't interested in faint outer solar system objects, so don't have them in your database. What I recommend is to use the Cleanup / Delete button on the Minor Planet Data dialog often. Remember, it won't delete any minor planets that are "in use:" in an observing list, log entry, have attachments, etc. So, you can even tell it to "Delete all minor planets" and that should be safe, as long as the ones you want to keep show up some place such as an observing list. Tip: some imports automatically create observing lists with all of the imported objects. By default these are found in the Auto Generated lists folder. These objects won't delete as long as they are in these lists, so by deleting these lists before you clean up the database, more minor planets will be deleted.
When adding minor planets I would limit them to NEOs only in order to keep things as nimble as possible. You can do that via the special MPC lists, or via the ASTORB download by checking only the NEO box.
Because the number of minor planets has grown so large, I have had to come up with some creative ways of speeding things up for both general use, and plotting on the charts (two very different problems to solve). As a result things got very complicated. I added pre-calculations at the time when the elements are added, so that they will calculate faster later, and separated minor planets into a special database just for plotting, which also unfortunately adds overhead when you add them to the database. In the years that I was developing ST4, I don't think I spent more time on anything else. I had to go back to it again and again, trying things, and changing the database design, until it seemed to be the right mix. In the process it all got very complex, and that makes it more likely that sneaky little bugs are hiding from me. The fact that some of you "power users" have had trouble with corruption of your database sort of keeps me up at night, so please keep an eye out for any smoking guns when things go wrong. Right now, I don't know where to start looking for the problem.
One thing to always keep in mind: how long anything related to minor planets takes is always a function of the number of minor planets in the database. So to make things move as quickly as possible when you add new element sets, be sure to keep the number of minor planets to a minimum in the database. Presumably you guys aren't interested in faint outer solar system objects, so don't have them in your database. What I recommend is to use the Cleanup / Delete button on the Minor Planet Data dialog often. Remember, it won't delete any minor planets that are "in use:" in an observing list, log entry, have attachments, etc. So, you can even tell it to "Delete all minor planets" and that should be safe, as long as the ones you want to keep show up some place such as an observing list. Tip: some imports automatically create observing lists with all of the imported objects. By default these are found in the Auto Generated lists folder. These objects won't delete as long as they are in these lists, so by deleting these lists before you clean up the database, more minor planets will be deleted.
When adding minor planets I would limit them to NEOs only in order to keep things as nimble as possible. You can do that via the special MPC lists, or via the ASTORB download by checking only the NEO box.