<div dir="ltr">Hi,<div><br></div><div>I don't see anything wrong here, so my suggestion would be to replicate your workflow on the NC sample dataset and see if that works properly. If not, then it would be easier for us to figure out what's wrong. If the workflow works on the NC dataset, but not on CA, the problem could be perhaps that the r.sun process crashes due to insufficient memory or a bug.</div><div><br></div><div>Anna</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 11, 2022 at 10:30 PM Helen Kesting <<a href="mailto:hkesting@unr.edu">hkesting@unr.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:12pt">Hello,</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:12pt"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-size:12pt">I'm sorry if this was sent twice. I'm unsure if my first attempt to send this was successful.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
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.</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
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. </div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
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? </div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
Photos below show my workflow.</div>
<div style="margin:0px;font-size:12pt;background-color:rgb(255,255,255)">
<ol>
<li><span style="margin:0px">Load in the 30-m DEM and set computation extent to the boundary of California.<img width="230" height="259" style="margin: 0px; width: 230.222px; height: 259px; min-height: auto; min-width: auto;" size="418438" src="cid:180d77475fbcb971f161"><br>
</span></li><li><span style="margin:0px">Use multiple windows of r.horizon to generate 72 horizon rasters.</span></li><li style="display:block"><span style="margin:0px"><img size="48130" style="margin: 0px; max-width: 100%; min-height: auto; min-width: auto;" src="cid:180d77475fbcb971f162"><br>
</span></li><li style="display:block"><span style="margin:0px"><br>
</span></li><li style="display:block"><span style="margin:0px">3. Use r.sun to generate global irradiance grid.</span></li><li style="display:block"><span style="margin:0px"><img size="33796" style="margin: 0px; max-width: 100%; min-width: auto; min-height: auto; height: auto;" src="cid:180d77475fbcb971f163"><br>
</span></li><li style="display:block">There is no output file created.</li></ol>
<div style="margin:0px">Thank you,</div>
<div style="margin:0px"><br>
</div>
<span style="margin:0px">Helen</span></div>
<br>
</div>
</div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div>