Skip to content

Add sensor-aware auto-dispatch for glint removal and depth correction - #15

Open
ysims wants to merge 1 commit into
mainfrom
feature/sensor-aware-glint-depth-dispatch
Open

Add sensor-aware auto-dispatch for glint removal and depth correction#15
ysims wants to merge 1 commit into
mainfrom
feature/sensor-aware-glint-depth-dispatch

Conversation

@ysims

@ysims ysims commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Expand sensors/catalog.py with real band metadata (Band dataclass, wavelengths, bandwidths, resolutions) for Sentinel-2 MSI, Landsat 8/9 OLI, and PlanetScope SuperDove, plus a resolve_sensor() helper for matching free-text sensor names.

Add _resolve_glint_method/_resolve_depth_method in processing/core.py, mirroring the existing _resolve_cloud_method dispatch pattern, and wire remove_glint/depth_correct to accept method="auto". Since each registry currently has only one general-purpose method, auto resolves to the same default across sensors today, but the sensor-branching structure is in place for when sensor-specific methods are registered.

Expand sensors/catalog.py with real band metadata (Band dataclass, wavelengths,
bandwidths, resolutions) for Sentinel-2 MSI, Landsat 8/9 OLI, and PlanetScope
SuperDove, plus a resolve_sensor() helper for matching free-text sensor names.

Add _resolve_glint_method/_resolve_depth_method in processing/core.py,
mirroring the existing _resolve_cloud_method dispatch pattern, and wire
remove_glint/depth_correct to accept method="auto". Since each registry
currently has only one general-purpose method, auto resolves to the same
default across sensors today, but the sensor-branching structure is in place
for when sensor-specific methods are registered.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant