Create a SOFA Interface #212
bbercoviciUspace
started this conversation in
Ideas
Replies: 1 comment
-
I looked at SOFA a while back but never had the time to integrate into BSK. I think it would be a nice alternative to SPICE. I would recommend keeping the same planet state message type, even though the name contains "Spice", at least for now. That way the user can readily switch between using Spice, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Standards of Fundamental Astronomy (SOFA) is a C-library provided by the international Astronomical Union that has potential to complete the use of Spice in Basilisk.
Of particular note are functions that return the Earth's translational and rotational state relative to inertial frames of reference. For instance, the function
iauEpv00
whose docstring is available below.Another function of interest is
iauPlan94
, which allows one to compute the heliocentric state of the other planets. The docstring also provides a quantification of the position and velocity errors compared to spice.I think it would be fairly easy to integrate sofa into Basilisk through a mechanism akin to spiceInterface, but this time leveraging a new class dubbed
sofaInterface
.Potential benefits include
What are your thought on this ? =)
Beta Was this translation helpful? Give feedback.
All reactions