数据分析

Geoskill: STAC Search

试用

STAC Universal Search Tool for searching geospatial data across any STAC

它能做什么

STAC Universal Search Tool for searching geospatial data across any STAC

技能文档

Search any SpatioTemporal Asset Catalog (STAC) endpoint for geospatial data.

Features

  • Pre-configured endpoints: Planetary Computer, AWS Earth Search, Element84, Google Earth Engine
  • Custom endpoint support
  • Collection, bbox, date range, cloud cover filters
  • Text table or JSON output
  • Asset listing and collection info

Usage

# Search with preset
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --bbox 120 30 121 31

# Search custom endpoint
python stac-search.py --endpoint https://earth-search.aws.element84.com/v1 --collection sentinel-2-l2a --limit 5

# List collections
python stac-search.py --list-collections --preset aws-earth-search

# Get collection info
python stac-search.py --collection-info sentinel-2-l2a --preset planetary-computer

# With filters
python stac-search.py --preset planetary-computer --collection landsat-c2-l2 --bbox -122.5 37.5 -122.0 38.0 --datetime 2024-01-01/2024-06-30 --max-cloud-cover 20 --limit 5

# JSON output
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --json

# List assets
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --list-assets

Arguments

ArgumentDescription
--presetUse a preset: planetary-computer, aws-earth-search, element84, gee
--endpointCustom STAC endpoint URL
--collectionCollection ID(s) to search
--bboxBounding box: minx miny maxx maxy
--datetimeDate range: 2024-01-01/2024-12-31
--max-cloud-coverMax cloud cover %
--limitMax results (default: 10)
--jsonOutput as JSON
--verboseShow asset details
--list-assetsList assets for first result
--list-collectionsList available collections
--collection-infoGet info for a collection

Installation

pip install requests

中文说明

通用 STAC 搜索工具,支持在任何 STAC 端点搜索地理空间数据。

特性

  • 预配置端点:Planetary Computer、AWS Earth Search、Element84、Google Earth Engine
  • 自定义端点:支持任意 STAC API
  • 过滤条件:集合、边界框、日期范围、云量
  • 输出格式:文本表格或 JSON

使用方法

# 使用预设搜索
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --bbox 120 30 121 31

# 搜索自定义端点
python stac-search.py --endpoint https://earth-search.aws.element84.com/v1 --collection sentinel-2-l2a --limit 5

# 列出所有集合
python stac-search.py --list-collections --preset aws-earth-search

# 获取集合信息
python stac-search.py --collection-info sentinel-2-l2a --preset planetary-computer

# 带过滤条件
python stac-search.py --preset planetary-computer --collection landsat-c2-l2 --bbox -122.5 37.5 -122.0 38.0 --datetime 2024-01-01/2024-06-30 --max-cloud-cover 20 --limit 5

# JSON 输出
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --json

# 列出资产
python stac-search.py --preset planetary-computer --collection sentinel-2-l2a --list-assets

相关技能

Offline-first remote sensing satellite parameter search skill. Integrates eoPortal (ESA), WMO OSCAR, CelesTrak SATCAT, and SatNOGS DB into a local index for instant queries.

Search, browse, and download 52K+ NASA Earth science datasets. Combines the opengeos/NASA-Earth-Data offline catalog with live CMR / LP DAAC earthdata cloud / GES DISC endpoints. Supports offline search, online granule search, single-granule download with bearer token, and --qa sidecar.

Download global administrative boundary vector data (Shapefile / GeoJSON / GeoPackage / TopoJSON) for any country or multi-country region. Backed by geoBoundaries (CC BY 4.0, default) with GADM 4.1 and Natural Earth as fallbacks. Supports bbox clipping, multi-country merge, and a rich metadata API (year, source, license, area, vertex count).