[GRASS-user] How to create+use reclass or recode rules in a python script

Hamish hamish_b at yahoo.com
Thu Dec 1 23:15:42 EST 2011

> Moritz wrote:
> > Just one question using it with r.recode:
> > 
> > When I use it without a rules parameter it works, but when
> > I use it with rules='-' it gives me 'ERROR :Unable to open file
> > <->'. Is this expected behaviour ?
> it is a bug. apparently the option description got backported
> from trunk but the actual code to check for the '-' didn't
> (yet).

r.recode fixed in svn.

There are a number of other changes to backport for r.reclass, so for that
one I'll hold off for 6.4.3 then merge them in order.


More information about the grass-user mailing list