> Hi,
> Thanks for your quick reply.
> When I edit my code function to be:
> def WriteRaster (dst_filename, raster):
>
> format = "AAIGrid"
> driver = gdal.GetDriverByName( format )
> dst_ds = driver.Create( dst_filename, 71, 73,\
> 1,gdal.GDT_Float32,options=[
Hi,
Thanks for your quick reply.
When I edit my code function to be:
def WriteRaster (dst_filename, raster):
format = "AAIGrid"
driver = gdal.GetDriverByName( format )
dst_ds = driver.Create( dst_filename, 71, 73,\
1,gdal.GDT_Float32,options=["COMPRESS=PACKBIT
> Hello Again,
> def WriteRaster (dst_filename, raster):
>
> format = "GTiff"
Oz,
You're creating a geotiff. Try:
format = "AAIGrid"
> driver = gdal.GetDriverByName( format )
> dst_ds = driver.Create( dst_filename, 71, 73,\
>1,gdal.GDT_Float32,options=["
Hello Again,
I have been googling around and reading how to save my numpy arrays to
rasters. So far I have not found a satisfying answer.
The closest thing to what I'd would like to do is found here: *
http://n2.nabble.com/basic-raster-math-td2033308.html#a2033316*
When I try do to the following: