pocean.dsg.trajectory package

pocean.dsg.trajectory.trajectories_meta

alias of TrajectoryCollection

pocean.dsg.trajectory.trajectory_calculated_metadata(df, axes, geometries=True)
pocean.dsg.trajectory.trajectory_meta

alias of Trajectory

Submodules

pocean.dsg.trajectory.cr module

class pocean.dsg.trajectory.cr.ContiguousRaggedTrajectory

Bases: CFDataset

calculated_metadata(df=None, geometries=True, clean_cols=True, clean_rows=True, **kwargs)
classmethod from_dataframe(df, output, **kwargs)
classmethod is_mine(dsg, strict=False)
nc_attributes(axes, daxes)
to_dataframe(clean_cols=True, clean_rows=True, **kwargs)

pocean.dsg.trajectory.im module

class pocean.dsg.trajectory.im.IncompleteMultidimensionalTrajectory

Bases: CFDataset

When storing multiple trajectories in the same file, and the number of elements in each trajectory is the same, one can use the multidimensional array representation. This representation also allows one to have a variable number of elements in different trajectories, at the cost of some wasted space. In that case, any unused elements of the data and auxiliary coordinate variables must contain missing data values (section 9.6).

calculated_metadata(df=None, geometries=True, clean_cols=True, clean_rows=True, **kwargs)
classmethod from_dataframe(df, output, **kwargs)
classmethod is_mine(dsg, strict=False)
nc_attributes(axes, daxes)
to_dataframe(clean_cols=True, clean_rows=True, **kwargs)

pocean.dsg.trajectory.ir module

class pocean.dsg.trajectory.ir.IndexedRaggedTrajectory

Bases: CFDataset

calculated_metadata(df=None, geometries=True, clean_cols=True, clean_rows=True)
from_dataframe(df, output, **kwargs)
to_dataframe()