geodata.mask.open_tif#
- geodata.mask.open_tif(layer_path: str, show_raster: bool = True, close: bool = False) rasterio.DatasetReader#
Open a layer using rasterio given a file path.
- Parameters:
- Returns:
The opened raster.
- Return type:
rasterio.DatasetReader
- Raises:
FileNotFoundError – If the layer_path does not exist.