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

ENH: Load image from URL #1029

Open
effigies opened this issue Jun 25, 2021 · 2 comments
Open

ENH: Load image from URL #1029

effigies opened this issue Jun 25, 2021 · 2 comments

Comments

@effigies
Copy link
Member

We should think about how to fetch data remotely, and ideally maintaining transparent random access.

@yarikoptic Pointed me at fsspec, which would be a good start. Gzip indexing is going to be a big issue. I'll cc @pauldmccarthy in case he has thoughts/experience on here.

Got a pointer to Neuroglancer. I think their NIfTI is all Javascript, but there might be something to learn over there.

@pauldmccarthy
Copy link
Contributor

Sorry, just saw this mention - recent changes to indexed_gzip added support for Python file-like objects, so adding support for remote files will hopefully not be too painful (with the caveat that a pre-built index needs to be provided, or that reading needs to start from the beginning of the file).

@effigies
Copy link
Member Author

We do have loading from URLs since #1129, though we do not have transparent random access. Still worth looking into fsspec...

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