Commit 94ea2191 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed logging issue. Pinned Python version to 3.7+.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent b73849af
......@@ -920,7 +920,7 @@ def adjust_acquisArrProv_to_shapeFullArr(arrProv, shapeFullArr, meshwidth=1, sub
outDict = {k: zoom_2Darray_to_shapeFullArr(arr, shapeFullArr, meshwidth, subset) for k, arr in arrProv.items()}
return outDict
else:
arr2interp = np.mean(np.dstack(arrProv.values()), axis=2)
arr2interp = np.mean(np.dstack(list(arrProv.values())), axis=2)
interpolated = zoom_2Darray_to_shapeFullArr(arr2interp, shapeFullArr, meshwidth, subset).astype(np.float32)
return interpolated
......
......@@ -1105,7 +1105,7 @@ class GMS_object(object):
# merge arrays
def get_band(bandN):
return [gA[bandN] for gA in geoArrs_same_extent if gA and bandN in gA.bandnames][0]
full_geoArr = GeoArray(np.dstack((get_band(bandN) for bandN in bandnames)),
full_geoArr = GeoArray(np.dstack([get_band(bandN) for bandN in bandnames]),
geoArrs_same_extent[0].gt, geoArrs_same_extent[0].prj,
bandnames=bandnames,
nodata=geoArrs_same_extent[0].nodata)
......
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