pyrad.graph.plot_ppi#

pyrad.graph.plot_ppi(radar, field_name, ind_el, prdcfg, fname_list, plot_type='PPI', titl=None, vmin=None, vmax=None, step=None, quantiles=None, save_fig=True, fname_hist=None)[source]#

plots 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

  • plot_type (str) – type of plot (PPI, QUANTILES or HISTOGRAM)

  • titl (str) – Plot title

  • vmin, vmax (float) – The minimum and maximum value. If None the scale is going to be obtained from the Py-ART config file.

  • step (float) – step for histogram plotting

  • quantiles (float array) – quantiles to plot

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

  • fname_hist (str or None) – If not None, the name of a text file where the histogram will be stored

Returns:

  • fname_list (list of str or)

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