Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour authored and Ariana-B committed Dec 6, 2022
1 parent d9c0c3d commit a782843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubedash/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def dataset_shape(ds: Dataset) -> Tuple[Optional[Polygon], bool]:

def bbox_as_geom(dataset):
"""Get dataset bounds as to Geometry object projected to target CRS"""
return geometry.box(*dataset.bounds, crs=CRS(dataset.crs)).to_crs(CRS(_TARGET_CRS))
return geometry.box(*dataset.bounds, crs=dataset.crs).to_crs(CRS(_TARGET_CRS))


# ######################### WARNING ############################### #
Expand Down

0 comments on commit a782843

Please sign in to comment.