Sentinel Downloader Skill
简介
Sentinel Downloader Skill
原始描述
Download Sentinel satellite imagery (Sentinel-1/2/5P) via STAC API with cloud cover filtering and batch download support | 基于 STAC API 下载哨兵卫星影像 (Sentinel-1/2...
通过你的 Agent 添加
安装目录:sentinel-downloader/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: sentinel-downloader
description: Download Sentinel satellite imagery (Sentinel-1/2/5P) via STAC API with cloud cover filtering and batch download support | 基于 STAC API 下载哨兵卫星影像 (Sentinel-1/2/5P),支持云量过滤和批量下载
version: 1.0.1
author: ruiduobao
license: MIT-0
Sentinel Downloader | 哨兵卫星影像下载器
Download Sentinel satellite imagery via STAC (SpatioTemporal Asset Catalog) API.
基于 STAC (SpatioTemporal Asset Catalog) API 下载哨兵系列卫星影像。
Install Dependencies | 安装依赖
pip install pystac-client requests
Usage | 使用方法
Search Sentinel-2 Imagery | 搜索 Sentinel-2 影像
./sentinel-download.sh --bbox 116.0 39.0 117.0 40.0 --start-date 2024-01-01 --end-date 2024-12-31
Search with Cloud Cover Filter | 搜索并限制云量
pip install pystac-client requests
Search Sentinel-2 Imagery | 搜索 Sentinel-2 影像
./sentinel-download.sh --bbox 116.0 39.0 117.0 40.0 --start-date 2024-01-01 --end-date 2024-12-31
./sentinel-download.sh --bbox 116.0 39.0 117.0 40.0 --max-cloud-cover 10
Search and Download | 搜索并下载
./sentinel-download.sh --bbox 116.0 39.0 117.0 40.0 --download --output-dir ./data
Supported Missions | 支持的卫星任务
Mission
Description
Data Type
任务
说明
数据类型
Sentinel-1
SAR Radar Imagery / SAR 雷达影像
All-weather monitoring / 全天候地表监测
Sentinel-2
Multispectral Optical / 多光谱光学影像
Land observation, 10m resolution / 陆地观测,10m 分辨率
Sentinel-5P
Atmospheric Monitoring / 大气成分监测
Air quality, ozone / 空气质量、臭氧等
Parameters | 参数说明
Parameter
Description
Required
参数
说明
必填
--bbox
Geographic extent [minLon minLat maxLon maxLat] / 地理范围
Yes / 是
--start-date
Start date YYYY-MM-DD / 开始日期
Yes / 是
--end-date
End date YYYY-MM-DD / 结束日期
Yes / 是
--mission
Satellite mission (sentinel-1/2/5p) / 卫星任务
No / 否
--max-cloud-cover
Max cloud cover percentage / 最大云量百分比
No / 否
--download
Download imagery / 是否下载
No / 否
Example Output | 输出示例
正在搜索 sentinel-2 影像...
找到 3 个结果
[1] S2A_MSIL2A_20241227T031141_R075_T50TNK
时间:2024-12-27
云量:0.4%
平台:Sentinel-2A
STAC API Endpoints | STAC API 端点
Name
URL
Microsoft Planetary Computer
https://planetarycomputer.microsoft.com/api/stac/v1
AWS Earth Search
https://earth-search.aws.element84.com/v1
License | 许可证
./sentinel-download.sh --bbox 116.0 39.0 117.0 40.0 --download --output-dir ./data
| Mission | Description | Data Type |
|---|---|---|
| 任务 | 说明 | 数据类型 |
| Sentinel-1 | SAR Radar Imagery / SAR 雷达影像 | All-weather monitoring / 全天候地表监测 |
| Sentinel-2 | Multispectral Optical / 多光谱光学影像 | Land observation, 10m resolution / 陆地观测,10m 分辨率 |
| Sentinel-5P | Atmospheric Monitoring / 大气成分监测 | Air quality, ozone / 空气质量、臭氧等 |
Parameters | 参数说明
Parameter
Description
Required
参数
说明
必填
--bbox
Geographic extent [minLon minLat maxLon maxLat] / 地理范围
Yes / 是
--start-date
Start date YYYY-MM-DD / 开始日期
Yes / 是
--end-date
End date YYYY-MM-DD / 结束日期
Yes / 是
--mission
Satellite mission (sentinel-1/2/5p) / 卫星任务
No / 否
--max-cloud-cover
Max cloud cover percentage / 最大云量百分比
No / 否
--download
Download imagery / 是否下载
No / 否
Example Output | 输出示例
正在搜索 sentinel-2 影像...
找到 3 个结果
[1] S2A_MSIL2A_20241227T031141_R075_T50TNK
时间:2024-12-27
云量:0.4%
平台:Sentinel-2A
STAC API Endpoints | STAC API 端点
Name
URL
Microsoft Planetary Computer
https://planetarycomputer.microsoft.com/api/stac/v1
AWS Earth Search
https://earth-search.aws.element84.com/v1
License | 许可证
| Parameter | Description | Required |
|---|---|---|
| 参数 | 说明 | 必填 |
| --bbox | Geographic extent [minLon minLat maxLon maxLat] / 地理范围 | Yes / 是 |
| --start-date | Start date YYYY-MM-DD / 开始日期 | Yes / 是 |
| --end-date | End date YYYY-MM-DD / 结束日期 | Yes / 是 |
| --mission | Satellite mission (sentinel-1/2/5p) / 卫星任务 | No / 否 |
| --max-cloud-cover | Max cloud cover percentage / 最大云量百分比 | No / 否 |
| --download | Download imagery / 是否下载 | No / 否 |
正在搜索 sentinel-2 影像...
找到 3 个结果
[1] S2A_MSIL2A_20241227T031141_R075_T50TNK
时间:2024-12-27
云量:0.4%
平台:Sentinel-2A
STAC API Endpoints | STAC API 端点
Name
URL
Microsoft Planetary Computer
https://planetarycomputer.microsoft.com/api/stac/v1
AWS Earth Search
https://earth-search.aws.element84.com/v1
License | 许可证
| Name | URL |
|---|---|
| Microsoft Planetary Computer | https://planetarycomputer.microsoft.com/api/stac/v1 |
| AWS Earth Search | https://earth-search.aws.element84.com/v1 |
MIT-0 - Free to use, modify, and redistribute. No attribution required.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。