windkit.plot.vertical_profile

windkit.plot.vertical_profile(da_meas=None, da_pred=None, color_bwc='red', color_wwc='dodgerblue')[source]

Plots the vertical profile of the dataArray or dataArrays introduced. If two dataArrays are given, one should represent measured/observed data (as the one represented in a binned wind climate) and the other predicted/generalized data (as the one represented in a weibull wind climate). The function will plot both vertical profiles to compare. If one dataArray is give, the function plots its vertical profile.

Parameters:
  • da_meas (xarray.DataArray) – WindKit DataArray representing a measured/observed vertical profile data.

  • da_pred (xarray.DataArray) – WindKit DataArray representing a predicted/generalized vertical profile data.

  • color_bwc (str, optional) – Sets the color of the measured/observed vertical profile plot. Strings should define valid CSS-colors. By default is defined as “red”.

  • color_wwc (str, optional) – Sets the color of the predicted/generalized vertical profile plot. Strings should define valid CSS-colors. By default is defined as “dodgerblue”.

Returns:

Plotly figure for display, additional modification, or output

Return type:

plotly.graph_objects.Figure