pyiem.ncei.ds3505 module
Implementation of the NCEI DS3505 format
https://www1.ncdc.noaa.gov/pub/data/ish/ish-format-document.pdf
-
pyiem.ncei.ds3505.vsbyfmt(val)[source]
Tricky formatting of vis
-
pyiem.ncei.ds3505.gen_metar(data)[source]
Convert our parsed dictionary into a METAR
-
pyiem.ncei.ds3505.parser(msg, call_id, add_metar=False)[source]
Parse the message(single line) into a dict
- Parameters:
msg (str) – the single line of data to parse into a dict
call_id (str) – hard coded call_id as the data can’t be trusted, sigh
add_metar (bool,optional) – should a METAR be generated? Default: False
- Returns:
dict or None
Parse the additional data fields