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

Use fsspec for all file operations. #41

Closed
betolink opened this issue Nov 22, 2021 · 0 comments · Fixed by #119
Closed

Use fsspec for all file operations. #41

betolink opened this issue Nov 22, 2021 · 0 comments · Fixed by #119
Labels
type: enhancement New feature or request

Comments

@betolink
Copy link
Member

betolink commented Nov 22, 2021

There are 2 ways of accessing NASA datasets (not using back-end services) :

  • On-prem datasets: if a dataset is hosted by a DAAC, the only way to get the data is using auth HTTPS requests with EDL credentials.
  • Cloud datasets:
    • direct access: we are in us-west-2 and can use S3:// links (s3fs or boto3) with temporary DAAC credentials
    • HTTPS access: we are not in us-west-2, we need to use signed HTTPS requests (same as on prem)

Since both are covered by fsspec, we only need to do a little research and see if the fsspec HTTPS adapter will work as is given the proper EDL credentials or we need inject our SessionWithHeaderRedirection class.
For S3 we need to find our if we can do parallel gets (in case the user wants to actually download the data)

Finally change the name of the Accessor class to Store

@betolink betolink added the type: enhancement New feature or request label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant