Skip to content

Subsetting Sentinel-3 products based on footprints given in the STAC metadata#81

Open
konstntokas wants to merge 7 commits intomainfrom
konstntokas-xxx-sen3_sppedup
Open

Subsetting Sentinel-3 products based on footprints given in the STAC metadata#81
konstntokas wants to merge 7 commits intomainfrom
konstntokas-xxx-sen3_sppedup

Conversation

@konstntokas
Copy link
Copy Markdown
Collaborator

@konstntokas konstntokas commented Apr 27, 2026

  • Added footprint-based subsetting for Sentinel-3 OLCI and SLSTR LST using STAC
    metadata, improving performance by avoiding full latitude/longitude grid downloads
    during subsetting.

Below, you can see example cutouts (and a notebook producing these plots). The light-blue polygon represents the full footprint, while the red points indicate the footprint samples derived from the STAC metadata. The solid green box shows the desired bounding box, and the dashed green box represents the bounding box of the dataset after clipping, which is then used for further processing. The orange outline corresponds to the SLSTR angle data used in the terrain correction step.

Note: The angles dataset has coarser sampling along the longitude axis and partially overlapping coverage, while the latitude dimension matches the resolution of the input dataset. Therefore, only the latitude dimension is subset to align the angles with the target region.

subset_sen3.ipynb

Screenshot from 2026-04-29 12-35-06 Screenshot from 2026-04-29 12-35-23

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
xarray_eopf/amodes/sentinel3.py 100.00% <100.00%> (ø)
xarray_eopf/constants.py 100.00% <100.00%> (ø)
xarray_eopf/utils.py 100.00% <100.00%> (ø)
xarray_eopf/version.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@konstntokas konstntokas requested a review from thomasstorm April 29, 2026 10:47
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