Hi there,
Today I am using r.kappa to test a LANDSAT classification. The module runs fine, but I am unable to save the error matrix and kappa to a file.
I have tried both with the GUI and in python script.
I am running it using NX client and so my file paths have '' symbols to represent directories. When I use the ‘browse’ icon to locate the correct directory/file, grass automatically uses ''. However I am receiving the error msg:
Illegal filename. Character </> not allowed.
Also - it doesn’t seem clear whether I have to have created a text file to store this information beforehand or whether it does this.
I have tried both and neither work because of the character error.
Any help really appreciated
Becky
On Thu, Feb 28, 2013 at 3:49 PM, Rebecca Stedham
<rlstedham@btinternet.com> wrote:
Hi there,
Today I am using r.kappa to test a LANDSAT classification. The module runs
fine, but I am unable to save the error matrix and kappa to a file.
I have tried both with the GUI and in python script.
I am running it using NX client and so my file paths have '\' symbols to
represent directories. When I use the 'browse' icon to locate the correct
directory/file, grass automatically uses '\'. However I am receiving the
error msg:
Illegal filename. Character </> not allowed.
There must be something lacking in the
ask() function:
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/gis/ask.c#L345
Also - it doesn't seem clear whether I have to have created a text file to
store this information beforehand or whether it does this.
It should definitely do this.
Some Windows specific directory separator is needed,
perhaps similar to
http://trac.osgeo.org/grass/changeset/55135/grass/branches/releasebranch_6_4/lib/g3d
I think: worth a ticket...
Markus
On Thu, Feb 28, 2013 at 3:49 PM, Rebecca Stedham
<rlstedham@btinternet.com> wrote:
Hi there,
Today I am using r.kappa to test a LANDSAT classification. The module runs
fine, but I am unable to save the error matrix and kappa to a file.
I have tried both with the GUI and in python script.
I am running it using NX client and so my file paths have '\' symbols to
represent directories. When I use the 'browse' icon to locate the correct
directory/file, grass automatically uses '\'. However I am receiving the
error msg:
Illegal filename. Character </> not allowed.
See new ticket: http://trac.osgeo.org/grass/ticket/2025
This issue has been fixed some minutes ago.
The tomorrow's winGRASS snapshot contains the fix as well as
the upcoming GRASS 6.4.3 release.
Markus