Google Earth Engine(gee)中的Filter

Filter.dayOfYear 


var l8 = ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA")
                .filterDate('2018-01-01','2018-12-31')
                .filterBounds(ee.Geometry.Point(106.3069, 29.7818))

print("l8",l8)
print("l8_dayOfYear",l8.filter(ee.Filter.dayOfYear( 50, 100 )))

日历筛选:Filter.calendarRange

var sichuan = ee.FeatureCollection("users/lcljv1066965/test/sichuan"),
    modis = ee.ImageCollection("MODIS/006/MOD09A1");

var imgs =modis.filterDate('2018-01-01','2018-12-31').filterBounds(sichuan)

print("imgs_filter_calendarRange",imgs.filter(ee.Filter.calendarRange(50,100,'day_of_year')))
print("imgs",imgs)

猜你喜欢

转载自blog.csdn.net/qq_40323256/article/details/110110095