huracanpy.info.season#
- huracanpy.info.season(track_id, lat, time, convention='tc-short')[source]#
Determine the cyclone season for each track
- Parameters:
track_id (xarray.DataArray)
lat (xarray.DataArray)
time (xarray.DataArray)
convention (str) –
‘tc-short’ : In the Northern hemisphere, the season is the same as calendar year.
In the southern hemisphere, the season n corresponds to July n-1 to June n * ‘tc-long’ : In the Northern hemisphere, the season is the same as calendar year. In the southern hemisphere, the season from July n-1 to June n is named “(n-1)n”
- Raises:
NotImplementedError – If convention given is not ‘tc-short’ or ‘tc-long’
- Returns:
The season series. You can append it to your tracks by running tracks[“season”] = get_season(tracks.track_id, tracks.lat, tracks.time)
- Return type: