From 1e4cecb7600503aff81221a86a83a6162002a30e Mon Sep 17 00:00:00 2001 From: Alex Leith Date: Mon, 18 Dec 2023 09:58:42 +1100 Subject: [PATCH] Update geomad --- dep_collections/dep_ls_geomad.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dep_collections/dep_ls_geomad.py b/dep_collections/dep_ls_geomad.py index c45bc51..b871d50 100644 --- a/dep_collections/dep_ls_geomad.py +++ b/dep_collections/dep_ls_geomad.py @@ -14,8 +14,8 @@ TemporalExtent([[datetime(1980, 1, 1, 0, 0, 0, 0, timezone.utc), None]]), ) -LS_BANDS = ['red', 'green', 'blue', 'nir08', 'swir16', 'swir22'] -MAD_BANDS = [('emad', 'Euclidean'), ('smad', 'Spectral'), ('bcmad', "Bray-curtis")] +LS_BANDS = ["red", "green", "blue", "nir08", "swir16", "swir22"] +MAD_BANDS = [("emad", "Euclidean"), ("smad", "Spectral"), ("bcmad", "Bray-curtis")] # Create a Collection dep_ls_geomad = Collection( @@ -54,7 +54,8 @@ min=0, max=10_000, nodata=0, - ) for band in LS_BANDS + ) + for band in LS_BANDS ] + [ dict( name=band[0], @@ -63,19 +64,18 @@ min=0, max=10_000, nodata=0, - ) for band in MAD_BANDS - ] + - [ + ) + for band in MAD_BANDS + ] + [ dict( name="count", common_name="Count clear", description="Count of clear observations", min=0, - max=10_000, + max=250, nodata=0, ) - ] - , + ], "platform": ["landsat-5", "landsat-7", "landsat-8", "landsat-9"], }, ),