<div dir="ltr"><div><div><div><div><div><div>Thanks Paulo,<br><br></div>That page really helps.<br></div>I'll have a look at the Python multithreading example.<br></div><br>I also noticed something about r.sun and OpenCL: <a href="http://grasswiki.osgeo.org/wiki/R.sun#OpenCL">http://grasswiki.osgeo.org/wiki/R.sun#OpenCL</a><br>
</div>This page doesn't say if it is already implemented in the current version of GRASS. I do think I need to use GRASS7, am I right?<br></div>I have a ATI Radeon HD 4800 with 4GB, this should speed up r.sun, right?<br>
</div><div>I've looked at the download page of GRASS, but didn't see a GRASS7 installer for Windows. Isn't this available? I really don't hope I need to compile it myself ;)<br><br></div><div>Thanks,<br></div>
<div class="gmail_extra"><div>
<br>
Paul<br></div><br><div class="gmail_quote">2012/12/29 Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000099" bgcolor="#FFFFFF">
Perhaps this will give you some useful pointers:
<a href="http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs" target="_blank">http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs</a><div><div class="h5"><br>
<br>
<div>On 12/29/2012 01:03 PM, Paul Meems
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi list,<br>
<br>
</div>
Last night my test script successfully finished
processing my small area and created a annual
solar radiation raster.<br>
</div>
<br>
I did a comparison with the solar radiation
produced by ArcMap and noticed its radiation is
almost twice as high as the one produced by Grass.
Probably I'm not using the correct output files.<br>
</div>
I'm using glob_rad from r.sun as my result. I will
have a closer look why this difference is happening.<br>
</div>
If anyone can give me some pointers that would be must
appreciated.<br>
<br>
</div>
My real question today is how to speed up the process.
My script took 7 hours to finish, but only used a
fraction of the available resources. While running the
script (on Windows) only 30% of my quadcore CPU was used
and only 3GB of my 8GB RAM.<br>
</div>
Since I'm looping on r.sun, calling it 365 times I was
thinking of calling it several times at once.<br>
</div>
Is this possible? Calling r.sun 4 or 5 times at once will
decrease the time for the script to workable proportions.<br>
Probably this is more of a Python question than a GRASS
question but any pointers would be very helpful.<br>
<br>
</div>
Thanks,<br>
<br>
</div>
Paul<br>
<br>
<div>
<div>
<div>
<div>
<div> <br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div>