greenwich/raster.py
def shape(self):
        """Returns a tuple of row, column, (band count if multidimensional)."""
        shp = (self.ds.RasterYSize, self.ds.RasterXSize, self.ds.RasterCount)
        return shp[:2] if shp[2] <= 1 else shp
def shape(self):
        """Returns a tuple of row, column, (band count if multidimensional)."""
        shp = (self.ds.RasterYSize, self.ds.RasterXSize, self.ds.RasterCount)
        return shp[:2] if shp[2] <= 1 else shp
def shape ( self ) : shp = ( self . ds . RasterYSize , self . ds . RasterXSize , self . ds . RasterCount ) return shp [ : 2 ] if shp [ 2 ] <= 1 else shp
Returns a tuple of row, column, (band count if multidimensional).
Returns a tuple of row column ( band count if multidimensional ) .