GEE Python 使用1990和2010年单景影像进行NDVI归一化植被指数差值计算

使用colab之前一定要进行下面代码的加载:
安装 Earth Engine API 和 geemap
安装 Earth Engine Python API 和 geemap。 geemap Python 包基于 ipyleaflet 和 folium 包构建,并实现了与 Earth Engine 数据层交互的多种方法,例如 Map.addLayer()、Map.setCenter() 和 Map.centerObject()。 以下脚本检查 geemap 软件包是否已安装。 如果没有,它将安装 geemap,它会自动安装其依赖项,包括 Earthengine-api、folium 和 ipyleaflet。

# Installs geemap package
import subprocess

try:
    import geemap
except ImportError:
    print('Installing geemap ...')
    subprocess.che

猜你喜欢

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