Skip to content

Conversation

@j-atkins
Copy link
Collaborator

@j-atkins j-atkins commented Feb 3, 2026

Previous courses have identified that the virtualship plan UI can become cumbersome to use when an expedition has many waypoints (#267).

I have now looked into this and see that when running locally, having many (e.g. > 30) waypoints does introduce a small lag to the application but it is still usable. However, doing the same in a remote SURF environment results in substantial lag, confirming what was observed in-class. I can do more investigation on this but in the near-term I don't think there's a quick fix, unfortunately.

Therefore, as suggested in #258, this PR adds an additional doc to the tutorials providing guidance on the structure of the expedition.yaml file and how to edit it. There are now also references to this tutorial in the quickstart guide, the sail_the_ship assignment and the YAML itself, encouraging users to interact directly with the YAML file if their expeditions are large.


Also includes some small tweaks to the tutorials section layout (and thumbnails) in the docs.


Closes #267

@ammedd
Copy link
Collaborator

ammedd commented Feb 4, 2026

Great that you managed this. It was mentioned by several OSL students in the interviews.

Copy link
Collaborator

@ammedd ammedd left a comment

Choose a reason for hiding this comment

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

Some small suggestions

"The next step is to finalise the expedition schedule plan, including setting times and instrument selection choices for each waypoint, as well as configuring the ship (including any underway measurement instruments). \n",
"\n",
"<div class=\"alert alert-block alert-info\"> \n",
"**NOTE**: This section describes the process of finalising the expedition schedule and instrument selection using the `virtualship plan` application. This is the recommended way for most users but when expeditions become larger with many waypoints, it can become cumbersome to use the planning tool (note, using VirtualShip in a remote terminal / cloud-based environment can also introduce lag in the user-interface). **In this case, you may prefer to edit the** `expedition.yaml` **file directly (see [here](../tutorials/working_with_expedition_yaml.md) for more details on how to do so)**.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Change: This is the recommended way for most users but when expeditions become larger
to For expeditions


The `expedition.yaml` file is ingested by `virtualship run` and is used to configure expeditions. It contains metadata and settings that define the parameters of an expedition, including information about ship speed, instrument configurations, waypoint timings and instrument selections.

This tutorial describes an alternative means to using the `virtualship plan` command, which provides a user-friendly interface for interacting with `expedition.yaml` but can become cumbersome for long, complex expeditions with many waypoints and instruments. Interacting with the `expedition.yaml` file directly tends to be faster for larger expeditions.
Copy link
Collaborator

Choose a reason for hiding this comment

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

add: and experienced users.


This section contains a list of `waypoints` that define the expedition's route. Each waypoint includes:

- **Instruments (`instrument`)**: A list of instruments to be deployed at that waypoint. Add or remove instruments by adding or deleting entries on _new lines_.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Be explicit if a waypoint always needs an instrument

@j-atkins
Copy link
Collaborator Author

j-atkins commented Feb 6, 2026

Thanks @ammedd, I've incorporated your suggested edits 👍

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.

Investigate plan UI lag

2 participants