speed2u: Convert speed/direction to u-component of wind

Description Usage Arguments Details Value Examples

Description

speed2u returns u-component of wind

Usage

1
speed2u(s, d)

Arguments

s

wind speed

d

wind direction in degrees

Details

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

Value

u-component of wind

Examples

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

nwagenbrenner/windtools documentation built on May 24, 2019, 10:56 a.m.