Skip to content

Conversation

@dopplershift
Copy link
Member

Description Of Changes

At some point the fixed VCP info in message type 18 was converted to a spare field. This still parses fine when filled with 0's, but apparently some sites are now sending out some random bytes in this location, which can break our parser.

Checklist

@dopplershift dopplershift added Type: Bug Something is not working like it should Area: IO Pertains to reading data labels Feb 27, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Feb 27, 2024
@dopplershift dopplershift requested a review from a team as a code owner February 27, 2024 21:54
@dopplershift dopplershift requested review from dcamron and removed request for a team February 27, 2024 21:54
@dopplershift dopplershift changed the title Handle NEXRAD message 18 missing VCP info (Fixes #3413) Handle NEXRAD message 18 missing VCP info Feb 27, 2024

def test_msg18_novcps():
"""Check handling of message type 18 with VCP info now spares does not crash."""
f = Level2File(get_test_data('KJKL_20240227_102059', as_file_obj=False))

Check warning

Code scanning / CodeQL

File is not always closed

File is opened but is not closed.
At some point the fixed VCP info in message type 18 was converted to a
spare field. This still parses fine when filled with 0's, but apparently
some sites are now sending out some random bytes in this location, which
can break our parser.
@dcamron dcamron merged commit bd432b3 into Unidata:main Feb 28, 2024
@dopplershift dopplershift deleted the fix-3413 branch February 29, 2024 16:12
@dopplershift dopplershift modified the milestones: 1.7.0, 1.6.2 Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: IO Pertains to reading data Type: Bug Something is not working like it should

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Traceback error using Level2File opening a start L2 radar chunk file

2 participants