From 1f96a30733e7e7e0c9c8b79cee819229644e6694 Mon Sep 17 00:00:00 2001 From: Daralynn Rhode <143308810+daralynnrhode@users.noreply.github.com> Date: Wed, 31 Jul 2024 09:43:16 -0600 Subject: [PATCH] Update imap_processing/swapi/l1/swapi_l1.py Co-authored-by: Greg Lucas --- imap_processing/swapi/l1/swapi_l1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap_processing/swapi/l1/swapi_l1.py b/imap_processing/swapi/l1/swapi_l1.py index cf0c9bd1d..dd2aea00c 100644 --- a/imap_processing/swapi/l1/swapi_l1.py +++ b/imap_processing/swapi/l1/swapi_l1.py @@ -105,7 +105,7 @@ def decompress_count( # Decompress counts based on compression indicators # If 0, value is already decompressed. If 1, value is compressed. # If 1 and count is 0xFFFF, value is overflow. - new_count: np.ndarray = copy.deepcopy(count_data).astype(np.int32) + new_count = np.array(count_data, dtype=np.int32) # If data is compressed, decompress it compressed_indices = compression_flag == 1