-
Notifications
You must be signed in to change notification settings - Fork 7
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
Review whether zarr_url
s have trailing slash or not
#677
Comments
zarr_url
`s have trailing slash or not
zarr_url
`s have trailing slash or notzarr_url
s have trailing slash or not
My take:
|
Side comment (I mentioned it in the past, but without a link): something close to pathlib but for s3 URLs is https://github.com/aws-samples/s3pathlib-project. |
The strategy sounds good to me. Is there some library we can already use now that would work for the normalization both for paths and s3 objects? e.g. something in FSSpec or s3fs? |
I've not found one during a very quick look. I'll need to review it later. |
Ref #652 |
Server will only provide zarr_url without trailing slashes. Still some care when handling this in different tasks |
One example where a task should be made more robust: data_czyx = da.from_zarr(init_args.origin_url + "/0") within the MIP task. |
We should handle this more carefully in our tasks. Let's use this issue to tag tasks that need care taken for this.
|
@tcompa Should zarr_urls have trailing slashes? Are we robust against it? What should the correct behavior be?
The text was updated successfully, but these errors were encountered: