Skip to content

v2.1: runs on Windows

Choose a tag to compare

@jonassneu jonassneu released this 08 Nov 16:57
· 18 commits to main since this release

The forecast now installs and runs on Windows. The model and its forecasts are unchanged: v2.1 uses the model files of v2.0.

Install on Windows

In cmd or PowerShell, install uv once and open a new terminal:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Then:

git clone --branch v2.1 https://github.com/jonassneu/fraalliance-hackmeck.git
cd fraalliance-hackmeck
.\install.cmd
uv run python -m ops.serve

The dashboard is then on http://localhost:8080/. To run it in the background, open the terminal with "Run as administrator" and use .\install.cmd --service. SETUP.md has the requirements, the network access, the outputs and how to update and remove it.

What changed

  • install.cmd, the Windows installer. It does what install.sh does.
  • --service on Windows registers the scheduled task FRA Forecast. It starts with the machine under your account, with no login and no stored password, and restarts after failures. The output goes to data\service.log.
  • File locks, file replacement and text encoding now work the same way on Windows.
  • --backup works on machines without rsync.
  • The web server sends fixed file types, independent of the Windows registry.
  • The test forecast at the end of the install shows 0.1 % precision, the same as the forecast files.
  • GitHub Actions now run the tests on Windows, Ubuntu and macOS. An on-request workflow checks the whole installation.

How it was tested

From a clean checkout on GitHub's Windows Server, Ubuntu and macOS machines: install, a test forecast with live data, one full hourly run, the web pages, the service firing on schedule and the update steps from SETUP.md. On Windows, also the scheduled task, with the line-ending setting of a default Git for Windows.

For the same hour, all three systems gave the official forecast: 85.5 % for OD 25 at +1 h, 3.4 % at +24 h, next change at the same time.

Not tested

  • Windows 10 or 11 desktops. The tests ran on Windows Server.
  • The scheduled task starting after a real reboot.
  • A company proxy.

Retraining and the historical download still need Linux.