[GRASS-user] Export multiple files with r.out.arc

Daniel Lee lee at isi-solutions.org
Thu May 31 07:44:52 PDT 2012


Hi there,

The best way to do it would be with a script (the simplest being a bash
script, but you can script your commands in any language you like). Either
just by writing all of the commands into a file and then running the file
(e.g.:

r.out.arc map=something
r.out.arc map=something_else
...
r.out.arc map=last_map

)

Or by processing the output of 'g.list rast' and then doing what you want
with that. Hope that helps! :)

Best,
Daniel

--

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions GbR
Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder

Softwarecenter 3
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee at isi-solutions.org
Web: http://www.isi-solutions.org




2012/5/31 Rosca Bogdan <roscao at gmail.com>

> Hello!
> How can I export multiple raster files created with r.basin with r.out.arc
> ( I need them to have *.asc extension). Is there a command line to do this
> in batch mode because I have around 170 files and it is a bit tedious.
> Please help.
> Thank you,
> Bogdan Rosca
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120531/b2aec242/attachment.html>


More information about the grass-user mailing list