huracanpy.calc.translation_speed#

huracanpy.calc.translation_speed(lon, lat, time, track_id=None, method='geod', ellps='WGS84')[source]#

Compute translation speed along tracks

Parameters:
  • lon (xarray.DataArray)

  • lat (xarray.DataArray)

  • time (xarray.DataArray)

  • track_id (array_like, optional)

  • method (str, optional) – The method of computing distances, either geodesic (“geod”) or haversine (“haversine”)

  • ellps (str, optional) – The definition of the globe to use for the geodesic calculation (see pyproj.Geod). Default is “WGS84”.

Return type:

xarray.DataArray