S3 STAC item may not load properly after pystac 1.10
Opened this issue · 2 comments
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
😬 I'm not sure to fully get what need to be changed 😬
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