Fetches PIREPs from the Aviation Weather Center text API and parses each
record. AWC returns one PIREP per line for the pirep endpoint.
The PIREP endpoint is station-centric: results are filtered to reports
near the given center-point airport. The AWC API accepts a single id
only (no comma-separated list), so this function takes a single station
identifier. The identifier must be a 4-letter ICAO code (e.g. KDEN,
not DEN); AWC returns a 400 Invalid location specified for shorter
forms.
Fetches PIREPs from the Aviation Weather Center text API and parses each record. AWC returns one PIREP per line for the
pirependpoint.The PIREP endpoint is station-centric: results are filtered to reports near the given center-point airport. The AWC API accepts a single
idonly (no comma-separated list), so this function takes a single station identifier. The identifier must be a 4-letter ICAO code (e.g.KDEN, notDEN); AWC returns a 400Invalid location specifiedfor shorter forms.