metar_airport {pmetar} | R Documentation |
Get airport ICAO, International Civil Aviation Organization, code.
Description
Extract an airport ICAO code from METAR weather report.
Usage
metar_airport(x)
Arguments
x |
character vector; METAR weather report or reports. |
Value
a character vector with an airport ICAO code.
Examples
metar_airport("EPWA 281830Z 18009KT 140V200 9999 SCT037 03/M01 Q1008 NOSIG")
metar_airport("CYUL 281800Z 13008KT 30SM BKN240 01/M06 A3005 RMK CI5 SLP180")
metar_airport("201711271930 METAR LEMD 271930Z 02002KT CAVOK 04/M03 Q1025")
metar_airport("202103251800 METAR COR NFTL 251800Z 00000KT SCT017TCU BKN290 25/25 Q1014")
[Package pmetar version 0.5.0 Index]