Yes, its there. All the values that are less than 1 are correct from the $input_rast. Strangely enough, I just tested it on the same image on my home machine and it worked correctly. Both machines running grass7.
On Thu, Aug 1, 2013 at 3:19 PM, Nikos Alexandris <[email protected]> wrote: > 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 _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
