[GRASS-dev] Using the new s flag or seed option for r.mapcalc in a python script
Anna Petrášová
kratochanna at gmail.com
Thu Jul 24 07:29:21 PDT 2014
On Thu, Jul 24, 2014 at 10:21 AM, Glynn Clements <glynn at gclements.plus.com>
wrote:
>
> Paulo van Breugel wrote:
>
> > How do I use this new flag / seed parameter for r.mapcalc in python
> > scripts?
>
> The grass.script.mapcalc() function has been updated to accept a seed=
> parameter, which should be either an integer or the string 'auto' for
> a random seed.
>
Just curious, why don't you use the s flag and instead create the seed in
Python?
Anna
>
> --
> Glynn Clements <glynn at gclements.plus.com>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140724/6c916e44/attachment.html>
More information about the grass-dev
mailing list