I am trying to use Python with Grass GIS. To get started I try to read in a raster TIFF.
The import of grass.script works fine:
import grass.script as g
But if I am trying to run a command I get the following error
sloperaster = 'slopet.tif' a = g.run_command('r.in.gdal', input = sloperaster, output = 'test') >>>'r.in.gdal' is not recognized as an internal or external command, operable program or batch file.
Any ideas what is causing that and how to resolve it?
I am on Windows 7 (64bit), Python 2.7.5 (32bit), Grass GIS 6.4.3 (32bit)