I want to export my processed raster layer which are np arrays as tif with following steps, after creating the out.tif raster with the driver I could not load the created tif file back into python. I tried to change the 'gdal.GDT_Int32' into other types but it didn't work. I also tried using instead of 'inds.GetDriver' 'GetDriverByName('GTiff') but that also didn't make any changes, messages as below:
In [13]: driver.Create('out.tif', cols, rows, 1, gdal.GDT_Int32) Out[13]: <osgeo.gdal.Dataset; proxy of <Swig Object of type 'GDALDatasetShadow * ' at 0x000000000F437360> >
RuntimeError Traceback (most recent call last) in () ----> 1 outds = gdal.Open('out.tif')
RuntimeError: `out.tif' not recognised as a supported file format. or... so. im lindsey on darrals phome. metro phone wheres that iphone? jmeg?