[GRASS-user] [GRASS-dev] execGRASS("r.diversity"): [Error 3] Cannot find path specified \\.grass7\\r.li

Sandra MacFadyen sandramf at live.co.za
Sat May 24 00:16:55 PDT 2014


Hi Luca,

Yes, I set the region to "lsat5_1987_10" beforehand:

g.region -p                                                                     
projection: 99 (Lambert Conformal Conic)
zone:       0
datum:      nad83
ellipsoid:  a=6378137 es=0.006694380022900787
north:      228513
south:      214975.5
west:       629992.5
east:       645012
nsres:      28.5
ewres:      28.5
rows:       475
cols:       527
cells:      250325

Cheers
Sandra

-----Original Message-----
From: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] On Behalf Of Markus Neteler
Sent: 24 May 2014 08:51 AM
To: Sandra MacFadyen
Cc: Luca Delucchi; Glynn Clements; GRASS user list
Subject: Re: [GRASS-dev] [GRASS-user] execGRASS("r.diversity"): [Error 3] Cannot find path specified \\.grass7\\r.li

Hi Sandra,

On Thu, May 22, 2014 at 2:45 PM, Sandra MacFadyen <sandramf at live.co.za> wrote:
> Hi Luca,
>
> Thank you very much for your reply.
>
> With the north carolina dataset on image-band "lsat5_1987_10" I get the same error:
>
> (Thu May 22 14:35:33 2014)
> r.diversity input=lsat5_1987_10 at landsat prefix=lsat5_1987_div_ alpha=0.5 size=5
> ERROR: Illegal areas disposition
> ERROR: Illegal areas disposition
> ERROR: Illegal areas disposition
> ERROR: Illegal areas disposition
> Done.
> (Thu May 22 14:35:34 2014) Command finished (0 sec)

But did you set the computation region to the map "lsat5_1987_10"
*before*? Just to be sure...

Markus



More information about the grass-user mailing list