[GRASS-user] Check if a mapset exists- in Python Script
monicabuescu1985 at gmail.com
Tue Feb 1 11:15:40 EST 2011
I tried grass.script.mapsets but I get this error:
line 59, in main
AttributeError: 'module' object has no attribute 'mapsets'
previously I had this: import grass.script as grass
Am I doing something wrong?
Thank you Glynn
On Mon, Jan 31, 2011 at 11:38 AM, Glynn Clements
<glynn at gclements.plus.com>wrote:
> Monica Buescu wrote:
> > How can I check if a certain mapset exists in my active location in a
> > Script?
> returns a list of mapsets in the current location.
> Glynn Clements <glynn at gclements.plus.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user