windkit.wind_veer#

windkit.wind_veer(da)[source]#

Calculate wind veer (change in wind direction with height).

Parameters:

da (xarray.DataArray) – DataArray containing wind direction data. Must have coordinates for ‘west_east’, ‘south_north’, and ‘height’.

Returns:

DataArray containing the wind veer values in degrees per meter. The structure matches the input structure (point, stacked_point, raster, or cuboid).

Return type:

xarray.DataArray