From 07e90bfa45a5199a358687a6e8326d773501a6f2 Mon Sep 17 00:00:00 2001 From: Tim Plummer Date: Mon, 22 Dec 2025 15:23:50 -0700 Subject: [PATCH] Hard code IMAP_DPS id Use SpiceFrame --- imap_processing/spice/pointing_frame.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imap_processing/spice/pointing_frame.py b/imap_processing/spice/pointing_frame.py index fbd92dd72..17f5ed85c 100644 --- a/imap_processing/spice/pointing_frame.py +++ b/imap_processing/spice/pointing_frame.py @@ -120,8 +120,6 @@ def write_pointing_frame_ck( parent_cks : list[str] Filenames of the CK kernels that the quaternions were derived from. """ - id_imap_dps = spiceypy.gipool("FRAME_IMAP_DPS", 0, 1) - comments = [ "CK FOR IMAP_DPS FRAME", "==================================================================", @@ -149,7 +147,7 @@ def write_pointing_frame_ck( # End time of the segment. segment["end_sclk_ticks"], # Pointing frame ID. - int(id_imap_dps), + SpiceFrame.IMAP_DPS.value, # Reference frame. SpiceFrame.ECLIPJ2000.name, # Reference frame # Identifier.