<html>
<body>
Hello,<br><br>
I'm working with grass 6.2.1 and I'm looking for a way to aggregate a
raster (downscale the resolution from 1km to 5km by calculating the
average of values over a 5x5 pixels window). It seems that
<b>r.resamp.stats</b> is designed for that, but it is not in version
6.2.1<br>
So I used <b>r.neighbors</b> like that:<br><br>
&gt; g.region res=5000<br>
&gt; r.neighbors -a input=xxx output=xxx method=average size=5<br><br>
In the archive I found that:<br>
<a href="http://grass.itc.it/pipermail/grassuser/2002-September/007417.html" eudora="autourl">
http://grass.itc.it/pipermail/grassuser/2002-September/007417.html</a><br>
but using the -a option seemed to solve the problem of output
resolution.<br><br>
Can anyone tell me if this method could be problematic in some way, or
provide less performant results than r.resample.stats?<br><br>
Thank you,<br><br>
Patrick Meyfroidt<br><br>
Research assistant<br>
Laboratory of Land Change and Remote Sensing<br>
Department of Geography<br>
University of Louvain<br>
Place Louis Pasteur, 3<br>
B - 1348 Louvain-La-Neuve<br>
Belgium<br>
Email: meyfroidt@geog.ucl.ac.be<br>
<a href="http://www.geo.ucl.ac.be/Recherche/Teledetection/index.html" eudora="autourl">
http://www.geo.ucl.ac.be/Recherche/Teledetection/index.html</a><br><br>
</body>
</html>