*facepalm*
Happy Monday, everyone.
Jake
>>> Even Rouault 12/18/2017 11:04 AM >>>
Jake,
>
> mem_s_fh = gdal.GetDriverByName("MEM").Create('', temp_cols, temp_rows,
> 1, gdal.GDT_Float32) mem_s_fh.SetGeoTransform([0, cell_size, 0, 0, 0,
> cell_size])
> mem_s_fh.SetNoDataValue(s_nodata)
SetNo
Jake,
>
> mem_s_fh = gdal.GetDriverByName("MEM").Create('', temp_cols, temp_rows,
> 1, gdal.GDT_Float32) mem_s_fh.SetGeoTransform([0, cell_size, 0, 0, 0,
> cell_size])
> mem_s_fh.SetNoDataValue(s_nodata)
SetNoDataValue() is a rasterband level method, not dataset.
So should be s_band.Set
I think I've found a bug in the python bindings, but I want to run it by the
list before I open a ticket to make sure I'm not missing anything (I'm assuming
you'd rather I check it out on the list first rather than cluttering the ticket
system with bugs that aren't actually bugs).
Environment: