[GRASS-git] [OSGeo/grass-addons] 3a11b7: r.viewshed.exposure: Change nproc to 4 to speed up...

Edouard Choinière noreply at github.com
Sun Feb 16 08:48:53 PST 2025


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 3a11b74410eda0fd0273a99c5a43279f90dd5d6a
      https://github.com/OSGeo/grass-addons/commit/3a11b74410eda0fd0273a99c5a43279f90dd5d6a
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-02-16 (Sun, 16 Feb 2025)

  Changed paths:
    M src/raster/r.viewshed.exposure/testsuite/test_r_viewshed_exposure.py

  Log Message:
  -----------
  r.viewshed.exposure: Change nproc to 4 to speed up CI tests (#1311)

* r.viewshed.exposure: Change number of processors used in tests

* Change expected value

* CI: Always upload the test report, even on failure and when cancelling

* r.viewshed.exposure: Set an expected value that is midpoint between the results of 1 and 10 core (x64) for test_lakes.

The biggest precision gap (except for 20 core that is a bit off), is 3.00445E-05, so use a 4E-5 precision for that test instead of 1E-5

Results for test_lakes sum:
"sum": 31834.1480130134,  # midpoint of 1 and 10 core x64
"sum": 31834.1480232505,  # average 1, 2, 4 and 10 core
"sum": 31834.1480175955,  # average 1, 4 and 10 core
"sum": 31834.1480048643,  # average 4 and 10 core
"sum": 31834.1480430579,  # 1 core x64
"sum": 31834.1480402155,  # 2 core x64
"sum": 31834.1480267597,  # 4 core x64
"sum": 31834.1480075223,  # 8 core x64
"sum": 31834.1479829689,  # 10 core x64
"sum": 31834.1479833564,  # 12 core x64
"sum": 31834.1479394501,  # 20 core x64

* r.viewshed.exposure: Removed commented results



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list