Hello,<div><br></div><div>I would like to use the v.rast.stats inside a loop in a python script. </div><div>The thing is I just need to get one of the nine columns it generates (sum). </div><div>As it runs many times in the loop, it takes a lot of (unnecessary, for this script) time and also creates a huge table with too many (unnecessary, for this script) columns. </div>
<div>I was wondering then if there was a way to specify the calculation for just that single statistic.</div><div><br></div><div>Also, I wanted to ask you if there is a way to access the source code of a specific module (in this case, v.rast.stats) via web (without downloading the whole source code), just to have a quick look at it (and try to adapt it to my needs, eventually contribute to it if possible, ... I don&#39;t know, ... just wondering what&#39;s the right way to do it ...). </div>
<div>This might be a stupid question, but please take into account that i&#39;m still quite new in all this (fascinating) stuff.</div><div><br></div><div>Thank you very much in advance. </div><div>Regards</div><div><div><br>
</div><div>-- </div><div>Ismael G.</div><div>Ingeniero de Caminos (UPM). Ingénieur des Ponts et Chaussées (ENPC).</div><div>PhD researcher @ Urban &amp; Land Planning Department @ ETSICCP UPM <a href="http://www.caminos.upm.es/" style="color:rgb(17,85,204)" target="_blank">www.caminos.upm.es</a> +34 91 336 67 83</div>
<br>
</div>