Skip to content
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

Error: Scene B3DA causing error with no /bounds #94

Open
jonaraphael opened this issue Aug 8, 2023 · 6 comments
Open

Error: Scene B3DA causing error with no /bounds #94

jonaraphael opened this issue Aug 8, 2023 · 6 comments

Comments

@jonaraphael
Copy link
Collaborator

KeyError: 'bounds' at .get_bounds ( /app/cerulean_cloud/titiler_client.py:43 )`

S1A_S3_GRDH_1SDV_20230807T171941_20230807T172010_049772_05FC2A_B3DA

Seems like this one image is repeatedly tossed on the queue, and keeps breaking the container because it does not have any bounds associated with it.

Looking at it, it seems quite strange:
image

@vincentsarago
Copy link
Collaborator

are you sure about the scene id?

from rio_tiler_pds.sentinel.aws.sentinel1 import S1L1CReader
sceneid="S1A_S3_GRDH_1SDV_20230807T171941_20230807T172010_049772_05FC2A_B3DA"
with S1L1CReader(sceneid) as src:
    print(src.bounds)

InvalidSentinelSceneId: Could not match S1A_S3_GRDH_1SDV_20230807T171941_20230807T172010_049772_05FC2A_B3DA

@jonaraphael
Copy link
Collaborator Author

@vincentsarago ,
Yep! All my scene IDs originally come from an SNS tied to the AWS open data registry as objects are added. You can look it up on scihub, but unfortunately scihub's interface does not provide bespoke URLs for specific objects, so here is a screenshot.
https://scihub.copernicus.eu/dhus/#/home
image

@vincentsarago
Copy link
Collaborator

can you open an issue in rio-tiler-pds 🙏

@jonaraphael
Copy link
Collaborator Author

Can do! Just note that I’m not sure the issue originated from rio-tiler-pds. I’ve not dig into this too deeply, since it doesn’t seem to happen often

@jonaraphael
Copy link
Collaborator Author

see cogeotiff/rio-tiler-pds#78

@jonaraphael jonaraphael changed the title Error: Scene B3DA causing error with no .bounds Error: Scene B3DA causing error with no /bounds Aug 9, 2023
@jonaraphael
Copy link
Collaborator Author

New example with the same behavior:
S1A_S1_GRDH_1SDV_20230809T020729_20230809T020754_049792_05FCE6_1175

Notes:
• This one does not have that strange feathering on its edges
• This one is not close to the anti-meridian
• This one is an S1A_S1, whereas the first example was an S1A_S3

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

No branches or pull requests

2 participants