TypeError: function takes exactly 1 argument (0 given)
gA = GeoArray(path_2d_image)
gA[row, col]
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-26-21f390dd2654> in <module>
1 gA = GeoArray(path_cmap)
----> 2 gA[row, col]
~/scheffler/python_deployed/geoarray/geoarray/baseclasses.py in __getitem__(self, given)
603 else:
604 getitem_params = [given] if isinstance(given, slice) else given
--> 605 return self.from_path(self.arg, getitem_params)
606
607 def __setitem__(self, idx, array2set):
~/scheffler/python_deployed/geoarray/geoarray/baseclasses.py in from_path(self, path, getitem_params)
907 del ds
908
--> 909 out_arr = _ensure_np_shape_consistency_3D_2D(out_arr)
910
911 # only set self.arr if the whole cube has been read (in order to avoid sudden shape changes)
~/scheffler/python_deployed/geoarray/geoarray/baseclasses.py in _ensure_np_shape_consistency_3D_2D(arr)
871 outshape.append(sh)
872
--> 873 arr = arr.reshape(*outshape)
874
875 return arr
TypeError: function takes exactly 1 argument (0 given