Skip to content

Commit

Permalink
Merge pull request #207 from GispoCoding/add_workflow_demonstration_n…
Browse files Browse the repository at this point in the history
…otebook

Add workflow demonstration notebook
  • Loading branch information
nmaarnio authored Oct 17, 2023
2 parents 91dc129 + 6749c8c commit 5027142
Show file tree
Hide file tree
Showing 137 changed files with 1,057 additions and 2,625 deletions.
6 changes: 4 additions & 2 deletions eis_toolkit/checks/raster.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import rasterio
from beartype import beartype
from beartype.typing import Sequence
from beartype.typing import Sequence, Union

from eis_toolkit.checks.crs import check_matching_crs

Expand Down Expand Up @@ -73,7 +73,9 @@ def check_matching_bounds(


@beartype
def check_raster_grids(rasters: Sequence[rasterio.io.DatasetReader], same_extent: bool = False) -> bool:
def check_raster_grids(
rasters: Sequence[Union[rasterio.io.DatasetReader, rasterio.io.DatasetWriter]], same_extent: bool = False
) -> bool:
"""
Check all input rasters for matching gridding and optionally matching bounds.
Expand Down
Loading

0 comments on commit 5027142

Please sign in to comment.