使用 Landsat 8 使用指标 NDWI 使用两种方法计算水域面积 ,这次我们随便选择了陕西附近的一个部分作为我们的研究区,
我们所需用到的函数:
ee.Image(args)
An object to represent an Earth Engine image. This constructor accepts a variety of arguments:
A string: an EarthEngine asset id,
A string and a number: an EarthEngine asset id and version,
A number or ee.Array: creates a constant image,这个状态下默认就是产生constant波段
A list: creates an image out of each list element and combines them into a single image,
An ee.Image: returns the argument,
Nothing: results in an empty transparent image.
args (Image|List
Constructor argument.
aggreg_array(property)
对一个集合中的对象的给定属性进行聚