metar_windshear: Get wind shear information.

View source: R/metar_windshear.R

metar_windshearR Documentation

Get wind shear information.

Description

Function extracts information about wind shear from METAR weather report.

Usage

metar_windshear(x, metric = TRUE)

Arguments

x

character vector; METAR weather report or reports.

metric

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

Value

A character vector with information about wind shear.

Examples

metar_windshear("METAR VHHH 180800Z 12009KT 060V150 FEW010 SCT045 22/18 Q1012 WS R07R")
metar_windshear("CYWG 172000Z 30015G25KT 3/4SM R36/4000FT/D M05/M08 A2992 WS RWY36")
metar_windshear("KPIT 091730Z 091818 22020KT 3SM -SHRA BKN020 WS015/30045KT",
 metric = FALSE)


prcwiek/pmetar documentation built on Oct. 28, 2023, 1:12 a.m.