I am running
r.neighbors --overwrite --verbose input=bf03pits@PERMANENT output=bf03pitsdenoise method=mode size=5
in the GRASS GUI using the r.neighbors dialog.
bf03pits has 3955848 all with values either 0 or 1.
When I run r.neighbors the result has 1 cell with a range of -nan to -nan.
Yet the output shows no errors.
Why might r.neighbors be failing? How can I go about doing what I want?
g.region rast=bf03pits– si_2012 Mar 15 at 1:00g.region -pin the command line to make sure the settings are as you expect. – si_2012 Mar 15 at 9:07