[GRASS-dev] [GRASS GIS] #2067: PyGRASS grid calls g.region at import time

GRASS GIS trac at osgeo.org
Mon Sep 9 14:23:07 PDT 2013


#2067: PyGRASS grid calls g.region at import time
--------------------------+-------------------------------------------------
  Reporter:  huhabla      |       Owner:  grass-dev@…                                                                    
      Type:  defect       |      Status:  closed                                                                         
  Priority:  blocker      |   Milestone:  7.0.0                                                                          
 Component:  Python       |     Version:  svn-trunk                                                                      
Resolution:  fixed        |    Keywords:  wingrass, PyGRASS, Grid, Python, temporal framework, t.remove, t.rast.neighbors
  Platform:  MSWindows 7  |         Cpu:  Unspecified                                                                    
--------------------------+-------------------------------------------------
Changes (by zarch):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Sorry for the late replay but I was in holiday.

 As pointed out by Hamish, when we instantiate a Module object with:

 {{{
 Module('g.region')
 }}}

 We are only run the module with the --interface-description and then
 parsing the xml, I want to avoid to do these operation inside a cycle.
 Now should be fix.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2067#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list