speed2v: Convert speed/direction to v-component of wind

Description Usage Arguments Details Value Examples

View source: R/convert.R

Description

speed2v returns v-component of wind

Usage

1
speed2v(s, d)

Arguments

s

wind speed

d

wind direction in degrees

Details

This fucntion takes a wind speed and direction and returns the v-component of the wind. Direction must be supplied in degrees.

Value

v-component of wind

Examples

1
2
data(wind)
speed2v(wind$obs_speed[1], wind$obs_dir[1])

nwagenbrenner/windtools documentation built on July 27, 2018, 12:04 p.m.