[GRASS-user] Topography shading in irradiance

Dear,

I have irradiance data from the WRF meteorological model, the data is with 3 km resolution, first I need to refine it to 1 km resolution and then calculate the irradiance loss due to the shading of the terrain.

Is there a tool that does this in GRASS? I would like to use an irradiance raster as input and know the influence of topography on shading, similar to what is presented in the solar potential atlases.

If you can clarify this for me I would appreciate it.

Thank you very much in advance,
Robson

Hello Robson,
although I did not completely understood your problem, here are a few
points for a start.
1. Import WRF data in into a new location/mapset with its coordinate
system matching WRF one;
2. Set computational region resolution to 1km (g.region res=1000 -a -p);
3. Run one of r.resamp.* tools (e.g. r.resamp.interp) to obtain smooth
version of WRF in the new resolution set in the step #2.
4. ???
5. Profit!

To fill ???, take a look at r.sun and r.sunmask. You will need a DEM
to calculate the influence of topography.

https://grass.osgeo.org/grass78/manuals/r.resamp.interp.html
https://grass.osgeo.org/grass78/manuals/r.sun.html
https://grass.osgeo.org/grass78/manuals/r.sunmask.html

Don't hesitate to ask follow up questions after taking a look at r.sun
and r.sunmask.
Good luck,
Māris.

2021-08-12 5:04 GMT+03:00, Robson Passos <robsonbarretodospassos@gmail.com>:

Dear,

I have irradiance data from the WRF meteorological model, the data is with
3 km resolution, first I need to refine it to 1 km resolution and then
calculate the irradiance loss due to the shading of the terrain.

Is there a tool that does this in GRASS? I would like to use an irradiance
raster as input and know the influence of topography on shading, similar to
what is presented in the solar potential atlases.

If you can clarify this for me I would appreciate it.

Thank you very much in advance,
Robson

Dear, thank you very much for the reply.

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?

Thank you very much,
Robson.

Em qui., 12 de ago. de 2021 às 04:01, Maris Nartiss <maris.gis@gmail.com> escreveu:

Hello Robson,
although I did not completely understood your problem, here are a few
points for a start.

  1. Import WRF data in into a new location/mapset with its coordinate
    system matching WRF one;
  2. Set computational region resolution to 1km (g.region res=1000 -a -p);
  3. Run one of r.resamp.* tools (e.g. r.resamp.interp) to obtain smooth
    version of WRF in the new resolution set in the step #2.
  4. ???
  5. Profit!

To fill ???, take a look at r.sun and r.sunmask. You will need a DEM
to calculate the influence of topography.

https://grass.osgeo.org/grass78/manuals/r.resamp.interp.html
https://grass.osgeo.org/grass78/manuals/r.sun.html
https://grass.osgeo.org/grass78/manuals/r.sunmask.html

Don’t hesitate to ask follow up questions after taking a look at r.sun
and r.sunmask.
Good luck,
Māris.

2021-08-12 5:04 GMT+03:00, Robson Passos <robsonbarretodospassos@gmail.com>:

Dear,

I have irradiance data from the WRF meteorological model, the data is with
3 km resolution, first I need to refine it to 1 km resolution and then
calculate the irradiance loss due to the shading of the terrain.

Is there a tool that does this in GRASS? I would like to use an irradiance
raster as input and know the influence of topography on shading, similar to
what is presented in the solar potential atlases.

If you can clarify this for me I would appreciate it.

Thank you very much in advance,
Robson