-
Notifications
You must be signed in to change notification settings - Fork 25
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
add s3 URL support to intake-stac #48
Comments
This is more of a sat-stac issue, in fact it's this function: It checks for AWS URLs and will try a signed URL if a regular request fails, but it does not check for s3 URLs. The main reason is that I didn't want to add boto3 and all it's dependencies as a dependency to sat-stac. I think going forward the right approach is to use PySTAC which has a nice and easy approach to supply custom upload and download functions, I've been using it in a project do exactly this - have s3 style URLs for the catalog. |
@matthewhanson - does sat-stac accept python file objects in its open function? We could potentially leverage fsspec/s3fs to work around the catalog opening. |
Recently running into this problem with outputs from Earthdata Harmony as well, as referenced in the recent mention from podaac/AGU-2020#13. More details:
This gives me the following error:
|
Hi @asteiker - thanks for reporting and sharing the link to Earthdata Harmony, looks very neat! It's hard to tell from your example code what format the data is, is it possible to share the full link stac_root link? Opening STAC assets with
|
I am having the same issue: |
Is there a solution to use a STAC Catalog published into a private S3 bucket? How can we navigate the catalog followings links which refer to private resources? |
I was recently part of a group trying to use intake-stac to bring some files into dask from s3. Unfortunately, the data in question was not public and neither were the catalog files. So I wanted to use s3-style URLs for everything. Unfortunately, when I tried the following:
I got the error:
It looks to me as though STAC thinks this is a file path rather than an S3 URL. Our time was short and I couldn't figure out if there was some other way to get STAC to take an S3 URL.
At the same time, we were hoping to put s3 URLs in our item catalog entries. E.g. -
This one may be more of a stretch. I don't know if the STAC spec has s3-style URLs in mind. My two minute evaluation of the item spec (https://github.com/radiantearth/stac-spec/blob/master/item-spec/json-schema/item.json) is inconclusive.
The text was updated successfully, but these errors were encountered: