简体   繁体   English

过滤几年中的特定月份

[英]Filter specific months in several years

var x1= ee.ImageCollection('LANDSAT/LC08/C01/T1_SR').filterBounds(geometry)
                  .filterDate('2019-07-01', '2019-10-30')
                  .sort('CLOUD_COVER');

How could I filter the dates in Sep, Oct, and Nov between 2014 and 2020?如何过滤 2014 年至 2020 年之间 9 月、10 月和 11 月的日期?

Here is an example of how to filter by year, then specific months within those years.这是一个如何按年份过滤的示例,然后是这些年份中的特定月份。

 // Create image collection of S-2 imagery for the perdiod 2015-2020 var S2 = ee.ImageCollection('COPERNICUS/S2') //filter start and end date.filterDate('2015-07-01', '2020-10-31').filter(ee.Filter.calendarRange(9, 11,'month'))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM