Google Earth Engine (GEE)——添加人口数据和NO2数据图层查看两者相关性案例

很多时候我们想查看人口和空气之间的关系,其中最直接的方案就是选择指定的研究区,分别加载指定的区域的人口和相关空气数据,最后我们就可以直白的查看数据集,使用图层叠加的效果来查看更加植被,而本次我们选用人口数据集和sentinel-5p数据中的N02数据来产看人口和空气之间的相关性。我们这里选择人口大国印度,查看它南部区域的人口和空气状况。这里我们加载了一个程序,可以实现影像筛选指定研究区的人口和空气数据集。

本文需要用到的函数:

clipToCollection(collection)

Clips an image to a FeatureCollection. The output bands correspond exactly the input bands, except data not covered by the geometry of at least one feature from the collection is masked. The output image retains the metadata of the input image.

将图像剪辑到 FeatureCollection。输出波段与输入波段完全对应,除了未被集合中至少一个要素的几何图形覆盖的数据被屏蔽。输出图像保留输入图像的元数据。

Arguments:

this:input (Image):

The image to clip.

collection (Object):

The FeatureCollection to clip to.

Returns: Image

ee.Filter.calendarRange(start, endfield)

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/128608123