<html><head></head><body><div>Hi,</div><div>I suppose your raster "band10" overlap with rasters (Dem, aspec, etc.) you use as input for r.sun otherwise you are trying to read information from input rasters over an area where they have nodata. Anyway, I tested on NC sample location but r.sun seems to work fine also if I have not set albedo/lat/long rasters. I get always output files, and empty only when are supposed to be (midnight for example). Here the code I used:</div><div><i></i><i>r.sun elevation=elevation@PERMANENT aspect=asp@PERMANENT slope=slo@PERMANENT incidout=out.beam beam_rad=out.direct glob_rad=out.global day=207 time=6</i></div><div><i><br></i></div><div>Regards,</div><div>Andrea</div><div><br></div><div>Il giorno dom, 17/06/2018 alle 00.01 +0300, hindo kush ha scritto:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="auto"> Yeah i have set it as band 10 g.region raster=band10<div dir="auto">Regards</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 16 Jun 2018, 23:59 Andrea Balotti, <<a href="mailto:balotti.and@gmail.com">balotti.and@gmail.com</a>> wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><div>Hi,</div><div>first of all, have you set the region?</div><div><br></div><div>Andrea</div><div><br></div><div>Il giorno sab, 16/06/2018 alle 12.47 +0300, hindo kush ha scritto:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">All,<div>While calculating Net Radiation i have to run the r.sun module and i did exactly what it was in the manual but the problem is this that i don't get any output any hint!!!</div><div><br></div><div><div>(Sat Jun 16 12:39:45 2018)                                                      </div><div>r.sun elevation=Dem@PERMANENT aspect=aspec@PERMANENT slope=slp@PERMANENT albedo=Albedo@PERMANENT lat=latmp@PERMANENT long=longmp@PERMANENT incidout=IRdAnM1 beam_rad=BIrdM1 diff_rad=DIrdM1 refl_rad=GrIrdM1 glob_rad=GIrdM1 day=207 time=6</div><div>Number of threads <1></div><div>Mode 1: instantaneous solar incidence angle & irradiance using a set local time</div><div>Using Linke constant: 3.000000</div><div>Using albedo map <Albedo@PERMANENT></div><div>Using slope map <slp@PERMANENT></div><div>Using aspect map <aspec@PERMANENT></div><div>(Sat Jun 16 12:39:53 2018) Command finished (8 sec)    </div><div><br></div><div>GRASS 4.1</div><div>windows 64bit </div><div>16Gp Ram</div><div>                         </div></div><div>kindly see the attached picture as well</div></div>
<pre>_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank" rel="noreferrer">grass-user@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre></blockquote></div></blockquote></div>
</blockquote></body></html>