利用sentinel2 影像计算指定区域内的MNDWI总和,这里主要是练习多个函数的应用,以及如何构建一个时间序列来查看不同月份的mndwi的总和。
函数:
ee.ImageCollection.fromImages(images)
Returns the image collection containing the given images.
Arguments:
images (List):
The images to include in the collection.
Returns: ImageCollection
ee.Filter.calendarRange(start, end, field)
Returns a filter that passes if the object's timestamp falls within the given range of a calendar field. The month
, day_of_year
, day_of_month
, and day_of_week
are 1-based. Times are assumed to be in UTC. Weeks