accessmod/layer.py
def read(self) -> np.ndarray:
        """Read raster layer as a numpy ndarray."""
        with self.fs.open(self.filepath) as f:
            with rasterio.open(f) as src:
                return src.read(1, masked=True)
Read raster layer as a numpy ndarray.
Read raster layer as a numpy ndarray.
Read raster layer as a numpy ndarray .
def read(self) -> np.ndarray:
        with self.fs.open(self.filepath) as f:
            with rasterio.open(f) as src:
                return src.read(1, masked=True)
def read ( self ) -> np . ndarray : with self . fs . open ( self . filepath ) as f : with rasterio . open ( f ) as src : return src . read ( 1 , masked = True )
Read raster layer as a numpy ndarray.
Read raster layer as a numpy ndarray .
"""Read raster layer as a numpy ndarray."""
self