-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remotely read/stream embargoed Zarr #1491
Comments
How are you even creating a Zarr in an embargoed Dandiset? dandi-cli currently doesn't support that, and — last time I checked — neither does the Archive. As to your second snippet, |
Indeed, I thought zarrbargo is yet to be implemented, correct @jjnesbitt ? |
Correct, it is not yet implemented. |
Thanks team. Sorry, I was a bit loose with my explanation. The first code snippet does not work on LINC, which requires authentication for all requests since the platform is private. (LINC does allow for upload and download of private Zarrs.) The second code snippet does not work on both DANDI and LINC. And as you mentioned, this may not be needed for my use case. Overall I am just looking for advice on how we should provide LINC users read/streaming access to private Zarrs. We were thinking about creating a helper function ( aws_credentials = lincbrain.get_read_only_credentials(lincbrain_api_key=<lincbrain_api_key>)
s3 = s3fs.S3FileSystem(key=aws_credentials['access_key'],
secret=aws_credentials['secret_key'],
token=aws_credentials['session_token']) |
And thanks for clarifying. I forgot that zarrbargo has not yet been implemented. |
on the 000108 examples in the example-notebooks, the code reads and evaluates zarr objects on dandiarchive. |
Thank you. I will take a look at these examples. |
Hi team, @aaronkanzer and I are trying to read the metadata and chunks of an embargoed Zarr (on DANDI and LINC) and are unable to. What would be the best approach to remotely access a Zarr that is apart of an embargoed Dandiset?
For the code snippet below, I can get the
zarr_path
in thedandiarchive
S3 bucket from the File Browser of a Dandiset using theView Asset Metadata
button, buts3fs
also requires AWS credentials.For reference, I am also hitting a blocker using the DANDI API when trying to access a public or private Zarr. I am not sure if this would be related to my use case. Using the code snippet below (which is a derivative of the OpenScope Databook streaming section) I receive a
Response [400]
. I presume that this is because the asset is a Zarr and the response is set in lines 143-148. And perhaps this is related to #1455.Thank you.
The text was updated successfully, but these errors were encountered: