[GRASS-git] [OSGeo/grass] aee050: r.horizon: address incorrect number of rasters cre...

Anna Petrasova noreply at github.com
Fri Feb 16 08:17:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: aee050a75e2055a8eb6c0ac7f01f73e6afd7cb92
      https://github.com/OSGeo/grass/commit/aee050a75e2055a8eb6c0ac7f01f73e6afd7cb92
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M raster/r.horizon/main.c
    M raster/r.horizon/testsuite/test_r_horizon.py

  Log Message:
  -----------
  r.horizon: address incorrect number of rasters created (#3411)

E.g. for start=0, end=12, step=5, three rasters are now generated (0, 5, 10) and not only 2 (because 12/5 = 2...) as was the case before.This also speeds up the test significantly, there was no need to run r.horizon with full resolution if we are checking only the created raster names.



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


More information about the grass-commit mailing list