Old NEXRAD "missing" lat lon #1174
-
I was playing around with some old NEXRAD data (Sept 27 1998 from KBUF; 4 inch hail day) and I noticed that these old files have their latitude and longitude a bit messed up. It seems to be centered on the radar location Reproduce the issue here: https://colab.research.google.com/drive/1PeFXuAez7P7pXbkYixTys0pawevSuyKm?usp=sharing I think its a decently easy fix if you can parse the name of the file and then get the lat,lon of the radar location. Thats what i did as a work around:
has this already been implemented somewhere in pyart? if not, where do you see it being implemented? (so I can maybe start drafting a function to help fix) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Great question @dopplerchase - we currently do not make any assumptions about reading the lat/lon from the filename, but you can pass the station id into the As is the case with the older data, if it can't find the radar lat and lon, it will set it to 0, which is what happened here. |
Beta Was this translation helpful? Give feedback.
-
The IO line would look something like this: import pyart
radar = pyart.io.read('./KBUF19980927_204203.gz', station="KBUF") |
Beta Was this translation helpful? Give feedback.
The IO line would look something like this: