metar_hour {pmetar} | R Documentation |
Get hour and minutes.
Description
Extract and parse hour and minutes from METAR weather report.
Usage
metar_hour(x)
Arguments
x |
character; a METAR weather report or reports. |
Value
a character vector with the METAR time in the format HH:mm.
Examples
metar_hour("EPWA 281830Z 18009KT 140V200 9999 SCT037 03/M01 Q1008 NOSIG")
metar_hour("CYUL 281800Z 13008KT 30SM BKN240 01/M06 A3005 RMK CI5 SLP180")
metar_hour("201711271930 METAR LEMD 271930Z 02002KT CAVOK 04/M03 Q1025")
[Package pmetar version 0.5.0 Index]