Open dopplershift opened 1 year ago
So first, as identified in #1256, we should try to actually parse full METAR products, so that we can grab the correct date from the product header. Right now we have a kind of hack that just joins lines it thinks are from METARs (to handle wrapping) and discards everything else:
After that, having better heuristics for guessing the appropriate date by combining "now" and what's in the data would be good. I'm not in love with python-metar
's code--there has to be a better way using timedelta
rather than that decision tree of manual wrapping? (I could very well be wrong, though.)
Discussed in https://github.com/Unidata/MetPy/discussions/2706
(cc @akrherz)