[GRASS-user] [GRASS-dev] execGRASS("r.diversity"): [Error 3] Cannot find path specified \\.grass7\\r.li
Markus Neteler
neteler at osgeo.org
Sat May 24 02:09:23 PDT 2014
On Sat, May 24, 2014 at 10:44 AM, Sandra MacFadyen <sandramf at live.co.za> wrote:
> Maybe a silly question but: Is there a space in the path where there shouldn't be: C:\Users\Sands\AppData\Roa ming\GRASS7\r.li\conf_diversity_5.0
> i.e. "\Roa ming\"?
Mhh strange. Is it just broken or really a white space therein?
BTW: The Windows support in r.li has been backported to GRASS 7.0 in
r60231 (post beta2)
http://trac.osgeo.org/grass/changeset/60231/grass/branches/releasebranch_7_0/raster/r.li/r.li.daemon
which uses G_config_path() which in turn calls getenv("APPDATA") on Windows:
(http://grass.osgeo.org/programming7/home_8c_source.html#l00096)
The "Roaming" should come from that variable (I am no expert on
Windows variables at all).
Others here?
...
> If I create conf_diversity_5.0 using g.gui.rlisetup as follows:
>
> (Sat May 24 10:34:53 2014)
> g.gui.rlisetup
> D1/1: grass.script.core.start_command(): g.gisenv -n (Sat May 24 10:35:04 2014) Command finished (10 sec)
>
> I get the following conf_diversity_5.0 file content:
>
> SAMPLINGFRAME 0|0|1|1
> SAMPLEAREA -1|-1|0.010526315789473684|0.009487666034155597
> MOVINGWINDOW
>
> The sample area, shouldn't that be the bounding coordinates of lsat5_1987_10, in this case meters (lcc, nad83?)
AFAIK r.li uses relative coordinates, so that's ok.
Markus
More information about the grass-user
mailing list