当前位置:网站首页>Google Earth Engine APP——打印点的坐标到控制台上和map上,设置样式并更新
Google Earth Engine APP——打印点的坐标到控制台上和map上,设置样式并更新
2022-07-27 09:20:00 【此星光明】
这一次就是一个简单的APP加载,或者或更直白的一点就是经纬度的加载,获取中心点经纬度坐标,所以这里有几个简单的函数需要了解:
ee.Algorithms.Landsat.simpleCloudScore(image)
使用亮度、温度和NDSI的组合,在[0,100]范围内计算一个简单的云的可能性得分。这不是一个稳健的云检测器,主要是为了比较同一地点的多个外观的相对云的可能性。
参数。
图像(图像)。
要处理的Landsat TOA图像。
返回。图像
代码:
var l8 = ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA");
// 定义一个函数,将NDVI波段添加到Landsat 8图像中。
//就是云量筛选和NDVI计算的合并,这里选择云量小于20%的来进行
var addNDVI = function(image) {
var cloud = ee.Algorithms.Landsat.simpleCloudScore(image).select('cloud');
var mask = cloud.lt(20);
var ndvi = image.normalizedDifference(['B5', 'B4']).rename('NDVI');
return image.addBands(ndvi).updateMask(mask);
};
// 在集合上过滤和映射函数。
//这就是计算ndvi
var withNDVI = l8.filterDate('2017-01-01', '2边栏推荐
- Common operations of BOM and compatible writing methods for obtaining page / window height, width and scrolling
- 【云原生】我怎么会和这个数据库杠上了?
- [daily algorithm day 96] Tencent interview question: merge two ordered arrays
- ArcGIS Pro publishing service
- JS call and apply
- Run uni app project in hbuilder wechat applet
- What if the parameters in QT are structs or custom classes when sending signals?
- 2068. Check whether the two strings are almost equal
- The third day of learning C language
- 645. Wrong set
猜你喜欢
![[C language _ review _ learn Lesson 2] what is base system? How to convert between hexadecimals](/img/ef/b7a9214e69150c069e352af758f614.png)
[C language _ review _ learn Lesson 2] what is base system? How to convert between hexadecimals

You haven't heard of such 6 question brushing websites, have you? Are you out?
![[untitled]](/img/03/dcea9137dc9948e3121333c684ec8f.png)
[untitled]

IDL 6S lookup table

ArcGIS pro2.8 deep learning environment configuration based on rtx30 graphics card
![[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language

Babbitt | yuan universe daily must read: Guangzhou Nansha released the "Yuan universe nine" measures, and the platform can obtain up to 200million yuan of financial support

500 error reporting

The whole process of principle, simulation and verification of breath lamp controlled by FPGA keys

ES6 new - object part
随机推荐
七月集训(第20天) —— 二叉搜索树
Qdoublevalidator does not take effect solution
What if the parameters in QT are structs or custom classes when sending signals?
DNS域名空间
1640. 能否连接形成数组-c语言实现
七月集训(第13天) —— 双向链表
Specific methods and steps for Rockwell AB PLC to establish communication with PLC through rslinx classic
HBuilder 微信小程序中运行uni-app项目
[C language - zero foundation _ study _ review _ lesson 4] data types and operations
基于ArkUI eTS开发的坚果食谱(NutRecipes
ArkUI中的显式动画
[C language - zero foundation lesson 10] adventure of array Kingdom
Analog library function
IDL reads HSD data of sunflower 8 (himawari-8)
[C language - zero foundation lesson 11] rotate the pointer of the big turntable
[C language - zero foundation lesson 9] love and hate in functions
C language exercises
Save Xiaoyi from Netease written test -- a typical application of Manhattan distance
Transpose and inverse of [linear algebra 01] matrix
BGP联邦实验