lagrangian.field.TimeSerie.compute¶
-
TimeSerie.compute(self: lagrangian.core.Field, t: lagrangian::DateTime, x: float, y: float, cell: lagrangian.core.CellProperties = <lagrangian.core.CellProperties object at 0x7fdbfd78c870>) → object¶ Interpolates the velocity to the wanted spatio temporal position.
- Parameters
t (datetime.datetime) – Date to evaluate
x (float) – Longitude Longitude expressed as degree
y (float) – Latitude expressed as degree
cell (lagrangian.CellProperties) – Cell properties of the grid used for the interpolation
- Returns
U and V components of the velocities evaluated or None if the velocity is undefined for the requested space-time position
- Return type
tuple, optional