AVSLab / basilisk

Astrodynamics simulation framework
https://hanspeterschaub.info/basilisk
ISC License
132 stars 63 forks source link

SPICE versions differ between platforms #654

Open dpad opened 5 months ago

dpad commented 5 months ago

The versions of the SPICE libraries included in libs/cspice/lib are different between different platforms. Specifically, on Linux, the SPICE toolkit version is N0065, but on MacOS, the SPICE toolkit version is N0067.

This causes some potentially subtle differences in SPICE usage. One specific example is the initial time string passed to gravBodyFactory.createSpiceInterface(), because of some changes to time parsing in SPICE N0067. Some strings (e.g. ISO-format strings with a "Z" suffix) are acceptable in MacOS Basilisk, but not on Linux Basilisk.

I recommend updating all SPICE libraries to match their versions.

schaubh commented 3 months ago

howdy @dpad , thanks for letting us know. I wasn't aware of that difference. We've copied over these platform specific files for years. There is another issue #728 looking at having these file pulled from the original servers. That could address this as well.