No MSG5 detected leads to write_grid
failure later
#1396
-
Hello! I've been using py-art to grab and grid some old AWS-stored NEXRAD Level II data. I did a run on post-2009 data and didn't run into any issues reading NEXRAD Level II data and writing it to netcdf after gridding. But I pushed my study period back to 2000 and started to get the At first, I didn't know why my grids were failing to convert to netcdfs properly, but I looked back at the failed ones and during the Is there a way to fix the MSG5 issue? I would assume not an easy one, or that would have been built into the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Can you identify examples of the AWS hosted NEXRAD Level II data that result in the MSG5 issue? |
Beta Was this translation helpful? Give feedback.
-
Message 5 in NEXRAD Level 2 format contains the VCP (Volume Coverage Pattern) information. I believe PyART relies on this to know what scanning parameters to expect, especially when it comes to the elevation angles for sweeps. The funny error message aside, it's really expected for the older data. I don't have documentation on when, but that message started being included it looks like somewhere in the ~2006 timeframe. NEXRAD Level2 format was originally distributed around on tapes and not intended as a file format, and it wasn't readily available on the internet until the early 2000s. It took awhile for all the useful information types (messages) to be included. |
Beta Was this translation helpful? Give feedback.
-
Hello! To add to dopplershift message, I believe Py-ART uses this information and fixed angle for gate coord information etc. (was digging through the code, been awhile haha) but when gridding, it uses the coordinate information to interpolate to a Cartesian grid and my guess is the error is zero coordinate info for the gates causing some issues. Sadly i'm not sure a way around it. I know for datasets outside of nexrad, (users with certain data formats not readable with Py-ART) they usually would create an ingest, add fixed angle to the radar object that recalculate the gate coordinate info with radar.init_gate_latitude_longitude(), but not sure if this is entirely possible in this case sadly. Someone else might have more to add |
Beta Was this translation helpful? Give feedback.
Message 5 in NEXRAD Level 2 format contains the VCP (Volume Coverage Pattern) information. I believe PyART relies on this to know what scanning parameters to expect, especially when it comes to the elevation angles for sweeps.
The funny error message aside, it's really expected for the older data. I don't have documentation on when, but that message started being included it looks like somewhere in the ~2006 timeframe. NEXRAD Level2 format was originally distributed around on tapes and not intended as a file format, and it wasn't readily available on the internet until the early 2000s. It took awhile for all the useful information types (messages) to be included.