TSSIM / JESIM final clean complete v26
=====================================

This is a clean complete source folder, not a patch bundle.
Unzip into a new folder and build from this folder to avoid mixing older files.

Build
-----
build_win_mingw.bat

Run
---
1. Start the rebuilt tsunami_gui.exe.
2. Start the relay:
   python jesim_ws_relay.py

v26 change
----------
- JESIM observation_arrival messages are now sent only when at least one observation has a newly updated displayed positive peak.
- Live-level-only changes are suppressed; if no peak value is updated in a 5-minute bucket, no websocket observation_arrival is written.
- First-arrival observation_arrival messages are still delayed/batched to 5-minute model-time bulletin buckets.
- The actual first-arrival time itself is not rounded: observed_time_s / observed_time keep the true threshold-crossing model time.
- report_bucket_s / scheduled_bulletin_s show the 5-minute bucket used only for sending.
- Observation value update reports after first arrival remain throttled to 5-minute model-time buckets.
- When JESIM transmit-only render mode is ON, the numerical simulation stops at 60 hours.
- The wall-clock 1x observation scheduler remains active, so already-computed pending observation messages can still be sent after the model has stopped.
- Non-transmit GUI mode is not capped by this 60-hour limit.

Carried over from v19+
---------------------
- Clean final filename: tsunami_gui_win32.c
- Clean final observation table: jesim_observation_points.csv
- 清水 / station_no 2076 removed; 土佐清水 remains.
- No y-axis flip.
- Observation reports use fixed external wall-clock 1x scheduling.
- No observation speed text-file control.
- 1.13 wave-speed experiment rolled back.
- Export compile issue using op->csv_station_no removed.
- observation rise is a peak-update marker: + only when the displayed positive peak is updated. Non-peak-updating records are suppressed in the JESIM feed.

Notes
-----
In transmit-only mode the UI status line shows:
  Transmit-only sim cap: 60 h

At 60h the model pauses/stops automatically with a status message. Keep the
program and relay open if pending wall-clock-gated observation reports still
need to be dispatched.


## v26 addition

Advanced source-node fine tuning is available with the `E` key. In tune mode, click a source marker and adjust that one node with keyboard controls. See `README_V26_ADVANCED_NODE_TUNE.txt`.
