windkit.wind.vinterp_wind_direction

windkit.wind.vinterp_wind_direction(wind_direction, height, **kwargs)[source]

Interpolate wind direction to a given height.

Parameters:
  • wind_direction (xarray.DataArray) – Wind direction.

  • height (float) – Height to interpolate wind direction to.

  • **kwargs (dict, optional) – Additional keyword arguments passed to xarray.interp.

Returns:

wind_direction – Interpolated wind direction.

Return type:

xarray.DataArray