Google Earth Engine(GEE)——逐年月长时序多指数和波段图表加载(MODIS数据2013-2021每年每月)

本代码的主要目的是进行长时间序列指定波段和指数计算后的图标加载,研究区才作用山西省,使用了多个MODIS数据集,分别提取EVI和ET等波段属性进行图表加载。这里会将计算出的指数加载在同一个图表,其它单独选择的波段单独加载到另一个图表上。这里的难点一是我们如何遍历:map函数的使用,另外一个是我们如何将多个不同影像集合放在一起。ee.ImageCollection.fromImages(获取多个单景影像使其变成一个影像集合)。我们首先看函数:

ee.Date.fromYMD(year, month, day, timeZone)

Returns a Date given year, month, day.

Arguments:

year (Integer)

month (Integer)

day (Integer)

timeZone (String, default: null):

The time zone (e.g. 'America/Los_Angeles'); defaults to UTC.

Returns: Date

ee.List.sequence(start, endstepcount)

Generate a sequence of numbers from start to end (inclusive) in increments of step, or in count equally-spaced increments. If end is not specified it is computed from start +

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/130355990