TrackDataset.hurricane_days_climo

TrackDataset.hurricane_days_climo(plot_year=None, compare_years=None, climo_bounds=None, month_range=None, rolling_sum=0, category=None, return_dict=False, save_path=None)[source]

Creates a climatology of tropical storm/hurricane/major hurricane days.

Parameters
  • plot_year (int) – Year to highlight. If current year, plot will be drawn through today. If none, no year will be highlighted.

  • compare_years (int or list) – Seasons to compare against. Can be either a single season (int), or a range or list of seasons (list).

  • climo_bounds (tuple) – Start and end years to compute the climatology over. Default is from 1950 to last year.

  • month_range (tuple) – Start and end months to plot (e.g., (5,10)). Default is peak hurricane season by basin.

  • rolling_sum (int) – Days to calculate a rolling sum over. Default is 0 (annual running sum).

  • category (int) – SSHWS Category to generate the data and plot for. Use 0 for tropical storm. If None (default), a plot will be generated for all categories.

  • return_dict (bool) – If False (default), plot axes will be returned. If True, a dictionary containing the raw data is returned.

  • save_path (str) – Determines the file path to save the image to. If blank or none, image will be directly shown.

Returns

axes or dict – By default, the plot axes is returned. If return_dict is True, a dictionary containing the raw data is returned.

Notes

If in southern hemisphere, year is the 2nd year of the season (e.g., 1975 for 1974-1975).