Skip to content

Final updates to doc frontpage - #232

Merged
knutfrode merged 1 commit into
OpenDrift:mainfrom
knutfrode:dev
Jul 15, 2026
Merged

Final updates to doc frontpage#232
knutfrode merged 1 commit into
OpenDrift:mainfrom
knutfrode:dev

Conversation

@knutfrode

Copy link
Copy Markdown
Contributor

No description provided.

@knutfrode
knutfrode merged commit 1a7602f into OpenDrift:main Jul 15, 2026
9 of 10 checks passed
Comment thread docs/source/index.rst

TrajAn will detect which type of dataset you have and you will have access to the appropriate methods for the type data layout. `Contiguous ragged <https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#_contiguous_ragged_array_representation_of_trajectories>`_ and `nc_particles <https://noaa-orr-erd.github.io/nc_particles/nc_particle_standard.html>`_ format are internally converted to Ragged format.

While the Ragged format is more general it often limits analysis that require trajectories to be sampled at the same points, you can therefor convert a Ragged dataset to Orthogonal by using :meth:`xarray.Dataset.traj.gridtime`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or use the trajectories() method to operate on a single orthogonal trajectory at the time (this is how many methods in TrajAn are implemented).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants