Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-23 Thread Markus Neteler
On Sun, Mar 18, 2018 at 9:24 PM, Moritz Lennert wrote: > Le Sun, 18 Mar 2018 21:19:11 +0100, > Moritz Lennert a écrit : > >> Hi Pietro and greetings from the Bonn code sprint ! >> >> Le Fri, 16 Mar 2018 08:26:11 +0100, >> Pietro

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-18 Thread Moritz Lennert
Le Sun, 18 Mar 2018 21:19:11 +0100, Moritz Lennert a écrit : > Hi Pietro and greetings from the Bonn code sprint ! > > Le Fri, 16 Mar 2018 08:26:11 +0100, > Pietro a écrit : > > > Dear Moritz, > > > > On Thu, Mar 8, 2018 at 3:22 PM, Moritz

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-18 Thread Moritz Lennert
Hi Pietro and greetings from the Bonn code sprint ! Le Fri, 16 Mar 2018 08:26:11 +0100, Pietro a écrit : > Dear Moritz, > > On Thu, Mar 8, 2018 at 3:22 PM, Moritz Lennert > > wrote: > > > On 08/03/18 15:18, Vaclav Petras wrote: > > > >

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-16 Thread Pietro
Dear Moritz, On Thu, Mar 8, 2018 at 3:22 PM, Moritz Lennert wrote: > On 08/03/18 15:18, Vaclav Petras wrote: > > Try `width_` instead of `width` for the module parameter. This is how >> grass.script works (mostly to avoid conflicts with Python keywords namely >>

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-08 Thread Moritz Lennert
On 08/03/18 15:18, Vaclav Petras wrote: On Tue, Mar 6, 2018 at 8:59 AM, Moritz Lennert > wrote: Hi, I'm trying to run the i.zc module in parallel on several tiles. I use this syntax     if

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-08 Thread Vaclav Petras
On Tue, Mar 6, 2018 at 8:59 AM, Moritz Lennert wrote: > Hi, > > I'm trying to run the i.zc module in parallel on several tiles. I use this > syntax > > if options['tile_width']: > parallel = True > width = int(options['tile_width']) >

Re: [GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-08 Thread Moritz Lennert
No one for an answer to this one ? On 06/03/18 14:59, Moritz Lennert wrote: Hi, I'm trying to run the i.zc module in parallel on several tiles. I use this syntax if options['tile_width']: parallel = True width = int(options['tile_width']) height =

[GRASS-dev] pygrass: how to use GridModule with a module that has a 'width' parameter

2018-03-06 Thread Moritz Lennert
Hi, I'm trying to run the i.zc module in parallel on several tiles. I use this syntax if options['tile_width']: parallel = True width = int(options['tile_width']) height = int(options['tile_height']) overlap = int(options['overlap']) processes =