Skip to content

Releases

v0.3.0

Choose a tag to compare

@rustyconover rustyconover released this 25 Nov 18:31

Full Changelog: v0.2.2...v0.3.0

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 17 Nov 00:59

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 04:37

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 02:45

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:32

First release of vgi-earth-observation, a Python VGI worker that turns optical and radar satellite imagery into per-parcel time series you can query from SQL and join to your own tables. It searches public STAC APIs (or reads static STAC ItemCollections), aligns bands to a common grid, masks clouds, and returns one row per parcel and observation or month.

Functions and tables

  • earth_observation.main.parcel_series(...): Sentinel-2 optical indices (NDVI/NDWI/NBR) per parcel. Includes SCL cloud masking, monthly pixel-median composites, coverage fractions and NDVI decline detection.
  • earth_observation.main.radar_series(...): per-acquisition SAR intensity (mean power and dB) per region, polarization and orbit track, from calibrated terrain-corrected assets.
  • earth_observation.main.demo_input: two bundled demo parcels. Demo scenes ship in the wheel, so the examples run offline with no credentials.

Composed example

The two functions keep the caller's IDs, so their histories join per parcel. The bundled composed query counts each parcel's NDVI declines and joins them to the VV backscatter change on each orbit track (see "Optical and radar together" in the README).

Install

SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
  WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL spatial;
LOAD spatial;
ATTACH 'earth_observation' (TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-earth-observation@v0.1.0 vgi-earth-observation-worker');

Requires Python 3.13+ and uv. Tested with DuckDB 2.0.0 / Haybarn 2.0.0rc11 and VGI protocol 3.3. This release is not published to PyPI. The attached wheel and sdist are signed with cosign and carry build provenance.

Known limits

  • Only public assets that Rasterio/GDAL can read are supported. Private provider signing or authentication is not.
  • Default caps: 1,000,000 pixels per parcel window, 128 scenes and 100 pages per request, and 20 million pixel-scene elements.
  • Analysis assumes a bounded local parcel. Antimeridian-spanning geometries are not supported.
  • Earth Search offset metadata is inconsistent on some scenes. Check questionable imagery and set offset_mode explicitly when needed.
  • The demo's optical and radar scenes come from different years. The composed example shows how the join works and is not evidence of a single event.