[GRASS-dev] [GRASS GIS] #2116: r.kappa: call to r.stats fails if spaces in path

GRASS GIS trac at osgeo.org
Sun Oct 27 15:51:07 PDT 2013


#2116: r.kappa: call to r.stats fails if spaces in path
---------------------------+------------------------------------------------
 Reporter:  mlennert       |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  6.4.4                    
Component:  Raster         |     Version:  svn-releasebranch64      
 Keywords:  r.kappa, path  |    Platform:  Unspecified              
      Cpu:  Unspecified    |  
---------------------------+------------------------------------------------
Changes (by hamish):

  * keywords:  kappa path => r.kappa, path
  * component:  Default => Raster


Old description:

> To reproduce with GISBASE="GRASS DATA":
>

> {{{
> r.kappa classification=landclass96 at PERMANENT
> reference=landuse96_28m at PERMANENT
>
> Sorry <DATA/nc_spm_08/user1/.tmp/moritz/31976.0> is not a valid option
> }}}
>
> The attached patch solves the problem for me, but I imagine that there is
> a more elegant solution.
>
> Moritz

New description:

 To reproduce with GISDBASE="GRASS DATA":


 {{{
 r.kappa classification=landclass96 at PERMANENT
 reference=landuse96_28m at PERMANENT

 Sorry <DATA/nc_spm_08/user1/.tmp/moritz/31976.0> is not a valid option
 }}}

 The attached patch solves the problem for me, but I imagine that there is
 a more elegant solution.

 Moritz

--

Comment:

 simple quoting fix committed in devbr6 & relbr64 with r58111,2.

 it should be tested in wingrass before closing the ticket, see the i.smap
 help page for an example.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2116#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list