pyrad.graph.plot_roi_contour#

pyrad.graph.plot_roi_contour(roi_dict, prdcfg, fname_list, plot_center=True, xlabel='Lon [Deg]', ylabel='Lat [Deg]', titl='TRT cell position', ax=None, fig=None, save_fig=True)[source]#

plots the contour of a region of interest on a map

Parameters:
  • roi_dict (dict) – dictionary containing lon_roi, lat_roi, the points defining the contour

  • prdcfg (dict) – dictionary containing the product configuration

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

  • plot_center (bool) – If True a marked with the center of the roi is plotted

  • fig (Figure) – Figure to add the colorbar 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