生成代码:GEE提取sentinel 1
时间: 2023-06-15 12:04:37 浏览: 82
以下是提取 Sentinel-1 数据的 Python 代码示例,使用 Google Earth Engine (GEE):
```python
import ee
# 初始化 Earth Engine
ee.Initialize()
# 定义区域
roi = ee.Geometry.Point(6.4806, 50.8012)
# 定义日期范围
start_date = ee.Date('2021-01-01')
end_date = ee.Date('2021-01-31')
# 加载 Sentinel-1 数据集
sentinel1 = ee.ImageCollection('COPERNICUS/S1_GRD') \
.filterBounds(roi) \
.filterDate(start_date, end_date) \
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV')) \
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VH')) \
.select(['VV', 'VH'])
# 打印数据集信息
print(sentinel1.getInfo())
```
这段代码将加载 Sentinel-1 GRD 数据集,并仅选择垂直-垂直(VV)和垂直-水平(VH)极化。你可以根据需要修改区域和日期范围。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![js](https://img-home.csdnimg.cn/images/20210720083646.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)