huracanpy.info.hemisphere#

huracanpy.info.hemisphere(lat)[source]#

Function to detect which hemisphere each point corresponds to.

Parameters:

lat (xarray.DataArray) – Latitude for each point

Returns:

The hemisphere series. You can append it to your tracks by running

>>> tracks["hemisphere"] = get_hemisphere(tracks.lat)

Return type:

xarray.DataArray