<div dir="ltr">Hello Everyone! <div><br></div><div>I'm a grad student who is relatively new to GrassGIS and I was wondering if someone here can help me figure out what's wrong with my east and west horizon calculations?</div><div><br></div><div>I am trying to compute my east and west horizon angle from my DEM using the command r.horizon. My output raster contains negative numbers and it's my understanding that the range of output values should be between 0 and 360. I used -d to make sure that my output is in degrees rather than radians. </div><div><br></div><div>Can anyone help me solve this problem? Or point me in the right direction?</div><div><div class="gmail-p-rich_text_section" style="box-sizing:inherit"><br></div><div class="gmail-p-rich_text_section" style="box-sizing:inherit">Thank you for the help! </div><div class="gmail-p-rich_text_section" style="box-sizing:inherit">Ashley </div></div><div><br></div><div>Here is the <a href="http://r.info">r.info</a> output from my generated east horizon raster.</div><div><div class="gmail-c-scrollbar__hider" style="box-sizing:inherit;overflow:hidden scroll;outline:none;height:734px;color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:common-ligatures"><div class="gmail-c-scrollbar__child" style="box-sizing:inherit;width:1660px"><div class="gmail-c-virtual_list__scroll_container" style="box-sizing:inherit;height:1981px"><div class="gmail-c-virtual_list__item" id="gmail-1590022328.000400" tabindex="-1" style="box-sizing:inherit;width:1660px"><div class="gmail-c-message_kit__background gmail-p-message_pane_message__message gmail-c-message_kit__message gmail-p-message_pane_message__message--last" style="box-sizing:inherit;line-height:1.46668;margin-bottom:16px"><div class="gmail-c-message_kit__hover" style="box-sizing:inherit"><div class="gmail-c-message_kit__actions gmail-c-message_kit__actions--default" style="box-sizing:inherit"><div class="gmail-c-message_kit__gutter" style="box-sizing:inherit;display:flex;padding:8px 20px"><div class="gmail-c-message_kit__gutter__right" style="box-sizing:inherit;min-width:0px;padding:8px 8px 8px 16px"><div class="gmail-c-message_kit__blocks gmail-c-message_kit__blocks--rich_text" style="box-sizing:inherit;max-width:none;margin-bottom:4px"><div class="gmail-c-message__message_blocks gmail-c-message__message_blocks--rich_text" style="box-sizing:inherit;max-width:none"><div class="gmail-p-block_kit_renderer" style="box-sizing:inherit;width:1576px"><div class="gmail-p-block_kit_renderer__block_wrapper gmail-p-block_kit_renderer__block_wrapper--first" style="box-sizing:inherit;display:flex"><div class="gmail-p-rich_text_block" dir="auto" style="box-sizing:inherit;width:1576px;line-height:1.46668"><div class="gmail-p-rich_text_section" style="box-sizing:inherit"> |----------------------------------------------------------------------------|<br style="box-sizing:inherit"> |                                      |<br style="box-sizing:inherit"> |  Type of Map: raster        Number of Categories: 0        |<br style="box-sizing:inherit"> |  Data Type:  FCELL                           |<br style="box-sizing:inherit"> |  Data Units:  degrees       Vertical datum: (none)        |<br style="box-sizing:inherit"> |  Rows:     7532                            |<br style="box-sizing:inherit"> |  Columns:   5860                            |<br style="box-sizing:inherit"> |  Total Cells: 44137520                          |<br style="box-sizing:inherit"> |    Projection: UTM (zone 10)                      |<br style="box-sizing:inherit"> |      N: 4543151.24515692  S: 4317194.98362237  Res: 29.99950366  |<br style="box-sizing:inherit"> |      E: 759846.34683197  W: 584057.70444841  Res: 29.99806184   |<br style="box-sizing:inherit"> |  Range of data:  min = -90 max = 78.47394               |<br style="box-sizing:inherit"> |                                      |<br style="box-sizing:inherit"> |  Data Description:                            |<br style="box-sizing:inherit"> |  generated by r.horizon                         |<br style="box-sizing:inherit"> |                                      |<br style="box-sizing:inherit"> |  Comments:                                |<br style="box-sizing:inherit"> |  r.horizon -d elevation="dem30m@PERMANENT" direction=0 start=0.0 end=\  |<br style="box-sizing:inherit"> |  360.0 output="east" distance=1.0 file="-"                |<br style="box-sizing:inherit"> |                                      |<br style="box-sizing:inherit"> |  Horizon view from azimuth angle 0.00 degrees CCW from East       |<br style="box-sizing:inherit"> |                                      |<br style="box-sizing:inherit"> +----------------------------------------------------------------------------+</div><div class="gmail-p-rich_text_section" style="box-sizing:inherit"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>