Geoskill: Sentinel1 Download
通过 STAC API 搜索和下载 Sentinel-1 SAR (C波段) 影像,支持极化方式和轨道方向过滤,带下载进度显示。
ruiduobao
@ruiduobao
Install
$ openclaw skills install @ruiduobao/geoskill-sentinel1-downloadSentinel-1 SAR Downloader | Sentinel-1 SAR 影像下载器
通过 STAC API 搜索并下载 Sentinel-1 SAR (C 波段) GRD 影像。
本 skill 沿用 Landsat Downloader
的架构(STAC + 单文件 CLI + 可视化进度 + .part 安全写入),但适配
Sentinel-1 的元数据约定(极化方式、轨道方向、GRD/SLC 产品类型)。
依赖
pip install 'requests>=2.28.0'
数据源 / Source
| 后端 | URL | 凭证 | 默认 |
|---|---|---|---|
| Planetary Computer(推荐) | https://planetarycomputer.microsoft.com/api/stac/v1/ | 无(公开) | ✅ |
| AWS Open Data(高级) | https://earth-search.aws.element84.com/v1/ | 无(公开) | — |
License — Sentinel-1 数据由 ESA 持有,免费开放(Copernicus Open Data)。 本 skill 抓取的是公开的 STAC 索引 + 公开的资产,不需要任何账号或凭证。
使用方法
搜索 Sentinel-1 SAR 影像(仅查询,不下载)
python sentinel1-download.py \
--bbox 116.0 39.0 117.0 40.0 \
--start-date 2024-01-01 \
--end-date 2024-12-31
限制极化方式(推荐 vv+vh 双极化,注意小写)
python sentinel1-download.py \
--bbox 116.0 39.0 117.0 40.0 \
--start-date 2024-01-01 \
--end-date 2024-12-31 \
--polarization vv+vh
搜索 + 下载
python sentinel1-download.py \
--bbox 116.0 39.0 117.0 40.0 \
--start-date 2024-01-01 \
--end-date 2024-12-31 \
--download \
--output-dir ./data
仅 ascending 轨道
python sentinel1-download.py \
--bbox 116.0 39.0 117.0 40.0 \
--start-date 2024-01-01 \
--end-date 2024-12-31 \
--orbit-direction ascending
常用参数 / Parameters
| 参数 / Parameter | 说明 / Description | 必填 / Required |
|---|---|---|
--bbox | 地理范围 [minLon minLat maxLon maxLat] | ✅ |
--start-date | 开始日期 YYYY-MM-DD | ✅ |
--end-date | 结束日期 YYYY-MM-DD | ✅ |
--polarization | vv / vh / vv+vh / all(默认 all) | ❌ |
--orbit-direction | ascending / descending / both(默认 both) | ❌ |
--limit | 限制返回条目数(默认 10) | ❌ |
--bands | 下载的资产列表(默认 vh vv) | ❌ |
--download | 触发实际下载(默认仅查询) | ❌ |
--output-dir | 下载目录(默认 ./sentinel1_data) | ❌ |
--output-format | text(默认)/ json | ❌ |
--source | pc(默认)/ aws | ❌ |
--no-progress | 关闭动态进度条 | ❌ |
--download-timeout | 单个请求超时秒数(默认 600) | ❌ |
--quiet | 关闭进度条 + 隐私告示 | ❌ |
支持的 Sentinel-1 卫星
| 卫星 | 发射 | 传感器 | 波段 | 分辨率 |
|---|---|---|---|---|
| Sentinel-1A | 2014-04-03 | C-SAR | C 波段 (5.4 GHz) | 10m (IW) |
| Sentinel-1B | 2016-04-25 | C-SAR | C 波段 (5.4 GHz) | 10m (IW) |
默认下载波段 / Default Bands
| 资产 / Asset | 含义 | 说明 |
|---|---|---|
vh | VH 极化 | 交叉极化,对植被/土壤敏感 |
vv | VV 极化 | 共极化,对水面/建筑敏感 |
STAC 端点
| 用途 | URL |
|---|---|
| Planetary Computer 搜索 | https://planetarycomputer.microsoft.com/api/stac/v1/search |
| Element84 Earth Search(AWS) | https://earth-search.aws.element84.com/v1/search |
Permissions
- 网络出口:
https://planetarycomputer.microsoft.com(默认后端) - 环境变量:
SENTINEL1_DOWNLOAD_USE_PROXY=1走系统代理 - 文件写入:
--output-dir(默认./sentinel1_data)
License
MIT-0 — 详见 LICENSE。 Sentinel-1 数据 © ESA Copernicus,免费开放。
Top skills in this category
self-improving agent
@pskoettCaptures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude rea
Skill Vetter
@spclaudehomeSecurity-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
Proactive Agent
@halthelobsterTransform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack 🦞
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection