Przeglądaj źródła

[Fix] Spelling bugfix

Yizhou Chen 2 lat temu
rodzic
commit
38a779cffd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tools/utils/raster.py

+ 1 - 1
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(