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

Refactor hit_l1a.py to use packet_file_to_datasets function #828

Merged

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    112a26c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5ef12c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb6cc90 View commit details
    Browse the repository at this point in the history
  4. Finalize housekeeping l1a updates and set up start for science data

    -Add function to handle concatenating leak_i variables.
    -Drop variables from housekeeping dataset that aren't needed
     for the CDF product.
    -Update dimensions and add attributes to the housekeeping Dataset.
    -Delete create_datasets function since packet_file_to_datasets.
     creates xarray datasets and those just need to be updated. This
     will happen in housekeeping and science data processing functions.
    -Add function to process science data (WIP).
    -Clean up code and add/update docstrings and comments.
    vmartinez-cu committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    e6befe5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8dd4d18 View commit details
    Browse the repository at this point in the history
  6. Update unit tests for refactored hit_l1a.py.

    hit_l1a.py was refactored to use the packet_file_to_datasets
    function. The unit tests were updated to reflect changes.
    
    -Added new fixtures for attributes manager, datasets dict, and
     housekeeping dataset.
    -Added new tests for new functions (concatenating leak_i data
     and processing housekeeping).
    -Added additional assertions for housekeeping dataset.
    vmartinez-cu committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6f5c63a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    98a7852 View commit details
    Browse the repository at this point in the history
  8. Delete test for housekeeping data class. Need to delete the data clas…

    …ses, but only after hit_l1b is refactored not to use it
    vmartinez-cu committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ac78b25 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    197132e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    86062ca View commit details
    Browse the repository at this point in the history
  11. Add adc_channels as a parameter to the function that concatenates the…

    … leak_i variables to assign as a dimension. Also change dims to a dict from a list since assign_coords takes in a dictionary
    vmartinez-cu committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    9a0debd View commit details
    Browse the repository at this point in the history
  12. Update test for concatenating leak_i variables to take in new paramet…

    …er. Also add assertion to check values are correct
    vmartinez-cu committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    19fec46 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    1d77f36 View commit details
    Browse the repository at this point in the history