GeoEnergyMath Laplace's Tidal Equation modeling and fitting software.
Use the bundled PowerShell script to install/build on Windows (GNAT Community
2021 at C:\GNAT\2021\bin) and to stage the executable for both the CLI and GUI.
- Install GNAT Community 2021 (the script can open the download page).
- Run
.\setup_with_gnat.ps1from the repository root. - The script builds
enso_optand deploys:run\lt.exe(CLI/runtime)experiments\Feb2026\lt.exe(GUI launcher)
The experiments/Feb2026 directory already ships with a precompiled lt.exe so
you can launch the GUI immediately, but rebuilding with the script keeps the
binary current with source changes.
The main Ada driver is src/enso_opt.adb. It is built into lt.exe (or lt on
Linux/macOS) via the GNAT project file lte.gpr.
- Build:
gprbuild -P lte.gpr enso_opt(orgprbuild -P lte.gpr), or runsetup_with_gnat.ps1on Windows. - Stage the executable: copy
obj/enso_opt.exetorun/lt.exeand (for the GUI)experiments/Feb2026/lt.exe(seeupdate_exe.bat,update_exe.ps1, orsetup_with_gnat.ps1). - Runtime flow:
- Reads environment configuration such as
NUMBER_OF_PROCESSORS,DLOD_DAT,TIMEOUT,DLOD_SCALE, andEXPECT. - Loads the dLOD reference data (default
../dLOD3.dat) and parameter files through the shared primitives (therun/lt.exe.par*andrun/lt.exe.resp*files are examples). - Starts the solver tasks, periodically printing status and checking for console input.
- Interactive console controls:
q/sstop,xexits without saving, and1–9trigger stored solution outputs. - The
TIMEOUTcycle stops the run when the elapsed time is exceeded.
- Reads environment configuration such as
For a more detailed walkthrough, see the GEM-LTE wiki:
The interactive GUI lives in experiments/Feb2026/lte_gui.py and is launched
from a Windows command prompt (Linux support is planned; currently the launcher
uses cmd.exe). It helps you select climate indices and mean sea level (MSL)
sites to model and simulate.
- Run the GUI from the
experiments\Feb2026level (the script expects to run at that level and searches subdirectories). The GUI launches theexperiments\Feb2026\lt.exebinary that ships with the dataset or is updated bysetup_with_gnat.ps1:python .\lte_gui.py. - Choose the root directory that contains index folders (for example,
experiments\Feb2026). The GUI lists each directory exceptlocs,scripts, andrlr_data. - Select an index directory. If the directory name matches an entry in
ID.yml, the GUI shows the MSL site name/country metadata (or climate index). - Configure the
TIMEOUT, metric (CC/DTW), and test/training interval. - Click Run lt to launch
lt.exein a new console with environment variables (METRIC,TIMEOUT,TRAIN_START,TRAIN_STOP,CLIMATE_INDEX,IDATE) set for the run. Once finished, can close it. - Click Run plot to execute
plot.pyfor the selected index and Refresh PNG to preview the newest plot in the GUI.
Selecting the Warnemunde MSL station, index #11
after Refresh PNG
Notes to mmyself and potential maintainers. Releases should package the compiled lt.exe, the run/ data/parameter files,
and the experiment directories used with lte_gui.py, including the staged
experiments/Feb2026/lt.exe copy. Probbaly should tag the
commit and create a release from the tag in GitHub.