<div dir="ltr">Dear, thank you very much for the reply.<br><br>The r.sun tool considers the terrain shading, that's exactly what I need, but it only uses DEM and some solar parameters as input. The irradiance is calculated by an internal model, in this case it is the potential irradiance. What I need is to use DEM and my own irradiance raster as input. Would it be possible to use r.sun in this way?<br><br>Thank you very much,<br>Robson.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 12 de ago. de 2021 às 04:01, Maris Nartiss <<a href="mailto:maris.gis@gmail.com">maris.gis@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Robson,<br>
although I did not completely understood your problem, here are a few<br>
points for a start.<br>
1. Import WRF data in into a new location/mapset with its coordinate<br>
system matching WRF one;<br>
2. Set computational region resolution to 1km (g.region res=1000 -a -p);<br>
3. Run one of r.resamp.* tools (e.g. r.resamp.interp) to obtain smooth<br>
version of WRF in the new resolution set in the step #2.<br>
4. ???<br>
5. Profit!<br>
<br>
To fill ???, take a look at r.sun and r.sunmask. You will need a DEM<br>
to calculate the influence of topography.<br>
<br>
<a href="https://grass.osgeo.org/grass78/manuals/r.resamp.interp.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass78/manuals/r.resamp.interp.html</a><br>
<a href="https://grass.osgeo.org/grass78/manuals/r.sun.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass78/manuals/r.sun.html</a><br>
<a href="https://grass.osgeo.org/grass78/manuals/r.sunmask.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass78/manuals/r.sunmask.html</a><br>
<br>
Don't hesitate to ask follow up questions after taking a look at r.sun<br>
and r.sunmask.<br>
Good luck,<br>
Māris.<br>
<br>
<br>
2021-08-12 5:04 GMT+03:00, Robson Passos <<a href="mailto:robsonbarretodospassos@gmail.com" target="_blank">robsonbarretodospassos@gmail.com</a>>:<br>
> Dear,<br>
><br>
> I have irradiance data from the WRF meteorological model, the data is with<br>
> 3 km resolution, first I need to refine it to 1 km resolution and then<br>
> calculate the irradiance loss due to the shading of the terrain.<br>
><br>
> Is there a tool that does this in GRASS? I would like to use an irradiance<br>
> raster as input and know the influence of topography on shading, similar to<br>
> what is presented in the solar potential atlases.<br>
><br>
> If you can clarify this for me I would appreciate it.<br>
><br>
> Thank you very much in advance,<br>
> Robson<br>
><br>
</blockquote></div>