act.plotting.TimeSeriesDisplay.wind_quiver_plot#
- TimeSeriesDisplay.wind_quiver_plot(field_wspd='wspd_vec_mean', field_wdir='wdir_vec_mean', dsname=None, scale=125, cmap='cividis', arrow_legend=True, day_night_background=False, set_title=None, subplot_index=(0,), figsize=(12, 3), **kwargs)[source]#
Creates a time series quiver plot showing wind speed and direction.
- Parameters:
field_wspd (str) – Field name for wind speed (in m/s).
field_wdir (str) – Field name for wind direction (in degrees).
dsname (str) – Name of datastream to plot.
scale (float) – Scale factor for quiver arrows.
cmap (str) – Colormap for arrow colors representing wind speed.
arrow_legend (bool) – Whether to add a legend for arrow lengths.
day_night_background (bool) – If True, overlays day/night background shading.
set_title (str or None) – Title to set on the plot. If None, generates automatically.
subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to plot in.
figsize (tuple) – Size of the figure.
**kwargs (keyword arguments) – Additional keyword arguments passed to matplotlib’s quiver function.
- Returns:
ax (matplotlib.axes.Axes) – The axis with the wind quiver plot.