[GRASS-user] i.landsat.rgb problem
Martin Landa
landa.martin at gmail.com
Thu Jan 17 07:14:28 EST 2008
Hi,
the attached patch should fix the problem with floating point arithmetic.
Martin
2008/1/17, Leonardo Lami <lami at faunalia.it>:
> Hi all,
> i tried i.landsat.rgb on GRASS 6.3 but I have this error message and the
> color tables of the three raster are setted with all values white.
> I obtained this three brov raster from i.fusion.brovey applied on
> Landsat images.
>
> i.landsat.rgb -p red=brov.red at PERMANENT green=brov.green at PERMANENT
> blue=brov.blue at PERMANENT strength=90
> Processing [brov.red at PERMANENT] ..
> /usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 36.9801: integer
> expression expected
> /usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 15.7707: integer
> expression expected
> Processing [brov.green at PERMANENT] ..
> /usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 39.6825: integer
> expression expected
> /usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 15.1483: integer
> expression expected
> Processing [brov.blue at PERMANENT] ..
> /usr/lib/grass/scripts/i.landsat.rgb: line 138: [: 24.107: integer
> expression expected
> /usr/lib/grass/scripts/i.landsat.rgb: line 141: [: 13.1111: integer
> expression expected
> Color table for <brov.red at PERMANENT> set to rules
> Color table for <brov.green at PERMANENT> set to rules
> Color table for <brov.blue at PERMANENT> set to rules
>
>
> Thank you
> Leonardo
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
--
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i-landsat-rgb-awk.diff
Type: text/x-diff
Size: 1751 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20080117/416320a6/i-landsat-rgb-awk-0001.bin
More information about the grass-user
mailing list