TrackDataset.plot_analogs_from_shape¶
- TrackDataset.plot_analogs_from_shape(points, thresh={}, non_tropical=False, year_range=None, date_range=None, **kwargs)[source]¶
Plot historical TC tracks surrounding a point.
- Parameters
points (list) – List of tuples ordered by (latitude, longitude) corresponding to the bounded region.
thresh (dict) –
Dict for threshold(s) that storms within the requested radius must meet. The following options are available:
v_min - Search for sustained wind (kt) above this threshold
v_max - Search for sustained wind (kt) below this threshold
p_min - Search for MSLP (hPa) below this threshold
p_max - Search for MSLP (hPa) above this threshold
non_tropical (bool) – If True, non-tropical (e.g., tropical disturbance, extra-tropical cyclone) points are included in the search. Default is False.
year_range (tuple) – Year range over which to search. If None, defaults to entire dataset.
date_range (tuple) – Start and end dates, formatted as a “month/day” string. If None, defaults to year round.
- Other Parameters
linewidth (int or float) – Width of bounded shape line. Defaults to 2.0.
color (str) – Color of bounded shape line. Defaults to black.
**kwargs – Refer to
tropycal.tracks.TrackDataset.plot_storms
for plotting keyword arguments.
- Returns
ax – Axes instance of the plot.
Notes
This function automatically interpolates all storm data within this TrackDataset instance to hourly, if this hasn’t already been done previously.