[GRASS-dev] using rand(x,y) in r.mapcalc (grass7)

Paulo van Breugel p.vanbreugel at gmail.com
Tue Jul 22 14:36:11 PDT 2014


On 22-07-14 23:31, Markus Neteler wrote:
> On Tue, Jul 22, 2014 at 11:19 PM, Paulo van Breugel wrote:
>> On 22-07-14 22:58, Glynn Clements wrote:
>>> And when issue of usability doesn't even get considered until a few
>>> years later when the user (or a colleague) gets an email suggesting
>>> the results can't be be reproduced ...?
>>>
>>> I'm inclined to add both an option (to specify a seed, replacing the
>>> environment variable) and a flag (to seed from the system clock or
>>> whatever), and having the PRNG generate a fatal error if neither of
>>> those are used.
>>>
>>> That way, neither of the likely problems can arise by oversight.
>>>
>> I guess there is a lot to say for both approaches, which is why I think the
>> suggestion of Markus is a very good one!  +1 from me
> It is indeed Glynn's suggestion (which I like, too).

Sorry, never seem to get used to how my email program displays the 
treads... good suggestion by Glynn I mean.. Glynn, it would be really 
great if you could implement it that way.

>
> Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140722/66486525/attachment.html>


More information about the grass-dev mailing list