TrackDataset.plot_storm¶
- TrackDataset.plot_storm(storm, domain='dynamic', plot_all_dots=False, ax=None, cartopy_proj=None, save_path=None, **kwargs)[source]¶
Creates a plot of a single storm.
- Parameters
storm (str, tuple or dict) – Requested storm. Can be either string of storm ID (e.g., “AL052019”), tuple with storm name and year (e.g., (“Matthew”,2016)), or a dict entry.
domain (str) – Domain for the plot. Default is “dynamic”. “dynamic_tropical” is also available. Please refer to Map Domain Options for available domain options.
plot_all_dots (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 storm track lines. Please refer to Tracks Properties for available options.
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.