Skip to content

Add support for SpiceRef associated reference frame

Benoit Seignovert requested to merge 63-spiceref-frame into main

Add new .frame property to all SpiceRef objects:

>>> SpiceRef('Jupiter Barycenter').frame  # SpiceRef from toolkit
'IAU_JUPITER_BARYCENTER'

>>> SpiceRef('JUPITER').frame  # SpiceBody
'IAU_JUPITER'

>>> SpiceRef('JUICE').frame  # SpiceSpacecraft
'JUICE_SPACECRAFT'

>>> SpiceRef('JUICE_JANUS')  # SpiceInstrument
'JUICE_JANUS'

>>> SpiceRef('JUICE_JUP_AMALTHEA_RING').frame  # SpiceRef from frame kernel (fk/juice_sci_v11.tf)
'JUICE_JUP_AMALTHEA_RING'

See docs.

Fix

  • Change of ESA SPICE bitbucket url API endpoint
  • Upgrade pytest-cov test dependency.

Closes #63 (closed) and #61 (closed).

Edited by Benoit Seignovert

Merge request reports