metar_gust: Get gust speed.

View source: R/metar_gust.R

metar_gustR Documentation

Get gust speed.

Description

Extract a gust speed from METAR weather report.

Usage

metar_gust(x, metric = TRUE)

Arguments

x

Input character vector; a METAR weather report or reports.

metric

For the default metric = TRUE a returned gust wind speed is in m/s. If it's FALSE, in knots.

Value

a numeric vector with a gust speed in m/s or in knots.

Examples

metar_gust("METAR EPWA 141200Z 30011G22KT 270V340 9999 -SHRA SCT007 BKN015CB 18/17 Q1011")
metar_gust("CYUL 101900Z 27015G25KT 15SM DRSN SCT028 BKN090 OVC110 M04/M10 A2973 RMK")
metar_gust("201711271930 METAR LEMD 271930Z 02002KT CAVOK 04/M03 Q1025")


pmetar documentation built on Oct. 26, 2023, 1:08 a.m.