Skip to content

Releases: dnv-opensource/ship-traffic-generator

v0.8.4

26 Nov 09:42
8e5a5e8

Choose a tag to compare

  • Added sog to each waypoint leg. Updated documentation. Generated new baseline_situations_generated files. Updated types.
  • Fixed bug where future position of target ship was used instead of initial position of target ship to check encounter evolvement. Updated documentation to make this functionality clearer.
  • Added option to pass in a single input situation .json file, not only a folder.

v0.8.3

31 Oct 13:25
9898039

Choose a tag to compare

[bug] Fixed sourcery dependency constraint to avoid platform compatibility issues on Linux by constraining to <1.41.

v0.8.2

06 Oct 06:14
24f75c0

Choose a tag to compare

  • [bug] fixed bug that all target ships had id = 10.
  • [bug] fixed duplicate -v parameter warning.
  • If own ship ID is not given in own_ship.json file, then ID is set to 1. Target ship IDs will follow from own ship ID.
  • Better documentation of output files, added links to maritime schema, and improved navigation between related sections.
  • Updated documentation of target ships in input_files.rst

v0.8.1

12 May 13:00
5ea7fbc

Choose a tag to compare

  • Changed first assert in test_basic_cli() from 0 to 2.

v0.8.0

09 May 10:35
362240e

Choose a tag to compare

  • vectorTime may now be a single float (exact time) or a list of two floats [from, to]. vectorRange is removed from settings file.
  • evolveTime is changed to situationDevelopTime.
  • Removed Basemap-package and added pyproj package.
  • Small update of ruff.toml file to remove a few warnings.
  • Documented the use of Waypoints for own ship.
  • camelCasing used for encounter settings; was previously snake_case.
  • Added missing info and spelling errors in data/example_situation_input.
  • Numpy cross product only allowed for 3D vectors from numpy 2; manually calculating the cross product for 2D vectors in method: calculate_min_vector_length_target_ship.
  • Updated documentation; fix spelling errors, add link to github.io, explain Usage, add note on defining python version with uv sync, add note on activating venv.
  • Fix build issues; move click and click-log to non-dev dependencies.
  • Fix issue with file reading when using non-default paths, and add test for it.

v0.7.2

14 Mar 13:58
b05f344

Choose a tag to compare

  • Fixed ruff errors which appeared during last nightly build
  • Removed code quality from nightly build
  • Added -U to for the 'uv sync -U' in readme file

v0.7.1

30 Jan 08:39

Choose a tag to compare

Made explicit that Python 3.13 is not yet supported

v0.7.0

21 Jan 07:56
e95f91d

Choose a tag to compare

  • The python package Maritime Schema is no longer open source, necessary types have been included here to remove the link
  • Project updated to use uv package installer
  • Documentation has been updated
  • Updating workflows
  • Removed maxSpeed from the output files generated using the tool

v 0.6.0

14 Nov 12:19
95196a4

Choose a tag to compare

v0.5.0

26 Apr 10:20

Choose a tag to compare

What's Changed

  • removed specific names for target ships. Files generated with target ship 1, 2 etc.
  • changed tests. Still need to figure out why some tests "fail" using CLI.

Full Changelog: v0.4.0...v0.5.0