<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>On Thu, Aug 14, 2014, at 02:29 PM, Vaclav Petras wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div> </div>
<div><div>On Wed, Aug 13, 2014 at 4:46 PM, Tyler Smith <span dir="ltr"><<a href="mailto:tyler@plantarum.ca" target="_blank">tyler@plantarum.ca</a>></span> wrote:<br></div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="overflow:hidden">I'm trying to generate solar irradiance data for a set of points (which<br></div>
<div style="overflow:hidden">


requires r.horizon and r.sun output). My data covers most of eastern<br></div>
<div style="overflow:hidden">
North America at 20m by 20m resolution. This is beyond the capacity of<br></div>
<div style="overflow:hidden">
my computer to process. However, I don't need complete maps for this<br></div>
<div style="overflow:hidden">
area. I only need the beam values for ca. 10,000 point locations. I<br></div>
<div style="overflow:hidden">
expect it would be possible to do this on my laptop, but I can't figure<br></div>
<div style="overflow:hidden">
out how to limit the analysis to these spots. Is it possible? Does<br></div>
<div style="overflow:hidden">
anyone have any suggestions?<br></div>
</blockquote></div>
<div> </div>
</div>
<div>I'm not sure if I see all the details but if you can script in Python or Bash you can do something like iteration over all points using PyGRASS or v.out.ascii and textual processing (the later applies also for external files with points) and then set computation region using g.region around each point to sufficient extent. Then you compute the r.horizon and r.sun just in the specified (computational) region and store the results as maps and as text (using e.g. r.univar or v.what.rast). Does this make sense?<br></div>
</div>
</blockquote><div> </div>
<div>Thanks, Vaclav.<br></div>
<div> </div>
<div>That makes sense. I know enough bash to try that out.<br></div>
<div> </div>
<div>Best,<br></div>
<div> </div>
<div>Tyler</div>
</body>
</html>