Skip to content

domains: maritime: clamp haversine input, and fix ais-data-generation - #29

Open
ofk123 wants to merge 1 commit into
simula:mainfrom
ofk123:ais_data
Open

ofk123 wants to merge 1 commit into
simula:mainfrom
ofk123:ais_data

Conversation

@ofk123

@ofk123 ofk123 commented Oct 22, 2026 •

Copy link
Copy Markdown

replacing #3

  • great_circle_distance: limits the arcsin argument to <= 1 preventing errors for distance at identical points (or a rare anti-podal )
  • AIS test data: the start speed was always random() * 0 / 102 which is always 0.0. Now it is a random value below SpeedOverGround.max_value.
  • Fixed a few wrong return types in spatial.py

This branch has not been deployed

No deployments
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.

1 participant