Skip to content

Commit

Permalink
pre-commit passing
Browse files Browse the repository at this point in the history
  • Loading branch information
daralynnrhode committed Aug 6, 2024
1 parent 70516dd commit 66a0b64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion imap_processing/swe/l1a/swe_science.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def swe_science(decom_data: list, data_version: str) -> xr.Dataset:
# where 1260 = 180 x 7 CEMs
# Take the "raw_counts" indices/counts mapping from
# decompression_table and then reshape the return
uncompress_data_ndarray: np.ndarray = np.take(decompression_table, raw_counts)
uncompress_data_ndarray: np.ndarray = np.take(decompression_table, raw_counts)
uncompress_data = uncompress_data_ndarray.reshape(180, 7)
# Save raw counts data as well
raw_counts = raw_counts.reshape(180, 7)
Expand Down
4 changes: 2 additions & 2 deletions imap_processing/ultra/l1b/lookup_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ def get_image_params(image: str) -> np.float64:
value : np.float64
Image parameter value from the CSV file.
"""
value : np.float64 = _IMAGE_PARAMS_DF[image].values[0]
return value
value: np.float64 = _IMAGE_PARAMS_DF[image].values[0]
return value

0 comments on commit 66a0b64

Please sign in to comment.