<< All versions

Skill v1.0.0

currentAutomated scan100/100
kendrick-oppong/geoskills/remote-sensing-imagery-processing
──Details
PublishedOctober 25, 2026 at 10:29 PM
Content Hashsha256:17818411a0c6dabe...
Git SHA77bd91343bcb
──Files
Files (1 file, 5.2 KB)
SKILL.md5.2 KBactive
SKILL.md · 68 lines · 5.2 KB

version: "1.0.0" name: remote-sensing-imagery-processing description: Use when processing satellite, aerial, or drone imagery — band math and spectral indices (NDVI, NDWI, etc.), atmospheric correction awareness, cloud masking, mosaicking, and choosing a processing pipeline (GDAL, rasterio, Google Earth Engine). Relevant for satellite-based monitoring applications (e.g. illegal mining/deforestation detection).


Remote Sensing & Imagery Processing

When to use this skill

  • Computing vegetation/water/burn indices from multispectral satellite imagery
  • Building a change-detection pipeline (e.g., illegal mining or deforestation monitoring)
  • "Why do my index values look wrong" / cloud contamination in results
  • Choosing between local processing (GDAL/rasterio) and a hosted platform (Google Earth Engine, Microsoft Planetary Computer)

Core concepts

Common spectral indices (band math on multispectral imagery — Sentinel-2/Landsat band numbers vary, always confirm per sensor):

IndexFormula (generic)Use
NDVI(NIR − Red) / (NIR + Red)Vegetation health/density
NDWI(Green − NIR) / (Green + NIR)Surface water detection
NDMI / NDBI variantsSimilar ratio structure with SWIR bandsMoisture / built-up area detection
Bare soil / mining-index style ratiosCustom ratios using SWIR/Red/NIR depending on target signatureBare ground, mineral exposure, disturbed land — relevant for mining/deforestation monitoring, often requires sensor- and region-specific tuning rather than a single universal formula

Processing pipeline choice:

OptionBest for
Local GDAL/rasterio/rioxarray pipelineFull control, custom algorithms, integrating into a bespoke backend (e.g. a NestJS service orchestrating processing jobs)
Google Earth EngineMassive historical archive analysis, planetary-scale time series, rapid prototyping without managing storage/compute — but a hosted platform with its own quota/licensing model, not something you self-host
Microsoft Planetary ComputerSTAC-native access to a large open imagery/climate archive with hosted compute (via pystac-client + Dask)

Checklist

  • [ ] Cloud masking applied before analysis — cloud/shadow-contaminated pixels produce spurious index spikes/dips that look like real change if not masked (use the sensor's quality/scene-classification band, e.g. Sentinel-2's SCL band, not a naive brightness threshold)
  • [ ] Atmospheric correction level checked — is the imagery top-of-atmosphere (L1C-style) or surface reflectance (L2A-style)? Comparing across these inconsistently produces false index drift over time
  • [ ] Band alignment/resampling — confirm all bands used in an index share the same spatial resolution (e.g. Sentinel-2's bands come at 10m/20m/60m natively) before combining them
  • [ ] Temporal compositing strategy for change detection — median/best-pixel compositing across a time window to reduce cloud/noise impact, rather than comparing single noisy scenes directly
  • [ ] Sensor-specific band numbering verified — band math formulas are sensor-relative (Sentinel-2 band 8 ≠ Landsat 8 band 5 numerically, even though both are "NIR") — always confirm the actual band-to-wavelength mapping for the specific sensor/product in use
  • [ ] Ground-truth validation for any detection/classification pipeline (e.g., known mining sites, known deforestation events) before trusting index-threshold-based alerts in production
  • [ ] Change detection threshold tuning per region — vegetation/soil signatures vary by biome; a single global threshold usually needs regional calibration

Common pitfalls

  • Comparing raw index values across scenes without atmospheric-correction consistency: introduces false "change" from processing-level differences rather than real ground change.
  • Naive cloud detection (brightness threshold) instead of the sensor's dedicated quality band: leaves thin cloud/haze contamination in the analysis, producing false positives in change-detection alerts.
  • Assuming band numbers are consistent across sensors: a common and easy mistake when switching from Landsat to Sentinel-2 formulas or vice versa.
  • Single-scene "before/after" comparison for change detection instead of a compositing/statistical approach: highly sensitive to incidental noise (seasonal variation, sun angle, single-scene cloud edge artifacts) — prefer a time-series/composite baseline.
  • No ground-truthing before productionizing alerts: index-threshold detection pipelines (e.g., "NDVI drop = deforestation alert") produce false positives from ordinary seasonal/agricultural cycles without regional calibration and validation against known events.

Reference snippets

python
import rasterio
import numpy as np
with rasterio.open("nir_band.tif") as nir_src, rasterio.open("red_band.tif") as red_src:
nir = nir_src.read(1).astype(float)
red = red_src.read(1).astype(float)
ndvi = (nir - red) / (nir + red + 1e-10) # epsilon avoids divide-by-zero

Related skills

  • stac-catalog-design — discovering imagery scenes to process
  • cloud-optimized-geo-formats — storing/serving processed output as COG
  • geospatial-ml — feeding processed imagery/indices into a classification/detection model
All versions