Skip to content

Commit

Permalink
style(ruff) : automatic lint/format
Browse files Browse the repository at this point in the history
  • Loading branch information
nkarasiak authored and github-actions[bot] committed Dec 15, 2023
1 parent 20323ad commit 77f1671
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions earthdaily/earthdatastore/cube_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ def _cube_stackstac(items_collection, assets=None, times=None, **kwargs):

if "epsg" in kwargs:
kwargs["epsg"] = int(kwargs["epsg"])
if kwargs.get('geobox') is not None:
kwargs['resolution'] = kwargs['geobox'].resolution.x
kwargs['epsg'] = kwargs['geobox'].crs.to_epsg()
if kwargs.get("geobox") is not None:
kwargs["resolution"] = kwargs["geobox"].resolution.x
kwargs["epsg"] = kwargs["geobox"].crs.to_epsg()
if "geobox" in kwargs.keys():
kwargs.pop("geobox")

ds = stack(
items_collection,
assets=assets,
Expand Down

0 comments on commit 77f1671

Please sign in to comment.