windkit.wind.wind_vectors

windkit.wind.wind_vectors(ws, wd)[source]

Calculate wind vectors u,v from the speed and direction.

Parameters:
Returns:

u, v – Wind vectors u and v

Return type:

numpy.ndarray, xarray.DataArray