py_eddy_tracker.dataset.grid.GridCollection¶
- class py_eddy_tracker.dataset.grid.GridCollection[source]¶
Bases:
object
Methods
At each call it will update position in place with u & v field
Produce filament with concatenation of advection
Compute z over lons, lats
Add next file to the list and remove the oldest
- advect(x, y, u_name, v_name, t_init, mask_particule=None, nb_step=10, time_step=600, rk4=True, **kw)[source]¶
At each call it will update position in place with u & v field
- Parameters
- Returns
x,y position
- filament(x, y, u_name, v_name, t_init, nb_step=10, time_step=600, filament_size=6, rk4=True, **kw)[source]¶
Produce filament with concatenation of advection
- Parameters
x (array) – Longitude of obs to move
y (array) – Latitude of obs to move
u_name (str,array) – U field to advect obs
v_name (str,array) – V field to advect obs
nb_step (int) – Number of iteration before to release data
time_step (int) – Number of second for each advection
filament_size (int) – Number of point by filament
- Returns
x,y for a line