Dženan Zukić

Results 237 comments of Dženan Zukić

[NCZarr](https://www.unidata.ucar.edu/blogs/developer/en/entry/overview-of-zarr-support-in) produced that file with `

Having a C++ example and/or tutorial would be good. Tests are focused on testing - which would be totally fine if a user example existed.

My attempt at reading a zarr file and examining what I read ran into a road block: ```cpp #include "tensorstore/context.h" #include "tensorstore/open.h" int main(int argc, char ** argv) { tensorstore::Context...

My attempt was inspired by https://github.com/google/tensorstore/blob/f6da8b5696a04cb6f30fab07183756d0d67d5eaa/tensorstore/driver/zarr/driver_test.cc#L175.

I think I have an example which "works", but it does not open [example zarr files](https://github.com/ome/ome-ngff-prototypes#data-availability). ```cpp #include "tensorstore/context.h" #include "tensorstore/open.h" int main(int argc, char ** argv) { tensorstore::Context context...

Sadly, no. If I use `C:/Dev/ITKIOOMEZarrNGFF/v0.4/cyx.ome.zarr/s0` as the path, I get a crash: ```log C:\Misc\Tester\_deps\tensorstore-src\tensorstore/util/result.h:506: CHECK failed: !has_value() C:\Misc\Tester\Debug\tester.exe (process 11244) exited with code 3. ```

Thanks, this is already helpful. Some syntax help geared towards interoperability would be significant. How to get domain's origin and shape into `std::vector`s? How to get underlying element type (`dtype`)?...

This is super-helpful, thank you. Updated example: ```cpp #include "tensorstore/context.h" #include "tensorstore/open.h" #include "tensorstore/index_space/dim_expression.h" int main(int argc, char ** argv) { tensorstore::Context context = tensorstore::Context::Default(); std::string path = "C:/Dev/ITKIOOMEZarrNGFF/v0.4/cyx.ome.zarr/s0"; //...

I got my example working. Thank you. ```cpp #include "tensorstore/context.h" #include "tensorstore/open.h" #include "tensorstore/index_space/dim_expression.h" #include "itkImageFileReader.h" void jsonRead() { // JSON uses a separate driver auto attrs_store = tensorstore::Open( {...

Ideally, both read and write. The main need for zip store is for use in JavaScript and WebAssembly, where a single file can be passed around as a blob, and...