[GRASS-user] increase performance of r.neighbors
Giuseppe Amatulli
giuseppe.amatulli at gmail.com
Thu Jun 1 01:49:56 PDT 2017
Thanks all for the inputs.
In the end I implemented a scripting procedure outside grass using pktools
(pkfilter).
I first tiled the image with some overlap area, than run pkfilter -f stdev
, than crop the overlap area and then merge back the full image.
Best Regards
Giuseppe
On 28 May 2017 at 17:21, Markus Metz <markus.metz.giswork at gmail.com> wrote:
>
>
> On Fri, May 26, 2017 at 5:04 PM, Giuseppe Amatulli <
> giuseppe.amatulli at gmail.com> wrote:
> >
> >
> > Hi all,
> > I'm running r.neighbors for a global 250m raster with window-size
> setting larger than 100 pixels.
> > The computation take almost 1 week and i'm thinking if there is a way to
> speed up the process.
> >
> > I know how to set-up a multi-region & multi-core computation and working
> in tiles but I would avoid due to the difference that I would encounter in
> the tile borders (and tile overlap will be required).
>
> Tiling would speed up the process. What is the problem with overlapping
> tiles? You can set up overlapping tiles, cut the results such that they are
> not overlapping each other and patch them in the end.
>
> Markus M
>
> >
> > Is it possible to run r.neighbors in parallel or increase the memory
> that r.neighbors would use (as developed in r.watershed)?
> >
> > Thank you
> > Best
> > Giuseppe
> >
> >
> >
> >
> > --
> > Giuseppe Amatulli, Ph.D.
> >
> > Research scientist at
> > Yale School of Forestry & Environmental Studies
> > Yale Center for Research Computing
> > Center for Science and Social Science Information
> > New Haven, 06511
> > Teaching: http://spatial-ecology.org
> > Work: https://environment.yale.edu/profile/giuseppe-amatulli/
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
>
>
--
Giuseppe Amatulli, Ph.D.
Research scientist at
Yale School of Forestry & Environmental Studies
Yale Center for Research Computing
Center for Science and Social Science Information
New Haven, 06511
Teaching: http://spatial-ecology.org
Work: https://environment.yale.edu/profile/giuseppe-amatulli/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170601/9d7c632b/attachment.html>
More information about the grass-user
mailing list