[GRASS-user] Using temp files in Grass Script

Martin Landa landa.martin at gmail.com
Wed Mar 16 14:28:35 EDT 2011


Hi,

2011/3/16 Glynn Clements <glynn at gclements.plus.com>:
> 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...

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list