Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lo pkt definitions for housekeeping, sectored, angular,and priority counts #158

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

GFMoraga
Copy link
Contributor

Change Summary

I added the rest of codice lo packets in xtce format. Also deleted some files that where not being used. changed directory to not be uppercase

Overview

Added codice packet definitions.

New Files

  • xtce_generator_codice.py

    • the xtce generator for ONLY codice packets
  • 7 packet definitions in xtce format

Deleted Files

  • deleted decom_python_example.py
    • not required anymore due to new decom files
  • deleted example_xtce.xml
    • not needed because we have xtce_generator_template.py

@GFMoraga GFMoraga added Ins: CoDICE Related to the CoDICE instrument Level: L0 Level 0 processing labels Sep 13, 2023
@GFMoraga GFMoraga self-assigned this Sep 13, 2023
@GFMoraga GFMoraga marked this pull request as ready for review September 13, 2023 22:51
Copy link
Contributor

@tech3371 tech3371 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides that one comment about local path, it looks good to me.

for certain number of packets. Change values where TODO is
"""

# TODO: change instrument name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this won't change, we can delete this TODO

module_path = f"{current_directory}/../../imap_processing"
packet_definition_path = f"{module_path}/{instrument_name}/packet_definitions"
# TODO: Copy packet definition to tools/xtce_generation/ folder
path_to_excel_file = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would avoid committing local path.
I would do something like this

path_to_excel_file = f"{current_directory}/TLM_COD_20230629-110638(update).xlsx"

all someone else would need to do is copy excel file to tools/xtce_generation/ and update excel filename as needed if it's different.

@GFMoraga GFMoraga merged commit 1c617e6 into IMAP-Science-Operations-Center:dev Sep 13, 2023
12 checks passed
@GFMoraga GFMoraga deleted the packet_definitions branch September 13, 2023 23:30
maxinelasp pushed a commit to maxinelasp/imap_processing that referenced this pull request Oct 2, 2023
…ounts (IMAP-Science-Operations-Center#158)

Added pkt definitions for housekeeping, sectored, angular,and priority counts.
laspsandoval pushed a commit to laspsandoval/imap_processing that referenced this pull request Nov 15, 2023
…ounts (IMAP-Science-Operations-Center#158)

Added pkt definitions for housekeeping, sectored, angular,and priority counts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ins: CoDICE Related to the CoDICE instrument Level: L0 Level 0 processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants