zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Google Earth Engine(GEE)——利用map遍历实现影像的逐年筛选

GoogleMap遍历 实现 利用 Engine Earth GEE
2023-09-11 14:15:11 时间

 

 函数:

ee.ImageCollection.fromImages(images)

Returns the image collection containing the given images.返回包含给定图像的图像集合。

Arguments:

images (List):

The images to include in the collection.

Returns: ImageCollection

代码:

var l8 = ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA");  
var roi = ee.Geometry.Point([116.40735205726082, 39.88350152818114]);  
Map.centerObject(roi, 8);  
  
var start_year = 2012;  
var end_year = 2020;  
//设置时间序列的,也就是看有几年
var yearList = ee.List.sequence(start_ye