openradar / xradar

A tool to work in weather radar data in xarray
https://docs.openradarscience.org/projects/xradar
MIT License
85 stars 17 forks source link

ENH: Add a utility for finding sweep number keys #167

Closed mgrover1 closed 3 months ago

mgrover1 commented 3 months ago

Add a utility to find the sweep_n keys in a given datatree. This will help with downstream applications, especially with Py-ART, and since this information will be stored in the core data model.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.33%. Comparing base (0145954) to head (5945ad2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #167 +/- ## ========================================== + Coverage 91.30% 91.33% +0.02% ========================================== Files 21 21 Lines 3956 3969 +13 ========================================== + Hits 3612 3625 +13 Misses 344 344 ``` | [Flag](https://app.codecov.io/gh/openradar/xradar/pull/167/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openradar) | Coverage Δ | | |---|---|---| | [notebooktests](https://app.codecov.io/gh/openradar/xradar/pull/167/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openradar) | `80.47% <7.69%> (-0.24%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/openradar/xradar/pull/167/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openradar) | `89.64% <100.00%> (+0.03%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openradar#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mgrover1 commented 3 months ago

I'll add that in!! 👍

mgrover1 commented 3 months ago

@kmuehlbauer good to merge?