[GRASS-user] ERROR 1: TIFFOpen: No error Using GDAL data type <Byte>

umberto.minora umberto.minora at unimi.it
Tue Apr 7 05:05:19 PDT 2015


Thank you so much. Indeed, the problem were those slashes.
Now I am using this line of code as suggested (with a slight addition
("os.sep") to make it work on a Windows machine):

{{{
outFolder=
os.path.join("D:",os.sep,"UMBE","PhD","Nepal","khumbu_article","shadow","r_sun_hourly","prova_hourly_shadow")

run_command("r.out.gdal",
				flags="c",
				type="Byte",
				input="prova"+ str(m+1),
				output=os.path.join(outFolder,"prova"+ str(m+1)+ ".tif"),
				nodata=255)
}}}



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/ERROR-1-TIFFOpen-No-error-Using-GDAL-data-type-Byte-tp5200187p5200218.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list