py_eddy_tracker.observations.groups.advect

py_eddy_tracker.observations.groups.advect(x, y, c, t0, n_days, u_name='u', v_name='v')[source]

Advect particles from t0 to t0 + n_days, with data cube.

Parameters:
  • x (np.array(float)) – longitude of particles

  • y (np.array(float)) – latitude of particles

  • c (GridCollection) – GridCollection with speed for particles

  • t0 (int) – julian day of advection start

  • n_days (int) – number of days to advect

  • u_name (str) – variable name for u component

  • v_name (str) – variable name for v component