[GRASS-dev] [GRASS GIS] #3791: r.stats.zonal with -r option

GRASS GIS trac at osgeo.org
Tue Mar 12 14:01:19 PDT 2019


#3791: r.stats.zonal with -r option
--------------------------+-------------------------
  Reporter:  frankie      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.4.5
 Component:  Raster       |    Version:  7.2.0
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by frankie):

 I managed to work around as suggested, i.e. adding a rules= parameter to
 save the reclassing rules file, then mimic r.category with simple egrep
 clauses on the resulting rules set. At least it allows to have results in
 decent time. I also noticed that while a lot of rules associate -nan they
 are probably even processed in the r.reclass run. I agree that the right
 fix would be modifying the library function, but in the meantime this
 silly trick saved my butt :-)

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



More information about the grass-dev mailing list