通过 Jupyter Notebook 将图像从 Google Earth Engine 导出到 Google Drive 时出错

问题描述 投票:0回答:1

尝试使用 Python 代码将 geoTIFF 文件从 Google Earth Engine 导出到我的 Google Drive。我在 Jupyter Notebook 上运行它。

代码运行没有错误。

问题是文件夹“TEST-IMAGE”出现在我的驱动器上,但它是空的。

我使用的代码如下:

# Export clipped image to Gdrive



task = ee.batch.Export.image.toDrive(image=N_24_PARGANAS_viirs,
                                     scale=30,
                                     fileFormat='GeoTIFF',
                                     description='N24PGS_VIIRS_2022',
                                     folder='TEST-IMAGE',
                                     maxPixels=1e9)
task.start()

请帮我找到解决方案吗?请随时向我询问更多详情。

python jupyter-notebook google-earth-engine geotiff
1个回答
0
投票

通过增加像素大小克服了这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.