uv2hd: uv to horizontal speed & direction

Description Usage Arguments Value Author(s) Examples

Description

Convert uv components of wind to horizontal wind speed and direction.

Usage

1
uv2hd(..., deg = T, reverse = T, drop = T)

Arguments

...

The names of the objects to be converted

deg

Should the resulting wind directions are degree or radian?

reverse

should be added 180 degree (or pi) to the wind directions?

drop

Should be deleted the dimensions of an array which have only one level?

Value

Speed and direction of the wind

Author(s)

Ismail SEZEN, sezenismail@gmail.com

Examples

1
2
3
4
uv2hd(1, 1)
uv2hd(c(1, 1))
x <- array(runif(100, -5, 5), dim = c(100, 100, 2))
uv2hd(x)

isezen/rwind documentation built on May 18, 2019, 5:49 a.m.