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

Roy royroge at outlook.com
Tue Apr 7 05:31:52 PDT 2015


yes, mutch better :-)

Il 07/04/2015 14.05, umberto.minora ha scritto:
> 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.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list