-
Notifications
You must be signed in to change notification settings - Fork 4
Subsetting Sentinel-3 products based on footprints given in the STAC metadata #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a4945b0
checkout comp
konstntokas 62dca6b
backup
konstntokas c554d81
backup
konstntokas ce83146
ready for review
konstntokas 701b864
remove test_data from other branch
konstntokas a1ad000
ready for review
konstntokas c8f1b4a
ruff
konstntokas e826bf1
addressed review
konstntokas b2c658d
ready to merge
konstntokas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice showcase!
I have run into a problem, though: I could not "Open Sentinel-3 OLCI L1 ERR with Default Parameters" - I tried multiple times, but always received "ClientResponseError: 504, message='Gateway Time-out', url='https://data.eodc.eu/collections/EOPF_ZARR/products/cpm_v270/S03OLCERR/2026/03/13/S3B_OL_1_ERR____20260313T095241_20260313T103636_20260314T095142_2635_117_350______ESA_O_NT_004.zarr/.zmetadata'". This is probably not on our side, though.
Also: there are several cells that do
xr.open_dataset(item.assets["product"].href, .... This always takes quite long. In the case of the step "Open Sentinel-3 SLSTR Level-1B RBT with Default Parameters" it took > 9 minutes. Isn't this step supposed to read only metadata?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ClientResponseError: 504 is on EODC side, I also experienced it sometimes in the past, however in the last days during development it was stable.
The Sentinel-3 SLSTR Level-1B RBT product is complicated. There are multiple subgroups for oblique and nadir view and in different resolution. The footprint of the stac metadata cannot be used, as it does not represent all groups. So instead of doing the cutout based on the footprint, the entire lat/lon grid needs to be loaded for each subgroup to allow for a sub-setting. However 9min is very long. I just double checked on my side and it took 23sec to open that example and 4sec to plot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright. I just tested again from the office, and it was loaded in 12 secs, and it took 7sec to plot. So it's all on the server side, and "Very nice showcase!" is the only part of my comment that stays relevant :)