From fe7382ee923ab16a181f24c9f2aa300e637baa35 Mon Sep 17 00:00:00 2001 From: Joseph H Kennedy Date: Mon, 25 Mar 2024 16:19:16 -0800 Subject: [PATCH] look at cloud cover over land instead of whole-scene cloud cover --- landsat/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/landsat/src/main.py b/landsat/src/main.py index 7e1989e2..0a6396b3 100644 --- a/landsat/src/main.py +++ b/landsat/src/main.py @@ -41,7 +41,7 @@ def _qualifies_for_processing(item: pystac.item.Item, max_cloud_cover: int = MAX and 'OLI' in item.properties['instruments'] and item.properties['landsat:collection_category'] in ['T1', 'T2'] and item.properties['landsat:wrs_path'] + item.properties['landsat:wrs_row'] in LANDSAT_TILES_TO_PROCESS - and item.properties['eo:cloud_cover'] < max_cloud_cover + and item.properties['landsat:cloud_cover_land'] < max_cloud_cover and item.properties['view:off_nadir'] == 0 )