pyrad.graph.plot_ray#

pyrad.graph.plot_ray(radar, field_name, ind_ray, prdcfg, fname_list, titl=None, vmin=None, vmax=None, save_fig=True)[source]#

plots a ray

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

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

  • ind_ray (int) – ray 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) – min and max values of the y axis

  • 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