wind.mean: Wind-data mean

View source: R/wind_functions2.R

wind.meanR Documentation

Wind-data mean

Description

wind.mean computes the mean (average) wind speed and wind direction of a time series dataset of winds of the same region. Summaries of time series are not trivial to compute. We compute the arithmetic mean for the wind speed. The direction as the circular mean, see https://en.wikipedia.org/wiki/Circular_mean for more details. The U and V components are afterwards transformed from these values.

Usage

wind.mean(x)

Arguments

x

An object of class rWind_series

Value

An object of classes rWind and data.frame, with one row per grid cell and columns time, lat, lon, ugrd10m, vgrd10m, dir, and speed. Speed is the arithmetic mean across time steps (m/s), and direction is the circular mean (degrees clockwise from north, towards where the wind moves). U and V (m/s) are derived from these mean values. Coordinates are in degrees, and time records the first time step (UTC).

Note

For large time series, it could take a while.

Author(s)

Javier Fernández-López (jflopez.bio@gmail.com)

References

https://en.wikipedia.org/wiki/Cross_product

See Also

wind.dl

Examples

data(wind.series)
wind_average <- wind.mean(wind.series)

rWind documentation built on Oct. 18, 2026, 5:08 p.m.