[GRASS-user] Filtering high "outliers" in Landsat reflectance imagery?

Eric Goddard egoddard1010 at gmail.com
Thu Aug 1 13:48:26 PDT 2013


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
<nik at nikosalexandris.net> 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


More information about the grass-user mailing list