Skip to content

Commit

Permalink
removing redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
laspsandoval committed Aug 29, 2024
1 parent 7e1f0fd commit 5517114
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions imap_processing/ialirt/l0/decom_ialirt.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Decommutates i-alirt packets and creates L1 data products."""

import logging
from typing import cast

import xarray as xr

Expand All @@ -26,9 +25,6 @@ def generate_xarray(packet_file: str, xtce: str) -> dict[int, xr.Dataset]:
alirt_dict : dict
A dictionary of the dataset containing the decoded data fields.
"""
alirt_dict = cast(
dict[int, xr.Dataset],
packet_file_to_datasets(packet_file, xtce, use_derived_value=False),
)
alirt_dict = packet_file_to_datasets(packet_file, xtce, use_derived_value=False)

return alirt_dict

0 comments on commit 5517114

Please sign in to comment.