Skip to content

Commit

Permalink
codice update
Browse files Browse the repository at this point in the history
  • Loading branch information
daralynnrhode committed Jul 30, 2024
1 parent 1905b19 commit 90cecf7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions imap_processing/codice/codice_l1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90cecf7

Please sign in to comment.