<div dir="ltr">Hello all<div><br></div><div>Continuing my process of making a series of maps for a paper using python loops and d.mon with PNG outputs, now d.vect is giving me a hard time.</div><div><br></div><div>using a loop like this one:</div><div><br></div><div><div style="font-size:12.800000190734863px">    for dem in dems:</div><div style="font-size:12.800000190734863px">        out_shade = dem + area + '_shade_315_20'</div><div style="font-size:12.800000190734863px">        vect_contour = dem + area + '_contours_zoom'</div><div style="font-size:12.800000190734863px">        grass.run_command('g.region',<wbr>n=n,s=s,w=w,e=e, flags='pa')</div><div style="font-size:12.800000190734863px">        grass.run_command('d.mon', start='png', output=dem+area+'_shade_<wbr>contours.png', \</div><div style="font-size:12.800000190734863px">            resolution='3', height=500, width=500, overwrite=True)</div><div style="font-size:12.800000190734863px">        grass.run_command('d.rast', map=out_shade)</div><div style="font-size:12.800000190734863px">        grass.run_command('d.vect', map=vect_contour, type='line')</div><div style="font-size:12.800000190734863px">        grass.run_command('d.grid', size='0.025', text_color='black', fontsize=16, flags='c')</div><div style="font-size:12.800000190734863px">        grass.run_command('d.mon', stop='png')</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I get maps that are ok, some that are partially blacked out and some that are completely black!</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Any hints on this? The area in the images below is quite small, and the contour lines were calculated only in this small region, to keep the filesize small.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I tried this on MacOS (homebrew and Michael's new binary) and on Linux, with the same results.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">many thanks</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Carlos</div><div style="font-size:12.800000190734863px"><br></div></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><img src="cid:ii_1610b7232d1f213e" alt="Inline image 1" width="454" height="454"><img src="cid:ii_1610b7235cd5ea1b" alt="Inline image 2" width="454" height="454"><img src="cid:ii_1610b7238726d9d2" alt="Inline image 4" width="454" height="454"><img src="cid:ii_1610b723993a109f" alt="Inline image 5" width="454" height="454"><img src="cid:ii_1610b723720ea21f" alt="Inline image 3" width="454" height="454"><br></div><div style="font-size:12.800000190734863px"><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div>
</div>