[GRASS-user] Piping Commands

Rich Shepard rshepard at appl-ecosys.com
Mon Nov 23 16:08:16 EST 2009


On Mon, 23 Nov 2009, Pablo Carreira wrote:

> It is not a batch process, but I think it could be indeed scripted, ...
>
> Achim told me not to pipe, ...

Pablo,

   Rather than fighting upriver, go with the flow.

   Write a script that uses temporary files. First process writes to that
file, and the second process reads from it. When you are finished you can
have the script delete the temporary file(s). The end result is the same as
piping, but it works how complex, multi-module models are built and run
within GRASS.

Rich


More information about the grass-user mailing list