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

NEXRAD fixes #1833

Merged
merged 2 commits into from
Apr 27, 2021
Merged

NEXRAD fixes #1833

merged 2 commits into from
Apr 27, 2021

Conversation

dopplershift
Copy link
Member

Description Of Changes

This Stack Overflow Question linked to some data in S3 that violated some assumptions by Level2File. Some are oddities (like "look here for Vel and SW data" but "oh there are 0 bins of that data"). But we also had a bug where a variable was used uninitialized (triggered by an oddity), but it also turned out we had an off-by-one error--tests were masking warnings that resulted. We're now explicitly checking the count of log messages in our NEXRAD tests.

Checklist

  • Tests added
  • Fully documented

Commit f021338 refactored the offset handling, but left an
off-by-one error. This produced some warnings, but they were not
caught--so now add to the tests to check the amount of warnings that get
spit out.
@dopplershift dopplershift added Type: Bug Something is not working like it should Area: IO Pertains to reading data labels Apr 27, 2021
@dopplershift dopplershift added this to the 1.0.1 milestone Apr 27, 2021
dcamron
dcamron previously approved these changes Apr 27, 2021
@dopplershift
Copy link
Member Author

Oh fun, a Windows-only failure.

@dopplershift
Copy link
Member Author

Changed to make sure we only parse the date/time (and set the clutter_filter_map attribute) for message 15 if we're not skipping.

This file, which has AR2V0001 as the version, has some oddities in it.
Improve the parser to cope with these better.
@dcamron dcamron merged commit 6a827df into Unidata:main Apr 27, 2021
@dopplershift dopplershift deleted the nexrad-fixes branch April 27, 2021 18:20
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.

2 participants