I-ALiRT CoDICE-Hi - update to use spin angle dimension#3126
Open
laspsandoval wants to merge 1 commit intoIMAP-Science-Operations-Center:devfrom
Open
I-ALiRT CoDICE-Hi - update to use spin angle dimension#3126laspsandoval wants to merge 1 commit intoIMAP-Science-Operations-Center:devfrom
laspsandoval wants to merge 1 commit intoIMAP-Science-Operations-Center:devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new variable,
codice_hi_spin_angle, to the IALIRT Level 1 data processing pipeline and updates the data model and tests to support it. The main goal is to provide explicit spin angle information for each spin sector and polar angle pair, improving data clarity and downstream usability. Additionally, dependencies for thecodice_hi_hvariable are updated to use the new spin angle variable.Additions and updates to data model:
codice_hi_spin_angleinimap_ialirt_l1_variable_attrs.yaml, including its attributes, units, valid range, and dependencies (codice_hi_spin_sector,codice_hi_polar).codice_hi_hto usecodice_hi_spin_angleinstead ofcodice_hi_spin_sectorandcodice_hi_polar, reflecting the new data structure.Code and pipeline changes:
create_xarray_from_recordsincreate_xarray.pyto generate thecodice_hi_spin_angleDataArray, using theHI_IALIRT_SPIN_ANGLEconstant and appropriate attributes. [1] [2]HI_IALIRT_SPIN_ANGLEwhere needed to support the new variable.Testing improvements:
test_create_xarray.pyto verify the presence, shape, and values of the newcodice_hi_spin_anglevariable in the dataset, ensuring correctness.HI_IALIRT_SPIN_ANGLE.