File tree 1 file changed +7
-3
lines changed
earthdaily/earthdatastore
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -650,7 +650,7 @@ def datacube(
650
650
651
651
if intersects is not None :
652
652
intersects = cube_utils .GeometryManager (intersects ).to_geopandas ()
653
- self .intersects = intersects
653
+ self .intersects = intersects
654
654
items = self .search (
655
655
collections = collections ,
656
656
bbox = bbox ,
@@ -945,8 +945,12 @@ def ag_cloud_mask_from_items(items):
945
945
ids_ = [x for n in (items_id .values ()) for x in n ]
946
946
items_list = []
947
947
step = 100
948
- for items_start_idx in range (0 ,len (ids_ ),step ):
949
- items = self .search (collections = collections , intersects = self .intersects , ids = ids_ [items_start_idx :items_start_idx + step ])
948
+ for items_start_idx in range (0 , len (ids_ ), step ):
949
+ items = self .search (
950
+ collections = collections ,
951
+ intersects = self .intersects ,
952
+ ids = ids_ [items_start_idx : items_start_idx + step ],
953
+ )
950
954
items_list .extend (items )
951
955
return ItemCollection (items )
952
956
You can’t perform that action at this time.
0 commit comments