TrackDataset.get_storm_id

TrackDataset.get_storm_id(storm)[source]

Returns the storm ID (e.g., “AL012019”) given the storm name and year.

Parameters

storm (tuple) – Tuple containing the storm name and year (e.g., (“Matthew”,2016)).

Returns

str or list – If a single storm was found, returns a string containing its ID. Otherwise returns a list of matching IDs.