-
Notifications
You must be signed in to change notification settings - Fork 45
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
Support for private remote object storage #441
Comments
I refactored to use UPath, which solves many issues I had with remote support. So I would recommend UPath over Path, str, ZarrLocation... It works with my own object storage:
I also added tests for the remote datasets and mocked remote tests. There are still some remaining issues:
I will likely be a while until I can work on this some more. |
This is still an open issue. There is an old fork at https://github.com/berombau/spatialdata main with closed PR #442 that does support remote reading using UPath, but merging it would be difficult, especially because the spatialdata code base underwent a lot of changes. The current solutions without this support:
Future work plan:
It's still very doable, but currently not a priority and easier after the merging of a lot of open PR's |
Right now, there is support for local .zarr stores and remote stores publically accessible via HTTP or S3.
Private remote stores are more difficult, as they need certain options or credentials that are not representable by simply a string or Path. One option is to use a zarr.storage.FSStore, which can have storage_options or any fsspec.spec.AbstractFileSystem.
Two pull requests enable this:
Testing is difficult, but this is what I used:
The text was updated successfully, but these errors were encountered: