From 5296619192825899312c42d983f8edb365e0e4c9 Mon Sep 17 00:00:00 2001 From: Tim Plummer Date: Mon, 13 Apr 2026 15:35:56 -0600 Subject: [PATCH] Fix hi l1a tests broken by upgrade to cdflib 1.3.9 --- imap_processing/hi/hi_l1a.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imap_processing/hi/hi_l1a.py b/imap_processing/hi/hi_l1a.py index 48a6b4388..0d32cf775 100644 --- a/imap_processing/hi/hi_l1a.py +++ b/imap_processing/hi/hi_l1a.py @@ -404,11 +404,11 @@ def finish_hist_dataset(input_ds: xr.Dataset) -> xr.Dataset: dataset = input_ds.rename_vars({"shcoarse": "ccsds_met"}) dataset.epoch.attrs.update( - attr_mgr.get_variable_attributes("epoch"), + attr_mgr.get_variable_attributes("epoch", check_schema=False), ) # Add the hist_angle coordinate # Histogram data is binned in 90, 4-degree bins - attrs = attr_mgr.get_variable_attributes("hi_hist_angle") + attrs = attr_mgr.get_variable_attributes("hi_hist_angle", check_schema=False) dataset.coords.update( { "angle": xr.DataArray( @@ -535,7 +535,7 @@ def finish_memdmp_dataset(input_ds: xr.Dataset) -> xr.Dataset: dataset = dataset.rename_vars({"shcoarse": "ccsds_met"}) dataset.epoch.attrs.update( - attr_mgr.get_variable_attributes("epoch"), + attr_mgr.get_variable_attributes("epoch", check_schema=False), ) # Update existing variable attributes