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

FIX: Fix handling of sweep_mode attribiutes #143

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

mgrover1
Copy link
Collaborator

@mgrover1 mgrover1 commented Oct 31, 2023

We currently do not decode the sweep_mode attributes properly with the cfradial reader, and the common decoder used in the readers does not fully handle xr.DataArray data structures. This adds a fix, along with a test to ensure we are handling this properly

  • Tests added
  • Changes are documented in history.md

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #143 (fed23f5) into main (815f504) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   88.32%   88.33%   +0.01%     
==========================================
  Files          20       20              
  Lines        3436     3439       +3     
==========================================
+ Hits         3035     3038       +3     
  Misses        401      401              
Flag Coverage Δ
unittests 88.33% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
xradar/io/backends/cfradial1.py 86.39% <100.00%> (ø)
xradar/io/backends/common.py 91.17% <100.00%> (+0.26%) ⬆️

Copy link
Collaborator

@kmuehlbauer kmuehlbauer left a comment

Choose a reason for hiding this comment

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

LGTM!

@mgrover1 mgrover1 merged commit 5570e22 into openradar:main Oct 31, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants