Storm.plot_tors¶
- Storm.plot_tors(dist_thresh=1000, Tors=None, domain='dynamic', plotPPH=False, plot_all=False, ax=None, cartopy_proj=None, save_path=None, **kwargs)[source]¶
Creates a plot of the storm and associated tornado tracks.
- Parameters
dist_thresh (int) – Distance threshold (in kilometers) from the tropical cyclone track over which to attribute tornadoes to the TC. Default is 1000 km.
Tors (pandas.DataFrame) – DataFrame containing tornado data associated with the storm. If None, data is automatically retrieved from TornadoDatabase. A dataframe of tornadoes associated with the TC will then be saved to this instance of storm for future use.
domain (str) – Domain for the plot. Default is “dynamic”. Please refer to Map Domain Options for available domain options.
plotPPH (bool or str) –
Whether to plot practically perfect forecast (PPH). True defaults to “daily”. Default is False.
False - no PPH plot.
True - defaults to “daily”.
”total” - probability of a tornado within 25mi of a point during the period of time selected.
”daily” - average probability of a tornado within 25mi of a point during a day starting at 12 UTC.
plot_all (bool) – Whether to plot dots for all observations along the track. If false, dots will be plotted every 6 hours. Default is false.
ax (axes) – Instance of axes to plot on. If none, one will be generated. Default is none.
cartopy_proj (ccrs) – Instance of a cartopy projection to use. If none, one will be generated. Default is none.
save_path (str) – Relative or full path of directory to save the image in. If none, image will not be saved.
- Other Parameters
prop (dict) – Customization properties of plot.
map_prop (dict) – Customization properties of Cartopy map. Please refer to Map prop for available options.
- Returns
ax – Instance of axes containing the plot is returned.