<br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 2:16 PM, Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Rainer:<br>
<div class="im">&gt; It would be really nice, if one could define a script<br>
&gt; (in a environment variable) which will be always executed<br>
&gt; if this event occurs. This could then easily be used to<br>
&gt; instruct an external viewer to e.g. redraw.<br>
<br>
</div>what kind of external viewer?<br></blockquote><div><br>e.g. a GRASS instance, as the simulation is not locking the actual mapset.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
why not just put d.redraw inside the loop?<br></blockquote><div><br>Because that would take time, and would not always be needed.<br>I am running my simulations (written in R and using GRASS) for testing and debugging purposes on a laptop, and if they are working, I send them, for final simulation to a hpc cluster. The reason why I would like to have an external viewer is to simply &quot;look into the simulation&quot; while I am debugging, and not having to change anything when I send it to the cluster. OK - a debug option is included, but I am reluctant to put the viewer into the simulation.<br>
<br>Effectively, I was thinking about e.g. a GRASS instance which is displaying the layer &quot;aliens&quot; in the workspace ASM and automatically updates when the layer is updated from the simulation. So I could even look into a simulation running on the cluster, without having to interfere with the simulation.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
see also grass7 addons d.mon script (not the new fancy one in<br>
trunk) for `qiv` autoupdate when the composited display file<br>
changes.<br></blockquote><div><br>I will - thanks. Could you point me to a website?<br><br>Cheers,<br><br>Rainer<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<font color="#888888"><br>
<br>
Hamish<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of Excellence for Invasion Biology<br>Stellenbosch University<br>
South Africa<br><br>Tel :       +33 - (0)9 53 10 27 44<br>Cell:       +33 - (0)6 85 62 59 98<br>Fax (F):       +33 - (0)9 58 10 27 44<br><br>Fax (D):    +49 - (0)3 21 21 25 22 44<br><br>email:      <a href="mailto:Rainer@krugs.de" target="_blank">Rainer@krugs.de</a><br>
<br>Skype:      RMkrug<br><br>