Skip to content

Commit

Permalink
BUG: Fix merge crs check (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Mar 20, 2023
1 parent d492a2a commit 5783693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ History

Latest
------
- BUG: Fix :mod:`rioxarray.merge` CRS check

0.14.0
------
Expand Down
1 change: 1 addition & 0 deletions rioxarray/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class RasterioDatasetDuck:

def __init__(self, xds: DataArray):
self._xds = xds
self.crs = xds.rio.crs
self.bounds = xds.rio.bounds(recalc=True)
self.count = int(xds.rio.count)
self.dtypes = [xds.dtype]
Expand Down

0 comments on commit 5783693

Please sign in to comment.