gee 获取时间序列

gee 获取时间序列

import ee

ee.Authenticate()
ee.Initialize()

collection = ee.ImageCollection('NASA/FLDAS/NOAH01/C/GL/M/V001')
taken = collection.filterDate('2019-01-01', '2019-12-31').sort('system:time_start', False)
poi = ee.Geometry.Point([112.621391, -7.983908])

def setProperty(image):
    dict = image.reduceRegion(ee.Reducer.mean(), poi)
    return image.set(dict)

reduce = collection.map(setProperty)

time = reduce.aggregate_array('system:time_start').getInfo()

print(time)
#[378691200000, 381369600000, 383788800000, ..., 1588291200000]

https://*.com/questions/62769100/earth-engine-with-python-api-get-date

上一篇:全球最大的云计算平台GEE(Google Earth Engine)正确的学习姿势(1)


下一篇:Mac 视窗爆炸不用怕,一键关闭所有视窗