Storm.plot_nhc_forecast

Storm.plot_nhc_forecast(forecast, track_labels='fhr', cone_days=5, domain='dynamic_forecast', ax=None, cartopy_proj=None, save_path=None, **kwargs)[source]

Creates a plot of the operational NHC forecast track along with observed track data.

Parameters
  • forecast (int or datetime.datetime) – Integer representing the forecast number, or datetime object for the closest issued forecast to this time.

  • track_labels (str) – Label format for forecast dots. Scroll down to notes for available options.

  • cone_days (int) – Number of days to plot the forecast cone. Default is 5 days. Can select 2, 3, 4 or 5 days.

  • domain (str) – Domain for the plot. Default is “dynamic_forecast”. Please refer to Map Domain Options for available domain options.

  • 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 NHC forecast plot. Please refer to plot_nhc_forecast or scroll down below 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.

Notes

The following properties are available for customizing track_labels.

Value

Description

""

No label

"fhr"

Forecast hour (e.g., 60). Default option.

"fhr_wind_mph"

Forecast hour and sustained wind in mph.

"fhr_wind_kt"

Forecast hour and sustained wind in knots.

"valid_utc"

Valid time in UTC.

"valid_edt"

Valid time in Eastern time (EDT).

"valid_cdt"

Valid time in Central time (CDT).

"valid_mdt"

Valid time in Mountain time (MDT).

"valid_pdt"

Valid time in Pacific time (PDT).

"valid_hst"

Valid time in Hawaii time (HST).

The following properties are available for plotting NHC forecasts, via prop.

Property

Description

cone_lw

Center line width for the cone of uncertainty. Default is 2.0.

cone_alpha

Transparency for the cone of uncertainty. Default is 0.6.

cone_res

Grid resolution for the cone of uncertainty in degrees. Default is 0.05.