bwiggs / go-nexrad

NEXRAD Data Processing with Go
https://bwiggs.com/projects/go-nexrad/
MIT License
26 stars 12 forks source link

Build 10 / Super Resolution Level II Support (all data pre-2008) #13

Open SteepAtticStairs opened 2 years ago

SteepAtticStairs commented 2 years ago

This is not an issue that is super important compared to the issue of supporting data before 2016, because I think it is much more likely people will want to use data before 2016 than they will want to use data before 2008. However, for the sake of thoroughness, I am opening this issue.

I was doing some more research on the history of NEXRAD data, and I came upon this article referenced by a wikipedia page. I realized that this means that there was yet another change in NEXRAD data formatting, this time in 2008 - although there was no set date, that wikipedia page said the changes happed from "March to August 2008".

From what I can gather, it looks like this update was when the MSG31 format was added - and although I know almost nothing about the actual binary structures of these radar files, I do know that message 31 is rather important in their decoding.

All that to say, these pre-2008 files do not work with go-nexrad. Again, this is not as big of an issue as the pre-2016 radar file incompatibility issue was, but I am opining this issue for the sake of thoroughness. Here are the radar files that I am using to test which work with the current go-nexrad project (all of these files are links to their direct downloads):

DOES NOT WORK

WORKS

I noticed that all the files that worked had a V03 on the end of their filename, but the one file with V04 did not work. All files without any V0 do not work, and currently it is V06. Is this relevant at all?

EDIT: I opened KABR20080604_201723_V04.gz in NOAA's Weather and Climate Toolkit and it appears to be either corrupted or a file that does not contain any radar data, if this is helpful at all.

bwiggs commented 2 years ago

Thanks for the detailed report! Adding those sample files that don't work is very helpful.

I suspect there's going to be even more work to be done as we support files from farther and farther back.

vcabbage commented 2 years ago

Ran across the project and wanted to say it's very cool. I deal with this data in my day job and figured I'd drop a couple notes, I hope they're useful.