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 Updates #1251

Merged
merged 8 commits into from Dec 22, 2019
Merged

NEXRAD Updates #1251

merged 8 commits into from Dec 22, 2019

Conversation

dopplershift
Copy link
Member

Description Of Changes

A variety of fixes and clean-ups for NEXRAD:

  • Remove assertions and replace with logging in Level2File
  • Update to load TDWR Level2 data without warnings
  • Update Message 31 to better work with the varying number of data blocks; this also means it now supports when NEXRAD adds a new moment in Build 19.0.
  • Update Message 2 support from ICD
  • Remove commented line from Level3File. It was unnecessary and its poor indentation was breaking pydocstyle

This also tweaks the doc build to hopefully unbreak CI. I moved the sphinx-autosummary config to conf.py and it seems to work fine (so long as we bump to a minimum of 2.1). This is needed because running the script as we did before seems borked (sphinx-doc/sphinx#6936)

Checklist

The attribute commented out isn't even referenced anywhere else. The
fact that this was commented out in column 1 (rather than with a
properly indented #) was causing pydocstyle to choke on it.
Really just need to be a bit less exacting and allow for some padding
bytes. (Data are not yet operational.)
@dopplershift dopplershift added this to the 0.12 milestone Dec 21, 2019
@dopplershift dopplershift added Area: IO Pertains to reading data Type: Enhancement Enhancement to existing functionality Type: Maintenance Updates and clean ups (but not wrong) labels Dec 21, 2019
Update for latest draft ICD. Also better adjust to changing sizes.
Instead of relying on the version encoded for the volume, look at the
size of the radial constant blocks.
The moments vary from sweep to sweep, but we were always reading 6
pointers rather than looking at the encoded value. This would have
bitten us when they started shipping a 7th moment with Build 19.
Instead of using the sphinx-autogen script, we can now, as of Sphinx
2.1, just set a couple variables in conf.py. This is good, because
running the script seems completely broken with 2.3.
Not sure why we were adding Cygwin to the PATH, but it breaks
setuptools_scm.
@dopplershift dopplershift merged commit e9d67ac into Unidata:master Dec 22, 2019
@dopplershift dopplershift deleted the fix-nexrad branch December 22, 2019 00:13
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: Enhancement Enhancement to existing functionality Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update NEXRAD Level2File for TDWR
1 participant