[GRASS-user] getting desperate with error messages

Hamish hamish_b at yahoo.com
Mon Feb 18 19:31:52 EST 2008


Reno Bladergroen wrote:
> So I used i.landsat.rgb to enhance it's color
> profile but then I get the first error:
> 
> /Applications/GRASS-6.3.app/Contents/MacOS/scripts/i.landsat.rgb:
> line 138:
> [: -gt: unary operator expected
> 
> Do i have to re-install i.landsat.rgb??

Hi, this is fixed in the latest SVN,

Either make your R,G,B maps into CELL maps (integers) with

r.mapcalc "cellmap.red = int(map.red)"


or download the latest i.landsat.rgb script and put it in the directory
shown above

http://trac.osgeo.org/grass/browser/grass/trunk/scripts/i.landsat.rgb


Hamish



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



More information about the grass-user mailing list