Skip to content

Validate load_stac properties with STAC queryables#914

Open
Silvren wants to merge 1 commit into
Open-EO:masterfrom
Silvren:agent/validate-load-stac-queryables
Open

Validate load_stac properties with STAC queryables#914
Silvren wants to merge 1 commit into
Open-EO:masterfrom
Silvren:agent/validate-load-stac-queryables

Conversation

@Silvren

@Silvren Silvren commented Jul 13, 2026

Copy link
Copy Markdown

Summary

  • discover queryables advertised directly by a STAC object
  • for STAC API collections, inspect Filter conformance at the root and derive the collection queryables endpoint
  • reuse the already loaded PySTAC object for cube metadata instead of fetching the STAC document twice
  • apply the existing soft validation and warning behavior to unsupported load_stac property filters

Testing

  • python -m pytest tests/test_metadata.py tests/rest/datacube/test_datacube100.py tests/rest/test_connection.py::TestLoadStac -q (569 passed, 2 skipped)
  • pre-commit run --files CHANGELOG.md openeo/metadata.py openeo/rest/datacube.py tests/rest/datacube/test_datacube100.py tests/rest/test_connection.py

Fixes #884

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support queryables for property filter validation with load_stac

1 participant