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

2011-03-16 Thread Martin Landa
Hi, 2011/3/16 Glynn Clements : > g.tempfile creates files, not maps. > > The usual convention for temporary map names is to include the name of > the script, "tmp", and the PID (use $$ for shell scripts, os.getpid() > for Python). maybe we could define new grass.tempmap() function for that... Ma

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

2011-03-16 Thread Glynn Clements
Monica Buescu wrote: > I'm doing a GRASS script and I have some intermediate processes > (e.gr.mapcalc) where I produce raster maps that are not the final product (a > kind of an intermediate product) and that i delete at the end. Since I have > to produce a lot my question is: > Shall I use temp

[GRASS-user] Using temp files in Grass Script

2011-03-16 Thread Monica Buescu
Greetings I'm doing a GRASS script and I have some intermediate processes (e.gr.mapcalc) where I produce raster maps that are not the final product (a kind of an intermediate product) and that i delete at the end. Since I have to produce a lot my question is: Shall I use tempfile function to creat