[GRASS-git] [OSGeo/grass] 80792c: r.horizon: revert back to positive values only (#2...

Anna Petrasova noreply at github.com
Fri May 12 10:03:10 PDT 2023


  Branch: refs/heads/releasebranch_8_2
  Home:   https://github.com/OSGeo/grass
  Commit: 80792c8602966314e7da983ea20a245fd2a2ed4c
      https://github.com/OSGeo/grass/commit/80792c8602966314e7da983ea20a245fd2a2ed4c
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

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

  Log Message:
  -----------
  r.horizon: revert back to positive values only (#2955)

Enabling negative angles in r.horizon requires more work, the current simple implementation has problems (e.g. flat areas). Also r.sun doesn't work well with negative horizon values. See #2935 for discussion. For now, reverting back to horizon values >= 0 seems best. Note was added to manual page.




More information about the grass-commit mailing list