Skip to content

Commit

Permalink
Update geomad
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgleith committed Dec 17, 2023
1 parent 0d3eca0 commit 1e4cecb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dep_collections/dep_ls_geomad.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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],
Expand All @@ -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"],
},
),
Expand Down

0 comments on commit 1e4cecb

Please sign in to comment.