-
Notifications
You must be signed in to change notification settings - Fork 9
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
Make current test.zr3 available via HTTP #32
Comments
I'm happy to host on S3 if it will be useful. Another option would be to start working it into https://github.com/constantinpape/zarr_implementations |
Hi @manzt, that's fantastic news. Yes it would be great to build some datasets that we can use to verify compatibility. For the time being, if it's useful, the test.zr3 is up on GCS at this path and should be public: |
Thanks @alimanfoo! Is it possible to set This will enable CORS so that a webpage can make requests to the endpoint. If you open your browser console this currently errors:
For reference the HTTP endpoint works when using curl and not making cross-origin requests: $ curl https://storage.googleapis.com/zarr-demo/v3/test.zr3/zarr.json | jq
{
"zarr_format": "https://purl.org/zarr/spec/protocol/core/3.0",
"metadata_encoding": "https://purl.org/zarr/spec/protocol/core/3.0",
"metadata_key_suffix": ".json",
"extensions": []
} |
@manzt: a copy is available at |
Thanks @joshmoore. Here is a live JS notebook if folks are interested: https://observablehq.com/d/7156b4838eed011d (I'd like to set up some type of like "can-i-use" table for different types of arrays, since all can't be supported in the browser. For example, JavaScript doesn't have built in support for float16 or boolean arrays - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays) |
I think I've done that, can you try again? I did [
{
"origin": ["*"],
"responseHeader": ["Content-Type"],
"method": ["GET", "HEAD"],
"maxAgeSeconds": 3600
}
] |
I have translated the current zarrita implementation into javascript here: https://github.com/manzt/zarrita.js
It would be great to have a live example
test.zr3
somewhere so that I we can test/verify compatibility with other implementations. I think I remember there being some discussion inzarr-python
about this, but I'm not sure if it was related to v3.Not a major issue, but just wanted to make those interested aware.
The text was updated successfully, but these errors were encountered: