Commit ee8e5a38 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Removed keywords from gdal_array.OpenArray() call to ensure downwards compatibility.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 40d1a900
Pipeline #11607 canceled with stages
in 3 minutes and 36 seconds
......@@ -2,6 +2,12 @@
History
=======
0.14.33 (2020-08-18)
--------------------
* Removed keywords from gdal_array.OpenArray() call to ensure downwards compatibility.
0.14.32 (2020-08-18)
--------------------
......
......@@ -58,7 +58,7 @@ def get_GDAL_ds_inmem(array, gt=None, prj=None, nodata=None):
if gdal_array.NumericTypeCodeToGDALTypeCode(array.dtype) is None:
array = array.astype(dTypeDic_NumPy2GDALcompatible[str(np.dtype(array.dtype))])
ds = gdal_array.OpenArray(array, prototype_ds=None, interleave='band')
ds = gdal_array.OpenArray(array) # uses interleave='band' by default
if ds is None:
raise Exception(gdal.GetLastErrorMsg())
......
......@@ -19,5 +19,5 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.14.32'
__versionalias__ = '20200818_02'
__version__ = '0.14.33'
__versionalias__ = '20200818_03'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment