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

ENH: Move xdrlib inside metpy #3117

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

mgrover1
Copy link
Contributor

@mgrover1 mgrover1 commented Jul 15, 2023

Description Of Changes

Moves xdrlib class into MetPy

Checklist

@mgrover1 mgrover1 requested a review from a team as a code owner July 15, 2023 14:55
@mgrover1 mgrover1 requested review from dopplershift and removed request for a team July 15, 2023 14:55
@dopplershift dopplershift added this to the September 2023 milestone Aug 30, 2023
mgrover1 and others added 2 commits September 1, 2023 18:32
This format is expressed easily enough using our existing IOBuffer
class, so just put the unpacking methods directly in Level3XDRParser and
use IOBuffer for unpacking.
@dopplershift
Copy link
Member

Thanks for the initial cut of this! Based on that, I could see we could almost trivially write this using our existing IOBuffer class so I've collapsed this down (net gain of 23 lines).

@dcamron can you review since I have code on this now?

@dopplershift
Copy link
Member

We could definitely compress this down further, but I feel like this is a good balance of not modifying the original XDR client code we had, and instead it just replaces the parts from Unpacker for the most part.

@dcamron dcamron merged commit 72095f1 into Unidata:main Sep 13, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove use of xdrlib in NEXRAD code
3 participants