[GRASS-user] r.sun for selected points

Tyler Smith tyler at plantarum.ca
Fri Aug 15 13:45:18 PDT 2014


On Fri, Aug 15, 2014, at 04:30 PM, Markus Neteler wrote:
> On Thu, Aug 14, 2014 at 8:42 AM, roy <royroge at outlook.com> wrote:
> >
> > Il 13/08/2014 22:46, Tyler Smith ha scritto:
> >
> >>   but I can't figure
> >> out how to limit the analysis to these spots. Is it possible? Does
> >> anyone have any suggestions?
> >>
> > Hi Tyler,
> >
> > you sure can use the region settings and the r.mask GRASS module to
> > limit the analysis area:
> >
> > use
> > "g.region" and "r.mask"
> 
> Keep in mind the shading effect of surrounding mountains which
> requires that the area must be larger than the pixel of interest.
> You could calculate the viewshed with r.viewshed in order to estimate
> the minimum area to be considered for a pixel.
> Then put all into a loop.
> 

That's a good idea, thanks. At the moment I've got r.horizon running on
a server (12CPU, 32G RAM). I broke the area up into a dozen overlapping
areas, and it seems to be working. When I get to r.sun I may try
scripting a loop as you've suggested.

Best,

Tyler


More information about the grass-user mailing list