<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 5:22 AM, Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
Rainer M Krug wrote:<br>
<br>
&gt; &gt; Monitoring the filesystem is likely to be unreliable, as there&#39;s no<br>
&gt; &gt; straightforward way to determine when files are in a consistent state.<br>
&gt;<br>
&gt; Thanks for pointing this out and saving me some work - otherwise I might<br>
&gt; have chosen that path...<br>
<br>
</div>Also, doing this at the library level would have similar issues,<br>
albeit less severe.<br>
<br>
E.g. when a module finishes writing the actual raster data (i.e.<br>
G_close_cell() or Rast_close()), often the next thing it does is to<br>
write metadata (categories, colour table, history). There is no<br>
specific &quot;event&quot; which signals that the output raster is &quot;complete&quot;.<br>
<br>
Generating notifications on &quot;close&quot; operations would ensure that<br>
individual files are consistent, but that doesn&#39;t mean that the raster<br>
as a whole is consistent.<br>
<br>
This is something that has been discussed in the past, but without<br>
resolution. Improvements in this area are certainly desirable; e.g.<br>
reading a map in another mapset relies upon luck, as there is no<br>
mechanism to ensure that the owner of that mapset isn&#39;t modifying the<br>
map in question at the time. Unfortunately, the issues are complex,<br>
making it hard to decide what should be done, let alone doing it.<br></blockquote><div><br>Thanks a lot for all your input - I think I will put in a mechanism in the model (i.e. writing a file when a layer has been updated ) which I can react on from an external viewer / application.<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>
Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
</font></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>