Geoskill: Sentinel-1 Download

通过 STAC 搜索和下载 Sentinel-1 SAR (C 波段) 影像。 默认后端是 Microsoft Planetary Computer(公开数据,无需账号)。 支持极化方式过滤(VV/VH/VV+VH / lowercase: vv/vh/vv+vh/all)、轨道方向过滤(ascending/de...

ruiduobao

@ruiduobao

What This Skill Does

A command-line tool that searches and downloads Sentinel-1 SAR (C-band) imagery via STAC API, with filters for polarization (VV/VH), orbit direction, and bounding box. Defaults to Microsoft Planetary Computer (no account required) and supports safe .part file writes with visual progress.

Replaces manual browsing of Sentinel-1 data archives by automating STAC-based search and bulk download with polarization and orbit filters.

When to Use It

  • Search for Sentinel-1 GRD scenes over a specific geographic bounding box and date range
  • Download VV or VH polarized SAR imagery for land cover or flood mapping
  • Filter Sentinel-1 acquisitions by ascending or descending orbit direction
  • Batch download multiple Sentinel-1 assets with progress tracking and timeout handling
  • Export a JSON list of STAC search results for further processing

Install

$ openclaw skills install @ruiduobao/sentinel1-download

Sentinel-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
--polarizationvv / vh / vv+vh / all(默认 all
--orbit-directionascending / descending / both(默认 both
--limit限制返回条目数(默认 10)
--bands下载的资产列表(默认 vh vv
--download触发实际下载(默认仅查询)
--output-dir下载目录(默认 ./sentinel1_data
--output-formattext(默认)/ json
--sourcepc(默认)/ aws
--no-progress关闭动态进度条
--download-timeout单个请求超时秒数(默认 600)
--quiet关闭进度条 + 隐私告示

支持的 Sentinel-1 卫星

卫星发射传感器波段分辨率
Sentinel-1A2014-04-03C-SARC 波段 (5.4 GHz)10m (IW)
Sentinel-1B2016-04-25C-SARC 波段 (5.4 GHz)10m (IW)

默认下载波段 / Default Bands

资产 / Asset含义说明
vhVH 极化交叉极化,对植被/土壤敏感
vvVV 极化共极化,对水面/建筑敏感

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