Skip to content

Import: read a water level in the unit written next to it - #98

Merged
Mehulsri07 merged 2 commits into
mainfrom
fix-water-level-unit
Nov 4, 2026
Merged

Mehulsri07 merged 2 commits into
mainfrom
fix-water-level-unit

Conversation

@Mehulsri07

Copy link
Copy Markdown
Owner

Logs drawn in metres often still say Water Level = 30 ft. The parser converted every detail on a metre log to feet, so these imported as 98.4 ft.

  • A water level or total depth with its unit written beside it is read in that unit; a bare number still follows the log's unit.
  • The water level line no longer counts when deciding whether the log is in feet or metres.

Checked against all 80 real charts in the DWO Streta Chart folder: only the three Ekana logs change (water level 98.4 → 30 ft, as written on the sheets). Every other chart parses exactly as before.

New test: a metre log with Water Level = 30 ft. Core tests (121), typecheck and lint pass.

Logs drawn in metres often still give "Water Level = 30 ft". The parser
converted every detail on a metre log to feet, so 30 ft became 98.4 ft.
A water level or total depth with its unit written beside it is now read
in that unit, and the water level line no longer votes on the log's unit.
rustls-webpki 0.103.16 and webpki-root-certs 1.0.11 fix certificate
trust advisories (RUSTSEC-2026-0382, -0383). tauri-plugin-updater 2.14.1
moves zip from 4.6.1 to 9.3.0, fixing RUSTSEC-2026-0367, -0368, -0369
and -0429.
@Mehulsri07
Mehulsri07 enabled auto-merge November 4, 2026 13:21
@Mehulsri07
Mehulsri07 merged commit 0a25209 into main Nov 4, 2026
7 checks passed
@Mehulsri07
Mehulsri07 deleted the fix-water-level-unit branch November 4, 2026 13:39
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