> 文档中心 > Google Earth Engine(GEE)——Landsat8影像逐月NDVI_FVC计算内含直方图和下载——以北京市为例

Google Earth Engine(GEE)——Landsat8影像逐月NDVI_FVC计算内含直方图和下载——以北京市为例

本文通过逐年逐月遍历影像,计算NDVI影像计算和FVC计算,并且统计其逐月的直方图和下载,但是本文为了减少GEE网页崩溃,所以直接就用一年的影像进行了实验。

本文中用到的函数两个:

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,

- 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.

表示地球引擎图像的对象。此构造函数接受各种参数:- 一个字符串:一个 EarthEngine 资产 ID,- 一个字符串和一个数字:EarthEngine 资产 ID 和版本,- 数字或ee.Array:创建一个常量图像,- 列表:从