[GRASS-user] Using pipes in python scripts

Ned Horning horning at amnh.org
Thu Jul 1 16:05:29 EDT 2010


I'm making progress translating my shell script to Python but ran into 
another stumbling block. I would like to convert the following shell 
script command to the python scrip:
--
v.out.ascii $randomName fs=' ' | r.what  input=$resampName> $pointTableName
--

I tried various combinations of grass.pipe_command and 
grass.feed_command but haven't been able to get it to work.

Any help would be appreciated.

Ned


More information about the grass-user mailing list