huracanpy.info.basin#
- huracanpy.info.basin(lon, lat, convention='WMO-TC', crs=None)[source]#
Function to determine the basin of each point, according to the selected convention.
- Parameters:
lon (float or array_like) – Longitude series
lat (float or array_like) – Latitude series
convention (str) –
- Name of the basin convention you want to use.
WMO-TC - WMO defined tropical cyclone basins
- Sainsbury2022JCLI - Definitions from
(https://doi.org/10.1175/JCLI-D-21-0712.1) North Atlantic split up into:
Main development region (MDR)
Subtropical development region (SUB)
Western basin / Caribbean sea (WEST)
- Sainsbury2022MWR - Definitions from
(https://doi.org/10.1175/MWR-D-22-0111.1). Extratropical transition in North Atlantic divided into:
Europe
NoEurope
- Knutson2020 - Definitions from
(https://doi.org/10.1175/BAMS-D-18-0194.1). Global basins:
NATL (North Atlantic)
ENP (Northeast Pacific)
WNP (Northwest Pacific)
NI (North Indian)
SI (South Indian)
SP (Southwest Pacific)
SA (South Atlantic)
crs (cartopy.crs.CRS, optional) – The coordinate reference system of the lon, lat inputs. The basins are defined in PlateCarree (-180, 180), so this will transform lon/lat to this projection before checking the basin. If None is given, it will use cartopy.crs.Geodetic which is essentially the same, but allows the longitudes to be defined in ranges broader than -180, 180
- Returns:
The basin series. You can append it to your tracks by running tracks[“basin”] = get_basin(tracks)
- Return type: