trajan.traj2d

Module Contents

Classes

Traj2d

A unstructured dataset, where each trajectory may have observations at different times. Typically from a collection of drifters.

class trajan.traj2d.Traj2d(ds)

Bases: trajan.traj.Traj

A unstructured dataset, where each trajectory may have observations at different times. Typically from a collection of drifters.

gridtime(times)

Interpolate dataset to regular time interval

times:
  • an array of times, or

  • a string “freq” specifying a Pandas daterange (e.g. ‘h’, ‘6h, ‘D’…)

Note that the resulting DataSet will have “time” as a dimension coordinate.