Hello Glynn<div><br></div><div>Hum it sounds interesting. How can I parameterize it? I mean, what is the order of the parameters?</div><div><br></div><div>About the current mapset I'm already using it thanks :)<br><br>
</div><div>PS- Where can I find a list of avaliable functions in grass.python?</div><div>Monica</div><div><br><div class="gmail_quote">On Fri, Oct 15, 2010 at 2:59 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
Monica Buescu wrote:<br>
<br>
> I have a Py script where I do some processing. But, I want to limit it to<br>
> the files that are available in my current mapset. How can I do this? I<br>
> mean, I just to evaluate if the input is in the current/active MAPSET?<br>
<br>
</div>grass.script.find_file() is a wrapper for g.findfile. Either check the<br>
returned mapset or use the mapset= argument. You can use<br>
grass.script.gisenv() to determine the current mapset.<br>
<font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</font></blockquote></div><br></div>