Skip to content

TimeRange handling in _plan #254

@j-atkins

Description

@j-atkins

In its current implementation, the virtualship plan tool will auto determine the TimeRange (in the SpaceTimeRegion) by the waypoint timings if left blank in the space-time region section of the UI. However, there is no logic implemented to auto update the TimeRange if the user returns to the UI at a later time and changes any of their waypoint timings to outside the existing time range.

This will lead to out of bounds errors in virtualship run if left unaddressed as fieldsets are loaded for the wrong time period. Whilst the user can fairly easily fix this themselves before re-running the simulation, it is a bit annoying.

Note this kind of check and automation is already in place for the SpatialRange if the user changes their waypoints outside of the existing range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions