简体   繁体   English

下载高分辨率的 Google 地球引擎哨兵图像 (Python)

[英]Download Google Earth Engine Sentinel Images in High Resolution (Python)

I'm trying to download an image from Google Earth Engine sentinel data, but I was only able to get the images at a low resolution.我正在尝试从 Google 地球引擎哨兵数据下载图像,但我只能以低分辨率获取图像。 I used the following code to achieve this:我使用以下代码来实现这一点:

geemap.ee_export_image(image, './download/image.tif', scale=25, region=roi, file_per_band=True)

# Where
# image = image from sentinel colection

The scale reduces the image resolution, but if I set it to 1 google prevents me from downloading the image data because its to big.比例会降低图像分辨率,但如果我将其设置为 1,谷歌会阻止我下载图像数据,因为它太大了。

There is any way to get this imagery data with high resolution?有什么方法可以获取高分辨率的图像数据? I used the copernicus hub to download with GUI but I have to create a script using google engine now and I didn't find any way to do that.我使用哥白尼集线器通过 GUI 下载,但我现在必须使用谷歌引擎创建一个脚本,但我没有找到任何方法来做到这一点。

Thanks!谢谢!

Sentinel images have an original spatial resolution between 10 m (B2,B3,B4) and 60 m (B1,B9). Sentinel 图像的原始空间分辨率介于 10 m (B2,B3,B4) 和 60 m (B1,B9) 之间。 Probably that's why they can't be downloaded using lower "scale" parameter.可能这就是为什么不能使用较低的“比例”参数下载它们的原因。

You can use.reproject() to sample at higher resolution.您可以使用 .reproject() 以更高分辨率进行采样。

var image5=image10.reproject({crs:'EPSG:4326', scale: 5})

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM