[GRASS-dev] error g.gui.animation when using changing region

Paulo van Breugel p.vanbreugel at gmail.com
Mon Jul 6 11:08:57 PDT 2015


Hi, when I define to regions in g.gui.animation (under the advanced tab),
and press OK and OK again, the 'Rendering map layers' gets as far as (3 out
of 12) and then the g.gui.animation freezes. Error messages in the console
below.

Any idea whether this is a bug or if I am doing something wrong?

Paulo

g.gui.animation strds=tmean at Worlclim

Description:
 Manages the boundary definitions for the geographic region.
Keywords:
 general, settings
Usage:
 g.region [-dsplectwmn3bgau] [region=name]
[raster=name[,name,...]]
   [raster_3d=name] [vector=name[,name,...]] [n=value]
[s=value]
   [e=value] [w=value] [t=value] [b=value] [rows=value]
[cols=value]
   [res=value] [res3=value] [nsres=value] [ewres=value]
[tbres=value]
   [zoom=name] [align=name] [save=name] [--overwrite]
[--help]
   [--verbose] [--quiet] [--ui]
Flags:
  -d   Set from default region
  -s   Save as default region
        Only possible from the PERMANENT mapset
  -p   Print the current region
  -l   Print the current region in lat/long using the
current ellipsoid/datum
  -e   Print the current region extent
  -c   Print the current region map center coordinates
  -t   Print the current region in GMT style
  -w   Print the current region in WMS style
  -m   Print region resolution in meters (geodesic)
  -n   Print the convergence angle (degrees CCW)
        The difference between the projection's grid north
and true north, measured at the center coordinates of the
current region.
  -3   Print also 3D settings
  -b   Print the maximum bounding box in lat/long on WGS84
  -g   Print in shell script style
  -a   Align region to resolution (default = align to
bounds, works only for 2D resolution)
  -u   Do not update the current region
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output
 --ui  Force launching GUI dialog
Parameters:
     region   Set current region from named region
     raster   Set region to match raster map(s)
  raster_3d   Set region to match 3D raster map(s) (both 2D
and 3D values)
     vector   Set region to match vector map(s)
          n   Value for the northern edge
          s   Value for the southern edge
          e   Value for the eastern edge
          w   Value for the western edge
          t   Value for the top edge
          b   Value for the bottom edge
       rows   Number of rows in the new region
       cols   Number of columns in the new region
        res   2D grid resolution (north-south and east-west)
       res3   3D grid resolution (north-south, east-west and
top-bottom)
      nsres   North-south 2D grid resolution
      ewres   East-west 2D grid resolution
      tbres   Top-bottom 3D grid resolution
       zoom   Shrink region until it meets non-NULL data
from this raster map
      align   Adjust region cells to cleanly align with this
raster map
       save   Save current region settings in named region
file
ERROR: g.region: Sorry, <projection> is not a valid
parameter
ERROR: g.region: Sorry, <zone> is not a valid parameter
Process Process-27:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line
258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line
114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati
on/provider.py", line 493, in RenderProcess2D
    os.environ['GRASS_REGION'] = gcore.region_env(**region)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 1003, in region_env
    s = read_command('g.region', flags=flgs, **kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 427, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 312, in handle_errors
    returncode=returncode)
CalledModuleError: Module run None ['g.region', '-ug',
'e=47.9916666667', 'projection=3', 'zone=0', 'n=14.9',
's=3.31666666667', 'w=32.9916666667',
'ewres=0.0188442211055', 'nsres=0.024540960452'] ended with
error
Process ended with non-zero return code 1. See errors in the
(error) output.
Description:
 Manages the boundary definitions for the geographic region.
Keywords:
 general, settings
Usage:
 g.region [-dsplectwmn3bgau] [region=name]
[raster=name[,name,...]]
   [raster_3d=name] [vector=name[,name,...]] [n=value]
[s=value]
   [e=value] [w=value] [t=value] [b=value] [rows=value]
[cols=value]
   [res=value] [res3=value] [nsres=value] [ewres=value]
[tbres=value]
   [zoom=name] [align=name] [save=name] [--overwrite]
[--help]
   [--verbose] [--quiet] [--ui]
Flags:
  -d   Set from default region
  -s   Save as default region
        Only possible from the PERMANENT mapset
  -p   Print the current region
  -l   Print the current region in lat/long using the
