getWindData: Get wind measurement.

View source: R/get_wind_data.R

getWindDataR Documentation

Get wind measurement.

Description

Get wind data, group Nddff and 00fff if exist.

Usage

getWindData(synop)

Arguments

synop

a synop data object, output of the function getSynopSections.

Value

A numeric vector of length 2, c(direction [in degree (0-360)], speed [in m/s]).

Examples


## Not run: 
aaxx <- "AAXX 28154 89022 42698 72506 11360 21382 39758 49808 52006 875// 333 87635="
synop <- getSynopSections(aaxx)
wnd <- getWindData(synop)

## End(Not run)


rijaf-iri/decodeSYNOP documentation built on May 1, 2024, 4:32 p.m.