[GRASS-user] How to use r.horizon output work with r.sun

Helen Kesting hkesting at unr.edu
Wed May 11 19:30:04 PDT 2022


Hello,

I'm sorry if this was sent twice. I'm unsure if my first attempt to send this was successful.

I am trying to generate total radiation grids using r.sun, but when I use the outputs of r.horizon with r.sun, no output file is created. I ran r.horizon for all angles between 0 and 360 with an angle step of 5. However, I ran the angles in separate tool windows. I used the same base name for all runs of r.horizon, but these files don't seem to work together in r.sun.

I have tried running r.sun without r.horizon inputs and it works. I was going to try running all horizon angles within a single tool window, but the run time for all 72 angles is almost 20 days, so that's not a feasible option for me.

Are the outputs of r.horizon marked in some way (besides having a consistent base name) to allow these files to work together in r.sun? If so, can I mark the files that I created from separate runs of r.horizon in the same way?

Photos below show my workflow.

  1.  Load in the 30-m DEM and set computation extent to the boundary of California.[cid:b12ab2a1-aff5-4f30-8c49-1ce0cf2d7a14]
  2.  Use multiple windows of r.horizon to generate 72 horizon rasters.
  3.  [cid:fef88754-be52-4b19-939b-0fce09ef7f86]
  4.
  5.  3. Use r.sun to generate global irradiance grid.
  6.  [cid:91ecaee5-5540-4a2d-9a8c-36f164da03e6]
  7.  There is no output file created.

Thank you,

Helen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20220512/aeb11dd8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 176703 bytes
Desc: image.png
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20220512/aeb11dd8/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 47887 bytes
Desc: image.png
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20220512/aeb11dd8/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 33553 bytes
Desc: image.png
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20220512/aeb11dd8/attachment-0005.png>


More information about the grass-user mailing list