← ClaudeAtlas

imagery-and-staclisted

Finding and using satellite imagery through STAC APIs, covering searches by collection, bbox, datetime and eo:cloud_cover, Sentinel-2 L2A and Landsat Collection 2 Level-2, cloud masking with the SCL band and QA_PIXEL, scale factors and offsets, NDVI and other indices with the right bands per sensor, mosaics and composites, and the Planetary Computer and Earth Search endpoints. Use it when asked to "find Sentinel-2 or Landsat imagery", "search STAC", "get a cloud-free image", "calculate NDVI", "mask clouds", "make a median composite", or when index values fall outside -1 to 1.
wiatrek-kevin-s/columbus · ★ 2 · API & Backend · score 68
Install: claude install-skill wiatrek-kevin-s/columbus
# Imagery and STAC STAC (SpatioTemporal Asset Catalog) is a standard JSON way to describe imagery: a **collection** (Sentinel-2 L2A) holds **items** (one scene or tile at one time), and each item has **assets** (band files, usually COGs) and properties (date, cloud cover, sensor). A STAC API lets you search items by place, time and properties, then read only the pixels you need from the COGs. ## General practice (with or without Columbus) ### 1. Endpoints and collections | Catalogue | STAC API | Sentinel-2 L2A | Landsat C2 L2 | Notes | | --- | --- | --- | --- | --- | | Microsoft Planetary Computer | `https://planetarycomputer.microsoft.com/api/stac/v1` | `sentinel-2-l2a` | `landsat-c2-l2` | Assets need a signed URL (`planetary_computer.sign_inplace`); free | | Element 84 Earth Search (AWS) | `https://earth-search.aws.element84.com/v1` | `sentinel-2-l2a`, `sentinel-2-c1-l2a` | `landsat-c2-l2` | Sentinel-2 COGs are public; Landsat assets are in USGS's requester-pays bucket | | USGS LandsatLook | `https://landsatlook.usgs.gov/stac-server` | | `landsat-c2l2-sr`, `landsat-c2l2-st` | The source catalogue for Landsat | Asset names differ: Planetary Computer's Sentinel-2 uses `B04`, `B08`, `SCL`; Earth Search uses `red`, `nir`, `scl`. List `item.assets.keys()` before writing band code. ### 2. Search ```python from pystac_client import Client import planetary_computer cat = Client.open("https://planetarycomputer.microsoft.com/api/stac/v1", modifier=planetary_