xarray.Dataset.traj.to_ragged#

abstract Dataset.traj.to_ragged(obs_dim='obs')#

Convert the dataset to a Ragged representation.

Parameters:

obs_dim (str, optional) – Name of the observation dimension in the Ragged representation, by default ‘obs’.

Returns:

xarray.Dataset – Dataset with a Ragged representation of trajectories.