From 90cecf7623af7c423796765a2b15b029bf6b489f Mon Sep 17 00:00:00 2001 From: Daralynn Rhode Date: Tue, 30 Jul 2024 09:07:38 -0600 Subject: [PATCH] codice update --- imap_processing/codice/codice_l1a.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/imap_processing/codice/codice_l1a.py b/imap_processing/codice/codice_l1a.py index f38e9cc55..50acabd6f 100644 --- a/imap_processing/codice/codice_l1a.py +++ b/imap_processing/codice/codice_l1a.py @@ -412,9 +412,14 @@ def process_codice_l1a(file_path: Path, data_version: str) -> xr.Dataset: apid = CODICEAPID.COD_HI_SECT_SPECIES_COUNTS table_id, plan_id, plan_step, view_id = (1, 0, 0, 6) - met0 = (np.datetime64("2024-04-29T00:00") - IMAP_EPOCH).astype("timedelta64[s]") - met0 = met0.astype(np.int64) - met = [met0, met0 + 1] # Using this to match the other data products + met0: np.timedelta64 = (np.datetime64("2024-04-29T00:00") - IMAP_EPOCH).astype( + "timedelta64[s]" + ) + met0_int64: np.int64 = met0.astype(np.int64) + met = [ + met0_int64, + met0_int64 + 1, + ] # Using this to match the other data products science_values = "" # Currently don't have simulated data for this pipeline = CoDICEL1aPipeline(table_id, plan_id, plan_step, view_id)