matthewholman / assist

ASSIST is a software package for ephemeris-quality integrations of test particles.
https://assist.readthedocs.io/
GNU General Public License v3.0
24 stars 10 forks source link

Make asteroid SPK file optional #81

Closed spenczar closed 1 year ago

spenczar commented 1 year ago

In some cases, it's not necessary for my purposes to include asteroid perturbers in the force model. But assist_ephem_init still requires a full small bodies ephemeris file, even if I don't intend to use it.

That's a consequential requirement because the SB441-N16 file is over 600MB, which is enough that (for example) it significantly inflates application runtime container sizes. That makes application launch time slower and causes unnecessary network traffic.

So it would be nice if I could use assist without any small bodies ephemeris file. I'm assuming that if "ASTEROIDS" is not in my set of forces, that file is not necessary, which could be wrong, though.

matthewholman commented 1 year ago

Yes, I believe that is correct, that you do not need the full small bodies ephemeris file if asteroid perturbers are not included in the force model. It should fairly straightforward to make this change.