windkit.wind.wind_vectors
- windkit.wind.wind_vectors(ws, wd)[source]
Calculate wind vectors u,v from the speed and direction.
- Parameters:
speed (numpy.ndarray, xarray.DataArray) – Wind speed
direction (numpy.ndarray, xarray.DataArray) – Wind direction
- Returns:
u, v – Wind vectors u and v
- Return type: