[GRASS-user] New wiki addons script: r.game_of_life

Hamish hamish_nospam at yahoo.com
Mon Aug 27 05:23:46 EDT 2007


Patton, Eric wrote:
> I tried your script with type set to 2d_life, and it seemed to run fine, but > I closed the monitor before the script finished (brief aside: does the script
> actually end at some point, or does it run basically forever?)

It is hardcoded to go 255 iterations, but I should perhaps make it go
 $((BOXSIZE - 1)) so the 3D raster becomes a cube. (left at 255)

> which seemed to make it hang. I had to kill it the process from the command
> line. Sorry I don't remember what output was printed to the terminal, if
> any.

the display stuff is all passive to the operation; you'll get lots of
error messages about "cannot find the display", but the model should still
run undisturbed.

> If I restart the script and try to run it again, I get the message: 
> 
> "ERROR: Please remove all memories from past life first:
> count.222
> life.222"
> 
> Logging out and restarting Grass doesn't seem to help; the same message
> appears.

sorry, you need to g.remove those raster maps. 

I've updated the script a little now to cover these issues, and a 6.2.2
incompatibility pointed out by Len Coop.



still interested to hear if anyone got the 3D isosurface to work.

Hamish




More information about the grass-user mailing list