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

Anna Petrasova noreply at github.com
Fri May 12 09:47:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: e6dcec0d8bb2145a314f23f03547375013edb5b2
      https://github.com/OSGeo/grass/commit/e6dcec0d8bb2145a314f23f03547375013edb5b2
  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