current ellipsoid/datum
  -e   Print the current region extent
  -c   Print the current region map center coordinates
  -t   Print the current region in GMT style
  -w   Print the current region in WMS style
  -m   Print region resolution in meters (geodesic)
  -n   Print the convergence angle (degrees CCW)
        The difference between the projection's grid north
and true north, measured at the center coordinates of the
current region.
  -3   Print also 3D settings
  -b   Print the maximum bounding box in lat/long on WGS84
  -g   Print in shell script style
  -a   Align region to resolution (default = align to
bounds, works only for 2D resolution)
  -u   Do not update the current region
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output
 --ui  Force launching GUI dialog
Parameters:
     region   Set current region from named region
     raster   Set region to match raster map(s)
  raster_3d   Set region to match 3D raster map(s) (both 2D
and 3D values)
     vector   Set region to match vector map(s)
          n   Value for the northern edge
          s   Value for the southern edge
          e   Value for the eastern edge
          w   Value for the western edge
          t   Value for the top edge
          b   Value for the bottom edge
       rows   Number of rows in the new region
       cols   Number of columns in the new region
        res   2D grid resolution (north-south and east-west)
       res3   3D grid resolution (north-south, east-west and
top-bottom)
      nsres   North-south 2D grid resolution
      ewres   East-west 2D grid resolution
      tbres   Top-bottom 3D grid resolution
       zoom   Shrink region until it meets non-NULL data
from this raster map
      align   Adjust region cells to cleanly align with this
raster map
       save   Save current region settings in named region
file
ERROR: g.region: Sorry, <projection> is not a valid
parameter
ERROR: g.region: Sorry, <zone> is not a valid parameter
Description:
 Manages the boundary definitions for the geographic region.
Keywords:
 general, settings
Usage:
 g.region [-dsplectwmn3bgau] [region=name]
[raster=name[,name,...]]
   [raster_3d=name] [vector=name[,name,...]] [n=value]
[s=value]
   [e=value] [w=value] [t=value] [b=value] [rows=value]
[cols=value]
   [res=value] [res3=value] [nsres=value] [ewres=value]
[tbres=value]
   [zoom=name] [align=name] [save=name] [--overwrite]
[--help]
   [--verbose] [--quiet] [--ui]
Flags:
  -d   Set from default region
  -s   Save as default region
        Only possible from the PERMANENT mapset
  -p   Print the current region
  -l   Print the current region in lat/long using the
current ellipsoid/datum
  -e   Print the current region extent
  -c   Print the current region map center coordinates
  -t   Print the current region in GMT style
  -w   Print the current region in WMS style
  -m   Print region resolution in meters (geodesic)
  -n   Print the convergence angle (degrees CCW)
        The difference between the projection's grid north
and true north, measured at the center coordinates of the
current region.
  -3   Print also 3D settings
  -b   Print the maximum bounding box in lat/long on WGS84
  -g   Print in shell script style
  -a   Align region to resolution (default = align to
bounds, works only for 2D resolution)
  -u   Do not update the current region
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output
 --ui  Force launching GUI dialog
Parameters:
     region   Set current region from named region
     raster   Set region to match raster map(s)
  raster_3d   Set region to match 3D raster map(s) (both 2D
and 3D values)
     vector   Set region to match vector map(s)
          n   Value for the northern edge
          s   Value for the southern edge
          e   Value for the eastern edge
          w   Value for the western edge
          t   Value for the top edge
          b   Value for the bottom edge
       rows   Number of rows in the new region
       cols   Number of columns in the new region
        res   2D grid resolution (north-south and east-west)
       res3   3D grid resolution (north-south, east-west and
top-bottom)
      nsres   North-south 2D grid resolution
      ewres   East-west 2D grid resolution
      tbres   Top-bottom 3D grid resolution
       zoom   Shrink region until it meets non-NULL data
from this raster map
      align   Adjust region cells to cleanly align with this
raster map
       save   Save current region settings in named region
file
ERROR: g.region: Sorry, <projection> is not a valid
parameter
ERROR: g.region: Sorry, <zone> is not a valid parameter
Process Process-28:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line
258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line
114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati
on/provider.py", line 493, in RenderProcess2D
    os.environ['GRASS_REGION'] = gcore.region_env(**region)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 1003, in region_env
    s = read_command('g.region', flags=flgs, **kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 427, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 312, in handle_errors
    returncode=returncode)
