[GRASS-user] r.patch.many with GRASS 7 b3?

Greetings,

I noticed that Hamish’s r.patch.many script is absent in the GRASS 7.0b3 repository.

I took a look at the script and it just runs r.patch in the background for the number for cores set, so it seems like it should be fine with GRASS 7, but if someone could confirm that I would appreciate it.

Thanks,

Jeshua Lacock
Founder/Engineer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171

On Sun, Nov 30, 2014 at 5:17 PM, Jeshua Lacock <jeshua@3dtopo.com> wrote:

Greetings,

I noticed that Hamish’s r.patch.many script is absent in the GRASS 7.0b3
repository.

I took a look at the script and it just runs r.patch in the background for
the number for cores set, so it seems like it should be fine with GRASS 7,
but if someone could confirm that I would appreciate it.

Just by looking at it, it probably should run. If you run it on beta3,

you'll be fine, with newer versions, g.mlist and g.remove were merged into
g.list and g.remove, so just remove the 'm' and it should work.

Anna

Thanks,

Jeshua Lacock
Founder/Engineer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Nov 30, 2014, at 3:49 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Sun, Nov 30, 2014 at 5:17 PM, Jeshua Lacock <jeshua@3dtopo.com> wrote:

I noticed that Hamish’s r.patch.many script is absent in the GRASS 7.0b3 repository.

I took a look at the script and it just runs r.patch in the background for the number for cores set, so it seems like it should be fine with GRASS 7, but if someone could confirm that I would appreciate it.

Just by looking at it, it probably should run. If you run it on beta3, you'll be fine, with newer versions, g.mlist and g.remove were merged into g.list and g.remove, so just remove the 'm' and it should work.

Great, thanks for the information!

I sure wish there was a similar script for r.in.proj - I am currently reprojecting 40,000+ tiles on 6-core machine, with 5 cores sitting idle.

:wink:

Thanks again,

Jeshua Lacock
Founder/Engineer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171

On Sun, Nov 30, 2014 at 5:55 PM, Jeshua Lacock <jeshua@3dtopo.com> wrote:

> On Nov 30, 2014, at 3:49 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:
>
> On Sun, Nov 30, 2014 at 5:17 PM, Jeshua Lacock <jeshua@3dtopo.com>
wrote:
>
> I noticed that Hamish’s r.patch.many script is absent in the GRASS 7.0b3
repository.
>
> I took a look at the script and it just runs r.patch in the background
for the number for cores set, so it seems like it should be fine with GRASS
7, but if someone could confirm that I would appreciate it.
>
> Just by looking at it, it probably should run. If you run it on beta3,
you'll be fine, with newer versions, g.mlist and g.remove were merged into
g.list and g.remove, so just remove the 'm' and it should work.

Great, thanks for the information!

I sure wish there was a similar script for r.in.proj - I am currently
reprojecting 40,000+ tiles on 6-core machine, with 5 cores sitting idle.

That should be pretty simple, simpler than r.patch.many, you just run a
certain number of r.proj processes in the background, wait and launch next
processes. There is a wiki
http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs but perhaps someone has
already a simple template in bash you could use.

:wink:

Thanks again,

Jeshua Lacock
Founder/Engineer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171

On Nov 30, 2014, at 4:08 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

That should be pretty simple, simpler than r.patch.many, you just run a certain number of r.proj processes in the background, wait and launch next processes. There is a wiki http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs but perhaps someone has already a simple template in bash you could use.

Wow - thank you so much! I almost didn’t even mention it - but now I have all 6 cores lit up!!!

Thanks again,

Jeshua Lacock
Founder/Engineer
3DTOPO Incorporated
<http://3DTOPO.com>
Phone: 208.462.4171