Google Earth Engine(GEE)—— ImageCollection 影像集合上的映射
2023-09-11 14:15:11 时间
每次Image在ImageCollection使用imageCollection.map()。的唯一参数map()是一个接受一个参数的函数:一个ee.Image。
代码中所反应的主要是通过循环遍历添加这个时间波段。
这就是我们添加的时间波段
代码:
// 加载一个明确行列号的影像
var collection = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA')
.filter(ee.Filter.eq('WRS_PATH', 44))
.filter(ee.Filter.eq('WRS_ROW', 34));
// 建立一个函数主要是给影像添加一个波段(时间).
var addTime = function(image) {
return image.addBands(image.metadata('system:time_start'));
};
// 就是遍历整个影像,添加时间波段
print(collection.map(addTime));
相关文章
- Google Spanner:地球上最大的单一数据库
- [Google Guava] 2.2-新集合类型
- 使用Google Closure Compiler高级压缩Javascript代码
- Google瓦片地图算法解析
- 基于Google Reader发展起来的个性化推荐系统之三大问题
- [Google Drive]1. save to drive
- Android高级控件(三)—— 使用Google ZXing实现二维码的扫描和生成相关功能体系
- 聊聊Google face api
- 机器学习入门 - Google机器学习速成课程 - 笔记汇总
- Google Pagespeed,自动压缩优化JS/CSS/Image
- 本地缓存google Guava
- SAP UIVeri5 跳过检查 Google Chrome driver 版本检查的方法
- 什么是 Web 应用里加载 google font 带来的 FOIT 和 FOUT 问题?
- Paper:Transformer模型起源—2017年的Google机器翻译团队—《Transformer:Attention Is All You Need》翻译并解读
- TensorFlow:实战Google深度学习框架(二)实现简单神经网络
- Google Drive中下载文件的13种方法 下载不了 不能下载 报错multicloud dropbox