Storm.get_nhc_forecast_dict¶
- Storm.get_nhc_forecast_dict(time)[source]¶
Retreive a dictionary of official NHC forecasts for a valid time.
- Parameters
time (datetime.datetime) – Time of requested forecast.
- Returns
dict – Dictionary containing forecast data.
Notes
This dict can be provided to
utils.generate_nhc_cone()
to generate the cone of uncertainty. Below is an example forecast dict for Hurricane Michael (2018):>>> storm.get_nhc_forecast_dict(dt.datetime(2018,10,8,0)) {'fhr': [0, 3, 12, 24, 36, 48, 72, 96, 120], 'lat': [19.8, 20.0, 21.1, 22.7, 24.4, 26.3, 30.4, 34.9, 40.7], 'lon': [-85.4, -85.4, -85.3, -85.6, -86.0, -86.1, -84.5, -78.4, -64.4], 'vmax': [50, 50, 60, 65, 75, 85, 75, 55, 55], 'mslp': [nan, 997, nan, nan, nan, nan, nan, nan, nan], 'type': ['TS', 'TS', 'TS', 'HU', 'HU', 'HU', 'HU', 'TS', 'TS'], 'windrad': [{34: [120, 150, 90, 90], 50: [40, 0, 0, 0]}, {34: [120, 150, 90, 90], 50: [40, 0, 0, 0]}, {34: [120, 150, 90, 90], 50: [40, 40, 0, 0]}, {34: [130, 140, 90, 90], 50: [50, 50, 0, 0], 64: [20, 20, 0, 0]}, {34: [130, 130, 80, 90], 50: [50, 50, 0, 0], 64: [20, 20, 0, 0]}, {34: [130, 130, 70, 90], 50: [60, 60, 30, 40], 64: [25, 25, 15, 25]}, {34: [130, 130, 70, 80], 50: [60, 60, 30, 40]}, {34: [0, 0, 0, 0]}, {34: [0, 0, 0, 0]}], 'init': datetime.datetime(2018, 10, 8, 0, 0)}
As of Tropycal v0.5,
windrad
represents the forecast sustained wind radii (34, 50 and 64 knots) organized by [NE quadrant,SE quadrant,SW quadrant,NW quadrant] in nautical miles.