[GRASS-dev] [GRASS GIS] #2327: r.diversity = Illegal areas disposition

GRASS GIS trac at osgeo.org
Thu Jun 5 23:20:02 PDT 2014


#2327: r.diversity = Illegal  areas disposition
-------------------------+--------------------------------------------------
 Reporter:  sands        |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.1.0                    
Component:  Raster       |     Version:  svn-trunk                
 Keywords:  r.diversity  |    Platform:  MSWindows 7              
      Cpu:  x86-64       |  
-------------------------+--------------------------------------------------
 When running r.diversity in GRASS GIS 7.1svn [60382] on Windows 7 64 (but
 with Python 2.7 win32) I get ERROR: Illegal areas disposition

 With Helmut Kudrnovsky's help, I commented out lines 147-149 and 272-275
 in r.diversity.py to keep the conf file and check it's contents, which
 appear fine:

 conf_diversity_3.0:
 SAMPLINGFRAME 0|0|1|1
 SAMPLEAREA -1|-1|0.00631578947368|0.00569259962049
 MOVINGWINDOW

 I would appreciate any suggestions on what the error could be.

 # CODE: Using nc_spm_08_grass7

 g.gisenv set=DEBUG=1
 g.region rast=lsat5_1987_10 at landsat
 r.diversity --verbose input=lsat7_2002_10 at PERMANENT prefix=t
 method=simpson,pielou
 """Results:
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: grass.script.core.start_command(): r.li.simpson
 input=lsat7_2002_10 at PERMANENT conf=conf_diversity_3.0
 output=t_simpson_size_3.0
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster(): name=MASK mapset=landsat
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: r.li.daemon pathSetup: [C:\Users\Sands\AppData\Roa
 ming\GRASS7\r.li\conf_diversity_3.0]
 ERROR: Illegal areas disposition
 D1/1: grass.script.core.start_command(): r.li.pielou
 input=lsat7_2002_10 at PERMANENT conf=conf_diversity_3.0
 output=t_pielou_size_3.0
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster2(): name=lsat7_2002_10 mapset=PERMANENT
 D1/1: G_find_raster(): name=MASK mapset=landsat
 D1/1: G_find_raster2(): name=lsat7_2002_10 at PERMANENT mapset=
 D1/1: r.li.daemon pathSetup: [C:\Users\Sands\AppData\Roa
 ming\GRASS7\r.li\conf_diversity_3.0]
 ERROR: Illegal areas disposition
 (Fri Jun 06 07:24:02 2014) Command finished (0 sec)"""

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2327>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list