使用“MODIS/061/MOD21C3”产品计算每月白天和夜间地表温度 (LST) 图像的平均值,这里我们需要进行遍历,然后设定一个温度转化,然后设置月份并复制原有代码的属性。然后我们还可以添加逐月影像在地图上。这里有一个重要的函数需要认识:
setMulti()这个是添加多个遥感属性给波段的时候,这里需要按照字典类型进行添加即可。
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
evaluate(callback)
Asynchronously retrieves the value of this object from the server and passes it to the provided callback function.
Arguments:
this:computedobject (ComputedObject):
The ComputedObject instance.
callback (Function):
A function of the form function(success, failure), called when the s