Skip to content

chore: retire surface-priors S2L1CGeeSource in favour of bestpixel (v… - #4

Merged
MarcYin merged 1 commit into
mainfrom
chore/retire-surface-priors-s2l1c
Jun 23, 2026
Merged

chore: retire surface-priors S2L1CGeeSource in favour of bestpixel (v…#4
MarcYin merged 1 commit into
mainfrom
chore/retire-surface-priors-s2l1c

Conversation

@MarcYin

@MarcYin MarcYin commented Jun 23, 2026

Copy link
Copy Markdown
Owner

…0.7.0)

The L1C custom-AC composite now ships in the published bestpixel package (bestpixel.build_l1c_composite, since bestpixel 0.2.0), so the duplicate implementation added to surface-priors in 0.6.0 is removed:

  • delete sources/s2_l1c_gee.py (S2L1CGeeSource) and atmosphere.py
  • revert sources/s2.py (drop S2_L1C_* constants + aod_cloud_score_to_quality), types.py (DEFAULT_S2_L1C_BANDS), cli.py (--gee-product s2_l1c / --atmosphere-sidecar / --low-aod-frac) to their pre-0.6.0 state
  • drop the L1C tests (test_atmosphere.py, test_s2_l1c_gee.py, and the aod-quality cases in test_s2_helpers.py)
  • scripts/run_l1c_composite.sh: stage 4 now calls bestpixel.build_l1c_composite

surface-priors keeps the S2 L2A GEE source and everything else unchanged. 88 tests pass, ruff clean.

…0.7.0)

The L1C custom-AC composite now ships in the published `bestpixel` package
(bestpixel.build_l1c_composite, since bestpixel 0.2.0), so the duplicate
implementation added to surface-priors in 0.6.0 is removed:

- delete sources/s2_l1c_gee.py (S2L1CGeeSource) and atmosphere.py
- revert sources/s2.py (drop S2_L1C_* constants + aod_cloud_score_to_quality),
  types.py (DEFAULT_S2_L1C_BANDS), cli.py (--gee-product s2_l1c /
  --atmosphere-sidecar / --low-aod-frac) to their pre-0.6.0 state
- drop the L1C tests (test_atmosphere.py, test_s2_l1c_gee.py, and the
  aod-quality cases in test_s2_helpers.py)
- scripts/run_l1c_composite.sh: stage 4 now calls bestpixel.build_l1c_composite

surface-priors keeps the S2 L2A GEE source and everything else unchanged.
88 tests pass, ruff clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@MarcYin
MarcYin merged commit e215f20 into main Jun 23, 2026
6 checks passed
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