[GRASS-dev] present state of GmAnim in gui

Michael Barton michael.barton at asu.edu
Tue Oct 2 13:33:22 EDT 2007

On 10/2/07 7:55 AM, "Kirk Wythers" <kwythers at umn.edu> wrote:

> Presently GmAnim runs (using the same 30s raster from the worldclim
> database). However I do notice that several of the buttons on the
> animation window are broken, including the "exit" button, which gives
> this error:
> WARNING: <tmpanimregion541> nothing removed
> WARNING: <tmpanimregion541> nothing removed
>      while executing
> "exec g.remove region=$tmpregion --q"
>      (procedure "GmAnim::cmd_exit" line 21)
>      invoked from within
> "GmAnim::cmd_exit"
>      (command bound to event)

The warning is just that, not an error. But I don't know what is causing
this. I'll look into it.

> As an odd sidenote, the older version of GmAnim (before the animation
> window was updated to have buttons on the top of the window) worked
> fine with:
>   regexp {nsres= *([0-9]+)} $region dummy oldres1
>   regexp {ewres= *([0-9]+)} $region dummy oldres2
>   regexp {rows= *([0-9]+)} $region dummy vrows
>   regexp {cols= *([0-9]+)} $region dummy vcols

The very first version that was disseminated, was written by Glynn as a
prototype TclTk replacement for Xganim. When I incorporated it into the
overall TclTk GUI, I had to change aspects of how it operated--though not
this part. These statements work fine with integer-level resolutions (e.g.,
1m, 30m), but seem to have problems with resolutions that are floating
point. I'm sure that the regexp statements could be changed to deal with FP
data, but I don't know how to do it. So I accomplished this by another


Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

More information about the grass-dev mailing list