2011/3/9 Hamish <[email protected]>:
[...]
> so just flipping all the rows in the file you can get now?
>
> don't know how to do that in python, but if unix shell powertools are
> available:
> r.out.ascii | tac
import os
import grass.script as grass
print os.linesep.join(reversed(grass.read_command('r.out.ascii',
quiet = True,
input =
'elevation').splitlines()))
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user