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

S3 STAC item may not load properly after pystac 1.10 #699

Open
emmanuelmathot opened this issue May 2, 2024 · 2 comments
Open

S3 STAC item may not load properly after pystac 1.10 #699

emmanuelmathot opened this issue May 2, 2024 · 2 comments

Comments

@emmanuelmathot
Copy link
Contributor

emmanuelmathot commented May 2, 2024

After a change in pystac 1.10 that performs a load of all the absolute links in a STAC item , the stac reader may not load properly the assets the item.
See stac-utils/pystac#1336 for more details.

A further change to ensure consistency in rio-tiler would be to replace the boto3 loader in STAC reader with a custom S3 reader as recommended in https://pystac.readthedocs.io/en/stable/concepts.html#i-o-in-pystac

@vincentsarago
Copy link
Member

😬 I'm not sure to fully get what need to be changed 😬

@emmanuelmathot
Copy link
Contributor Author

For the moment, just avoiding using pystac version 1.10 until stac-utils/pystac#1336 is fixed.
But then for a future PR I will make, the idea would be to have the STAC S3 fetch function to use pystac only with a custom IO reader that enable S3 in pystac when S3 is enabled in rio-tiler

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