Code: Select all
image = ee.ImageCollection(satellite) \
.filterDate(startdate, enddate) \
.filterBounds(ee.Geometry.Point(centroid[0], centroid[1])) \
.select(bands) \
.map(removeClouds) \
.mean()
type(image)
Code: Select all
image = ee.ImageCollection(satellite) \
.filterDate(startdate, enddate) \
.filterBounds(ee.Geometry.Point(centroid[0], centroid[1])) \
.select(bands) \
.map(removeClouds) \
.mean()
type(image)