[GRASS-dev] [GRASS GIS] #3685: pygrass GridModule: ERROR: Unable to open element file <windows>

GRASS GIS trac at osgeo.org
Fri Oct 19 07:02:27 PDT 2018


#3685: pygrass GridModule: ERROR: Unable to open element file <windows>
--------------------------+-------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.6.0
 Component:  PyGRASS      |    Version:  svn-trunk
Resolution:               |   Keywords:  GridModule
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by Nikos Alexandris):

 Same errors here. What is the content of the WIND file(s).
 Here, all of the WIND files, inside each izc_* directory, are identical
 and set to

 {{{
 proj:       99
 zone:       0
 north:      1000
 south:      0
 east:       1000
 west:       0
 cols:       1000
 rows:       1000
 e-w resol:  1
 n-s resol:  1
 top:        1.000000000000000
 bottom:     0.000000000000000
 cols3:      1000
 rows3:      1000
 depths:     1
 e-w resol3: 1
 n-s resol3: 1
 t-b resol:  1
 }}}

 which is the "default" region in the Location 'nc_spm_08_grass7', Mapset
 'PERMANENT':

 {{{
 g.region -p
 projection: 99 (Lambert Conformal Conic)
 zone:       0
 datum:      nad83
 ellipsoid:  a=6378137 es=0.006694380022900787
 north:      1000
 south:      0
 west:       0
 east:       1000
 nsres:      1
 ewres:      1
 rows:       1000
 cols:       1000
 cells:      1000000
 }}}

 Yet the raster map lies elsewhere:
 {{{
 r.info ortho_2001_t792_1m -g
 north=222504
 south=219456
 east=640081
 west=637033
 nsres=1
 ewres=1
 rows=3048
 cols=3048
 cells=9290304
 datatype=CELL
 ncats=188
 }}}

 Or is it irrelevant, and they are just set back to the default after the
 script's completion, since the script uses `gscript.use_temp_region()`?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3685#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list