On Fri, Jan 25, 2013 at 3:46 PM, Moritz Lennert <
[email protected]> wrote:
> On 25/01/13 15:28, Margherita Di Leo wrote:
>
>> Hi,
>>
>> how to convert something like:
>>
>> g.remove rast=`g.mlist pat=r_start* sep=,`
>>
>> in python?
>>
>
> Try with g.mremove:
>
> grass.run_command('g.mremove', rast='r_start*', flags='f')
YESS!
Thanks!
>
>
> Moritz
>
--
Margherita DI LEO
Postdoctoral Researcher
European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261
Tel. +39 0332 78 3600
[email protected]
Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user