Skip to content

Commit

Permalink
Update imap_processing/swapi/l1/swapi_l1.py
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Lucas <[email protected]>
  • Loading branch information
daralynnrhode and greglucas authored Jul 31, 2024
1 parent cc6bb94 commit 1f96a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap_processing/swapi/l1/swapi_l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f96a30

Please sign in to comment.