Skip to content

Commit

Permalink
change chunks to int
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasK committed Nov 2, 2023
1 parent 5f2fcd8 commit ddd2936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthdaily/earthdatastore/cube_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _cube_odc(items_collection, assets=None, times=None, **kwargs):
if "resampling" in kwargs:
if isinstance(kwargs["resampling"], int):
kwargs["resampling"] = Resampling(kwargs["resampling"]).name
chunks = kwargs.get("chunks", dict(x="512", y="512", time="1"))
chunks = kwargs.get("chunks", dict(x=512, y=512, time=1))
kwargs.pop("chunks", None)

ds = stac.load(
Expand Down

0 comments on commit ddd2936

Please sign in to comment.