On Thursday 01 of August 2013 10:13:56 Eric Goddard wrote: > grass.mapcalc("$output = if($input_rast>1.0, 1.0, $input_rast)", > output=wv2_out, input_rast=wv2_in) Hmm.. sorry, the expression is correct. Seems odd. Is the $input_rast really "there"? Nikos