Skip to content

Add selobs/seltrajectory method #138

@gauteh

Description

@gauteh

Often you want to iterate over trajectories and get the data in the time vs variable format. As long as you only have one trajectory you can reduce the observation layout to just 1d time layout. Would be nice if this works with groupby as well.

ds.traj.iseltraj(0)

gives a ds in (trajectory, time) format (except trajectory is size 1).

ds.traj.grouptraj().map(lambda t: t....)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions