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

Martin Landa landa.martin at gmail.com
Sat Mar 4 09:36:18 PST 2017


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

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list