bugfix in geozero and warning fix in imageMath (#318)
* imageMath: fix numpy deprecation warn * geozero: bugfix for missing lookSideLT1AB
parent
e80cfb0f29
commit
44deb3991c
|
@ -415,7 +415,7 @@ def main(args, files):
|
||||||
outBands = iMath['outBands']
|
outBands = iMath['outBands']
|
||||||
|
|
||||||
####Array representing columns
|
####Array representing columns
|
||||||
dataDict['COL'] = np.arange(iMath['width'], dtype=np.float)
|
dataDict['COL'] = np.arange(iMath['width'], dtype=np.float32)
|
||||||
|
|
||||||
#####Replace ^ by **
|
#####Replace ^ by **
|
||||||
for lineno in range(int(iMath['length'])):
|
for lineno in range(int(iMath['length'])):
|
||||||
|
|
|
@ -233,7 +233,8 @@ class Geocode(Component):
|
||||||
self.demCropAccessor,
|
self.demCropAccessor,
|
||||||
self.geoAccessor,inband,
|
self.geoAccessor,inband,
|
||||||
outband,int(complexFlag),
|
outband,int(complexFlag),
|
||||||
int(self.interp_methods[self.method]))
|
int(self.interp_methods[self.method]),
|
||||||
|
int(self.lookSide))
|
||||||
|
|
||||||
#####Supress cropped DEM output for other bands
|
#####Supress cropped DEM output for other bands
|
||||||
for kk in range(1,nBands):
|
for kk in range(1,nBands):
|
||||||
|
|
Loading…
Reference in New Issue