pyrad.graph.plot_ppi_contour#

pyrad.graph.plot_ppi_contour(radar, field_name, ind_el, prdcfg, fname_list, contour_values=None, linewidths=1.5, ax=None, fig=None, save_fig=True)[source]#

plots contour data on a PPI

Parameters:
  • radar (Radar object) – object containing the radar data to plot

  • field_name (str) – name of the radar field to plot

  • ind_el (int) – sweep index to plot

  • prdcfg (dict) – dictionary containing the product configuration

  • fname_list (list of str) – list of names of the files where to store the plot

  • contour_values (float array) – list of contours to plot

  • linewidths (float) – width of the contour lines

  • fig (Figure) – Figure to add the contour to. If none a new figure will be created

  • ax (Axis) – Axis to plot on. if fig is None a new axis will be created

  • save_fig (bool) – if true save the figure if false it does not close the plot and returns the handle to the figure

Returns:

  • fname_list (list of str or)

  • fig, ax (tupple) – list of names of the saved plots or handle of the figure an axes