CalledModuleError: Module run None ['g.region', '-ug',
'e=45.0583333333', 'projection=3', 'zone=0',
'n=12.3696969697', 's=4.51363636364', 'w=35.0613636364',
'ewres=0.012559007157', 'nsres=0.0166441961993'] ended with
error
Process ended with non-zero return code 1. See errors in the
(error) output.
Process Process-29:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line
258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line
114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati
on/provider.py", line 493, in RenderProcess2D
    os.environ['GRASS_REGION'] = gcore.region_env(**region)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 1003, in region_env
    s = read_command('g.region', flags=flgs, **kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 427, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 312, in handle_errors
    returncode=returncode)
CalledModuleError: Module run None ['g.region', '-ug',
'e=44.325', 'projection=3', 'zone=0', 'n=11.7371212121',
's=4.81287878788', 'w=35.5787878788',
'ewres=0.0109877036699', 'nsres=0.0146700051361'] ended with
error
Process ended with non-zero return code 1. See errors in the
(error) output.
Description:
 Manages the boundary definitions for the geographic region.
Keywords:
 general, settings
Usage:
 g.region [-dsplectwmn3bgau] [region=name]
[raster=name[,name,...]]
   [raster_3d=name] [vector=name[,name,...]] [n=value]
[s=value]
   [e=value] [w=value] [t=value] [b=value] [rows=value]
[cols=value]
   [res=value] [res3=value] [nsres=value] [ewres=value]
[tbres=value]
   [zoom=name] [align=name] [save=name] [--overwrite]
[--help]
   [--verbose] [--quiet] [--ui]
Flags:
  -d   Set from default region
  -s   Save as default region
        Only possible from the PERMANENT mapset
  -p   Print the current region
  -l   Print the current region in lat/long using the
current ellipsoid/datum
  -e   Print the current region extent
  -c   Print the current region map center coordinates
  -t   Print the current region in GMT style
  -w   Print the current region in WMS style
  -m   Print region resolution in meters (geodesic)
  -n   Print the convergence angle (degrees CCW)
        The difference between the projection's grid north
and true north, measured at the center coordinates of the
current region.
  -3   Print also 3D settings
  -b   Print the maximum bounding box in lat/long on WGS84
  -g   Print in shell script style
  -a   Align region to resolution (default = align to
bounds, works only for 2D resolution)
  -u   Do not update the current region
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output
 --ui  Force launching GUI dialog
Parameters:
     region   Set current region from named region
     raster   Set region to match raster map(s)
  raster_3d   Set region to match 3D raster map(s) (both 2D
and 3D values)
     vector   Set region to match vector map(s)
          n   Value for the northern edge
          s   Value for the southern edge
          e   Value for the eastern edge
          w   Value for the western edge
          t   Value for the top edge
          b   Value for the bottom edge
       rows   Number of rows in the new region
       cols   Number of columns in the new region
        res   2D grid resolution (north-south and east-west)
       res3   3D grid resolution (north-south, east-west and
top-bottom)
      nsres   North-south 2D grid resolution
      ewres   East-west 2D grid resolution
      tbres   Top-bottom 3D grid resolution
       zoom   Shrink region until it meets non-NULL data
from this raster map
      align   Adjust region cells to cleanly align with this
raster map
       save   Save current region settings in named region
file
ERROR: g.region: Sorry, <projection> is not a valid
parameter
ERROR: g.region: Sorry, <zone> is not a valid parameter
Process Process-30:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line
258, in _bootstrap
    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line
114, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/animati
on/provider.py", line 493, in RenderProcess2D
    os.environ['GRASS_REGION'] = gcore.region_env(**region)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 1003, in region_env
    s = read_command('g.region', flags=flgs, **kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 427, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "/usr/local/grass7/grass-7.1.svn/etc/python/grass/scr
ipt/core.py", line 312, in handle_errors
    returncode=returncode)
CalledModuleError: Module run None ['g.region', '-ug',
'e=40.6583333333', 'projection=3', 'zone=0',
'n=8.57424242424', 's=6.30909090909', 'w=38.1659090909',
'ewres=0.0031311862342', 'nsres=0.00479904982024'] ended
with error
Process ended with non-zero return code 1. See errors in the
(error) output.
(Mon Jul  6 20:02:42 2015) Command finished (52
sec)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150706/acd5703f/attachment-0001.html>


More information about the grass-dev mailing list