Re: [GRASS-user] Re: Using temp files in Grass Script

2011-05-19 Thread Glynn Clements
Johannes Radinger wrote: Using an exit handler ensures that the temporary map gets removed regardless of how the script terminates (e.g. if it terminates due to an exception). Thank you for your nice examples how to do that with tmp files and the exit handler. Just some questions:

Re: [GRASS-user] Re: Using temp files in Grass Script

2011-05-19 Thread Johannes Radinger
Original-Nachricht Datum: Thu, 19 May 2011 07:11:47 +0100 Von: Glynn Clements gl...@gclements.plus.com An: Johannes Radinger jradin...@gmx.at CC: grass-user@lists.osgeo.org Betreff: Re: [GRASS-user] Re: Using temp files in Grass Script Johannes Radinger wrote

Re: [GRASS-user] Re: Using temp files in Grass Script

2011-05-18 Thread Johannes Radinger
Original-Nachricht Datum: Tue, 17 May 2011 13:11:41 +0100 Von: Glynn Clements gl...@gclements.plus.com An: Johannes Radinger jradin...@gmx.at CC: grass-user@lists.osgeo.org Betreff: Re: [GRASS-user] Re: Using temp files in Grass Script Johannes Radinger wrote: I

Re: [GRASS-user] Re: Using temp files in Grass Script

2011-05-17 Thread Glynn Clements
Johannes Radinger wrote: I found that thread about temporary maps... e.g in my case in my python script i use: #Convert river from vector to raster format grass.run_command(v.to.rast, input = river_gen, overwrite = True,

[GRASS-user] Re: Using temp files in Grass Script

2011-05-16 Thread Johannes Radinger
Hello, I found that thread about temporary maps... e.g in my case in my python script i use: #Convert river from vector to raster format grass.run_command(v.to.rast, input = river_gen, overwrite = True, output =