[GRASS-user] i.smap fails because it can't find subgroup (?)

Hi GRASS-community!

I am facing this strange (for me!) problem with i.smap:

1. I build a group & subgroup with i.group (using 3 raster
maps, floating point all)

2. I digitised in QGIS some "burned" and some "non-burned"
areas, imported the vector file in GRASS and transformed it
to a raster map with... > v.to.rast
input=Training_BurnedAreas_SMAP
output=Training_BurnedAreas_SMAP_boo use=attr type=area
column=boo labelcolumn=lc

3. > i.gensigset
trainingmap=Training_BurnedAreas_SMAP_boo@nik
group=Change_PCA_GRNIR subgroup=Change_PCA_GRNIR_subgroup
signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
maxsig=10

4. > i.smap group=Change_PCA_GRNIR@nik
subgroup=Change_PCA_GRNIR_subgroup
signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
blocksize=128 output=Change_PCA_iSMAP_TEST

...and I get this error:
Subgroup [Change_PCA_GRNIR_subgroup] not found.

I am 100% that the subgroup exists. So I must be doing
something else wrong or... ? Any ideas?

Hi,

only thing, I would try is

ls grassdata/location/mapset/group/Change_PCA_GRNIR/subgroup/

and see, whether it is there or not

jachym

nikos.alexandris@felis.uni-freiburg.de píše v St 12. 12. 2007 v 19:59
+0100:

Hi GRASS-community!

I am facing this strange (for me!) problem with i.smap:

1. I build a group & subgroup with i.group (using 3 raster
maps, floating point all)

2. I digitised in QGIS some "burned" and some "non-burned"
areas, imported the vector file in GRASS and transformed it
to a raster map with... > v.to.rast
input=Training_BurnedAreas_SMAP
output=Training_BurnedAreas_SMAP_boo use=attr type=area
column=boo labelcolumn=lc

3. > i.gensigset
trainingmap=Training_BurnedAreas_SMAP_boo@nik
group=Change_PCA_GRNIR subgroup=Change_PCA_GRNIR_subgroup
signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
maxsig=10

4. > i.smap group=Change_PCA_GRNIR@nik
subgroup=Change_PCA_GRNIR_subgroup
signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
blocksize=128 output=Change_PCA_iSMAP_TEST

...and I get this error:
Subgroup [Change_PCA_GRNIR_subgroup] not found.

I am 100% that the subgroup exists. So I must be doing
something else wrong or... ? Any ideas?
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Jachym Cepicky
e-mail: jachym.cepicky@gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

I successfully run i.smap with GRASS6.2.3 (from Ubuntu repositories).
Still, I get the same error message in GRASS6.3.cvs!

The group, subgroup and the signature files/directories are there and
the REF's are not empty.

On Thu, 2007-12-13 at 07:34 +0100, Jachym Cepicky wrote:

Hi,

only thing, I would try is

ls grassdata/location/mapset/group/Change_PCA_GRNIR/subgroup/

and see, whether it is there or not

jachym

nikos.alexandris@felis.uni-freiburg.de píše v St 12. 12. 2007 v 19:59
+0100:
> Hi GRASS-community!
>
> I am facing this strange (for me!) problem with i.smap:
>
> 1. I build a group & subgroup with i.group (using 3 raster
> maps, floating point all)
>
> 2. I digitised in QGIS some "burned" and some "non-burned"
> areas, imported the vector file in GRASS and transformed it
> to a raster map with... > v.to.rast
> input=Training_BurnedAreas_SMAP
> output=Training_BurnedAreas_SMAP_boo use=attr type=area
> column=boo labelcolumn=lc
>
> 3. > i.gensigset
> trainingmap=Training_BurnedAreas_SMAP_boo@nik
> group=Change_PCA_GRNIR subgroup=Change_PCA_GRNIR_subgroup
> signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
> maxsig=10
>
> 4. > i.smap group=Change_PCA_GRNIR@nik
> subgroup=Change_PCA_GRNIR_subgroup
> signaturefile=Training_BurnedAreas_SMAP_boo_Signatures
> blocksize=128 output=Change_PCA_iSMAP_TEST
>
> ...and I get this error:
> Subgroup [Change_PCA_GRNIR_subgroup] not found.
>
> I am 100% that the subgroup exists. So I must be doing
> something else wrong or... ? Any ideas?
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

--
Nikos Alexandris
.
Department of Remote Sensing & Landscape Information Systems
Faculty of Forestry & Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel. +49 (0) 761 203 3697 / Fax. +49 (0) 761 203 3701 / Skype: Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany