[Fix] Spelling bugfix

own
Yizhou Chen 3 years ago committed by GitHub
parent 5c36d25623
commit 38a779cffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/utils/raster.py

@ -182,7 +182,7 @@ class Raster:
xsize = self.width - xoff
if yoff + ysize > self.height:
ysize = self.height - yoff
ima = self._getAarray([int(xoff), int(yoff), int(xsize), int(ysize)])
ima = self._getArray([int(xoff), int(yoff), int(xsize), int(ysize)])
h, w = ima.shape[:2] if len(ima.shape) == 3 else ima.shape
if self.bands != 1:
tmp = np.zeros(

Loading…
Cancel
Save