<div dir="ltr">Hi,<div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 3:16 AM, Pietro <span dir="ltr"><<a href="mailto:peter.zamb@gmail.com" target="_blank">peter.zamb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Anna,<br>
<br>
soory for the delay...<br>
<span class=""><br>
On Mon, Nov 16, 2015 at 3:23 PM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br>
> On Mon, Nov 16, 2015 at 8:28 AM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>
>> On Tue, Nov 10, 2015 at 7:58 PM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>><br>
>> wrote:<br>
</span><span class="">>> > Maybe some bug in the pygrass raster library?<br>
>><br>
>> Looks like a race condition?<br>
><br>
><br>
> I don't understand why would that happen, the patching done with pygrass<br>
> raster library is not running in parallel.<br>
<br>
</span>Yes I have to investigate more on this to understand what it is not working...<br>
<span class=""><br>
<br>
> A workaround I currently use is to patch the rasters using r.patch, which is<br>
> in the case of viewsheds OK (the overlaps are the same), however in other<br>
> cases such as interpolation, the overlaps are different and r.patch won't<br>
> patch the rasters as desired, that's why the GridModule is using pygrass<br>
> raster library I assume.<br>
<br>
</span>I've modified r.tile to split and merge using an optional parameter<br>
for the overlap (perhaps I should create just a new module r.untile<br>
instead of adding a new flag in r.tile...).<br>
The approach it is much faster than the actual implementation of<br>
r.patch because minimize reading disk operations since we are not<br>
merging general raster maps with undefined bboxes but  well known<br>
tiles...<br>
Unfortunately the implementation still experimental and has some<br>
problems. I will not able to work on this before next year... maybe I<br>
can put the modified version of r.tile in the sandbox repo. </blockquote><div><br></div><div>That would be great addition, I think I would keep it in r.tile, r.untile sounds a little weird. I don't think I would have time to look at it either, but please put it in sandbox, so that it's somewhere.</div><div><br></div><div>I am also having problem that sometimes I am getting</div>
<div>RuntimeError "Execution of subprocesses was not successful" </div><div><br></div><div>it appears randomly, once or twice in 100 runs, but it causes quite a bit of trouble. On Windows I was getting this in half of the cases (but with different data and use case so it's difficult to compare). I think the GridModule is great and makes parallelization so much easier, so I would love to see it working more reliably. It's clear to me that you don't have time to look at it now, neither do I, so I am mainly reporting these issues...</div><div><br></div><div>Thank you!</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Let me know.<br>
<span class=""><font color="#888888"><br>
Pietro<br>
</font></span></blockquote></div><br></div></div></div>