Skip to content

Commit

Permalink
Updated landtrendr.py to fix slcoff exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
clarype authored May 2, 2024
1 parent bcb1b53 commit 80a3b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ltgee/landtrendr.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _remove_images(self, collection: ee.ImageCollection):
if self.exclude['slcOff'] is True:
collection = collection.filter(ee.Filter.And(
ee.Filter.eq('SPACECRAFT_ID', 'LANDSAT_7'),
ee.Filter.gt('SCENE_CENTER_TIME', '2003-06-01T00:00')
ee.Filter.gt('system:time_start', 1054425600000)
).Not())
return collection

Expand Down

0 comments on commit 80a3b08

Please sign in to comment.