Skip to content

Commit

Permalink
remove extra filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lillythomas committed Nov 14, 2023
1 parent 89aeef1 commit 81d1b02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datacube.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ def search_sentinel1(BBOX, catalog, week):
"args": [{"property": "geometry"}, geom_BBOX.__geo_interface__],
},
{"op": "anyinteracts", "args": [{"property": "datetime"}, week]},
{"op": "<=", "args": [{"property": "sat:orbit_state"}, "descending"]},
{"op": "=", "args": [{"property": "collection"}, "sentinel-1-rtc"]},
],
},
Expand Down Expand Up @@ -376,4 +375,4 @@ def process(year1, year2, aoi, resolution, cloud_cover_percentage, nodata_pixel_
aoi = sample.iloc[0].geometry
cloud_cover_percentage = 50
nodata_pixel_percentage = 20
process(2017, 2023, aoi, 10, cloud_cover_percentage, nodata_pixel_percentage) # Spatial resolution of 10 metres
merged = process(2017, 2023, aoi, 10, cloud_cover_percentage, nodata_pixel_percentage) # Spatial resolution of 10 metres

0 comments on commit 81d1b02

Please sign in to comment.