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

Vaclav Petras wenzeslaus at gmail.com
Tue Jul 22 14:05:40 PDT 2014

On Tue, Jul 22, 2014 at 4:58 PM, Glynn Clements <glynn at gclements.plus.com>

> Markus Neteler wrote:
> > - if the user needs reproducability, then have a env var to enable that.
> 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.

This looks very good at first glance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140722/64f5d305/attachment-0001.html>

More information about the grass-dev mailing list