[GRASS-user] Problems with GRASS python code in osgeo4w

Moskovitz, Bob Bob.Moskovitz at conservation.ca.gov
Fri Jun 19 18:06:45 EDT 2009

Hello List,
I'm trying to figure out how to write python scripts using grass.py under osgeo4w.  I was hoping that python script (and the binary commands) would behave similarly to the grass environment on my Ubuntu box.  You know...just type the command and the gui for that command comes up.  What I have to do now is type "python c:\osgeo4w\apps\grass\grass-6.4.0svn\scripts\m.dipslope.py" instead of just type "m.dipslope.py".  I've also notice that the command gui or even the command help does not come up when you just enter the command.  Ultimately I would like to put my commands in the QGIS GRASS module tree.

Bob Moskovitz 
Research Analyst I 
Seismic Hazard Zonation Project
California Geological Survey 
http://www.conservation.ca.gov/cgs/shzp<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed. This message contains information from the State of California, California Geological Survey, which may be privileged, confidential and exempt from disclosure under applicable law, including the Electronic Communications Privacy Act. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090619/e1fef17d/attachment.html

More information about the grass-user mailing list