-
Notifications
You must be signed in to change notification settings - Fork 104
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
Feature request: Use adlfs to access public blobs #97
Comments
I believe public data in Azure is stored in a slightly different way to AWS. For example,GOES-16 on az is stored at https://goes.blob.core.windows.net. What's the nomenclature for this in az/adlfs connection_string? what you call the goes part? storage name? blob name? For reference if you mount the blob the Storage Explorer you see addition info when copying the file In AWS (and using s3fs) you can grab a file (note files do not overlap as have different frequency) as:
Therefore would probably need extra arg That's because other datasets are hosted on different storage |
are there any workarounds to read from public blobs currently? trying to read from Azure open datasets hosted on a public blob |
I've added anonymous authentication to AzureBlobFileSystem with #106 and #107 so the above goes example works as follows:
An example Jupyter Notebook on Azure can be found here. The above doesn't work if you just try I believe @raybellwaves is right -- the trick is making sure you get the account_name and container right. BTW -- The GOES data is stored in xarray, so I didn't try opening the file. Also successfully accessed the data here as follows:
Both .head() and .tail() work |
will this be published to |
I’m trying to get to releases on the first week of the month. You can install what’s in the master branch directly with pip from github if you need it now.
… On Sep 24, 2020, at 12:28 PM, Cody ***@***.***> wrote:
will this be published to pypi soon @hayesgb ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Originally posted it at https://stackoverflow.com/questions/63856476/adlfs-create-azureblobfilesystem-with-credential-none but should probably post here. Need rep points to create a adlfs tag and fsspec tags...
I'm going through this:
https://azure.microsoft.com/en-us/services/open-datasets/catalog/goes-16/
and I was curious how to do the equivalent of
s3fs.S3FileSystem(anon=True)
withadlfs.AzureBlobFileSystem
.It seems
credential=None
is a good candidate (https://docs.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.containerclient?view=azure-python) but as far as i'm aware it hasn't been implemented?The text was updated successfully, but these errors were encountered: