[GRASS-user] some issues with python scripts

Carlos Grohmann carlos.grohmann at gmail.com
Mon Jan 17 11:48:49 EST 2011

> Probably g.findfile should be modified to return name as not qualified name(?)

That would be really helpfull.
in the meantime, I came up with this:

    if '@' in find_elev['name']: # when g.findfile returns fullname as name
        i= find_elev['name'].index('@')
        name = find_elev['name'][0:i]
        name = find_elev['name']

> Anyway grass.tempfile() is not dedicated for this usage, this name is
> not a valid raster map name....

OK, i will keep using 'real' names and then deleting the files in the end.


Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
Linux User #89721
Can’t stop the signal.

More information about the grass-user mailing list