Skip to content

Commit

Permalink
Rename update_ccsds_header_data function for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
vmartinez-cu committed Sep 17, 2024
1 parent 121f38f commit d81e8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imap_processing/hit/l0/decom_hit.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def get_valid_indices(
return indices[sequential_check]


def update_ccsds_header_data(sci_dataset: xr.Dataset) -> xr.Dataset:
def update_ccsds_header_dims(sci_dataset: xr.Dataset) -> xr.Dataset:
"""
Update dimensions of CCSDS header fields.
Expand Down Expand Up @@ -450,7 +450,7 @@ def decom_hit(sci_dataset: xr.Dataset) -> xr.Dataset:
needed for creating an L1A product.
"""
# Update ccsds header fields to use sc_tick as dimension
sci_dataset = update_ccsds_header_data(sci_dataset)
sci_dataset = update_ccsds_header_dims(sci_dataset)

# Group science packets into groups of 20
sci_dataset = assemble_science_frames(sci_dataset)
Expand Down

0 comments on commit d81e8d8

Please sign in to comment.