get_basin

tropycal.utils.get_basin(lat, lon, source_basin='')[source]

Returns the current basin of the tropical cyclone.

Parameters
  • lat (int or float) – Latitude of the storm.

  • lon (int or float) – Longitude of the storm.

Other Parameters

source_basin (str, optional) – String representing the origin storm basin (e.g., “north_atlantic”, “east_pacific”).

Returns

str – String representing the current basin (e.g., “north_atlantic”, “east_pacific”).

Notes

For storms in the North Atlantic or East Pacific basin, source_basin must be provided. This is because storms located over Mexico or Central America could be in either basin depending on where they originated (e.g., storms originated in the Atlantic basin are considered to be within the Atlantic basin while over Mexico or Central America until emerging in the Pacific Ocean).