[GRASS-dev] d.mon/d.rast from within python script gives empty monitor

Paulo van Breugel p.vanbreugel at gmail.com
Sat Mar 4 13:11:11 PST 2017


On 04-03-17 18:36, Martin Landa wrote:
> Hi,
>
> 2017-03-04 12:17 GMT+01:00 Paulo van Breugel <p.vanbreugel at gmail.com>:
>> gs.run_command("d.mon", start="wx1")
> try to add with reasonable number of seconds
>
> time.sleep(...)
>
>> gs.run_command("d.rast", map="mymap")
> It should help. Martin
Yes, it did, thanks Martin. Out of curiosity, why is this needed (unlike 
when running from the command line)?

>



More information about the grass-dev mailing list