pysteps.visualization.thunderstorms.plot_cart_contour(contours, geodata=None, ref_shape=None)#

Plots input image with identified cell contours. Also, this function can be user to add points of interest to a plot.

  • contours (list or dataframe-element) – list of identified cell contours.

  • geodata (dictionary or None, optional) – Optional dictionary containing geographical information about the field. If not None, plots the contours in a georeferenced frame.

  • ref_shape ((vertical, horizontal)) –

    Shape of the 2D precipitation field used to find the cells’ contours. This is only needed only if geodata=None.

    IMPORTANT: If geodata=None it is assumed that the y-origin of the reference precipitation fields is the upper-left corner (yorigin=”upper”).


ax – Figure axes.

Return type

fig Axes