pyrad.graph.plot_dda_map#
- pyrad.graph.plot_dda_map(grid, bg_field_name, level, prdcfg, fname_list, titl=None, alpha=None, ax=None, fig=None, display=None, save_fig=True, display_type='quiver')[source]#
This procedure plots a horizontal cross section of winds from wind fields generated by PyDDA.
- Parameters:
grid (Grid object) – object containing the gridded data to plot
bg_field_name (str) – name of the background radar field to plot (behind the wind vectors)
level (int) – level index
prdcfg (dict) – dictionary containing the product configuration
fname_list (list of str) – list of names of the files where to store the plot
titl (str) – Plot title
alpha (float or None) – Set the alpha transparency of the grid plot. Useful for overplotting radar over other datasets.
ax (Axis) – Axis to plot on. if fig is None a new axis will be created
fig (Figure) – Figure to add the colorbar to. If none a new figure will be created
display (GridMapDisplay object) – The display used
save_fig (bool) – if true save the figure. If false it does not close the plot and returns the handle to the figure
display_type (str) – Display type for the wind vectors, can be either ‘quiver’, ‘barbs’ or ‘streamline’
- Returns:
fname_list (list of str or)
fig, ax, display (tupple) – list of names of the saved plots or handle of the figure an axes