Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r.horizon: revert back to positive values only #2955

Merged
merged 2 commits into from
May 12, 2023

Conversation

petrasovaa
Copy link
Contributor

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.

@petrasovaa petrasovaa added backport_needed raster Related to raster data processing C Related code is in C labels May 12, 2023
@petrasovaa petrasovaa added this to the 8.3.0 milestone May 12, 2023
@petrasovaa petrasovaa merged commit e6dcec0 into OSGeo:main May 12, 2023
@petrasovaa petrasovaa deleted the only-positive-horizon-values branch May 12, 2023 16:47
petrasovaa added a commit that referenced this pull request May 12, 2023
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.
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
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 OSGeo#2935 for discussion. For now, reverting back to horizon values >= 0 seems best. Note was added to manual page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C raster Related to raster data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant