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