-
Hello, I am reading in the following radar file from the amazon sever: When trying to plot the radar data on a map, I'm noticing some weird results for the latitude and longitude values returned with
After doing some digging, I think it has to do with the fact that the radar location, as stored in
It could just be that the data is simply stored wrong in the original level 2 file...in which case maybe there is nothing that can be done. However, other radar data plotters (i.e. ) seem to be able to read/plot the data just fine on a map, so there should be some way to do it... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@chudlerk which version of Py-ART are you using? I tried the following which appeared to work (with the latest version Py-ART 1.13.0): radar = pyart.io.read("KDAX20091014_091934_V03.gz")
print(radar.latitude['data'], radar.longitude['data'])
[38.50111008] [-121.67783356] Or, reading directly from Amazon: radar = pyart.io.read_nexrad_archive("s3://noaa-nexrad-level2/2009/10/14/KDAX/KDAX20091014_091934_V03.gz")
print(radar.latitude['data'], radar.longitude['data'])
[38.50111008] [-121.67783356] |
Beta Was this translation helpful? Give feedback.
-
Whoops, I pasted the wrong URL in my question. I've updated it with one that doesn't work. I'm having trouble installing 1.13.0 with anaconda, but it doesn't work on 1.12.2 |
Beta Was this translation helpful? Give feedback.
-
What sort of conda installation issues are you running into? |
Beta Was this translation helpful? Give feedback.
-
@chudlerk - the older NEXRAD data is missing the required metadata (message 31). See this discussion #1174 where we mention the ability to manually specify which station the radar data is from, which fixes this issue. radar = pyart.io.read_nexrad_archive("s3://noaa-nexrad-level2/2006/07/24/KHNX/KHNX20060724_020338.gz", station="KHNX")
print(radar.latitude['data'], radar.longitude['data']) |
Beta Was this translation helpful? Give feedback.
@chudlerk - the older NEXRAD data is missing the required metadata (message 31). See this discussion #1174 where we mention the ability to manually specify which station the radar data is from, which fixes this issue.