| 1 |
Beyond Python |
| 2 |
============= |
| 3 |
|
| 4 |
The reference files currently stored in JSON format and can be readily interpreted |
| 5 |
in any language, as documented in detail in the :doc:`spec`. |
| 6 |
The contents of each key |
| 7 |
is either encoded binary data or a URL/offset/size set. It can be loaded as long |
| 8 |
as the language being used can access the particular URL type. |
| 9 |
|
| 10 |
To interpret the blocks as parts of a zarr dataset, the language should |
| 11 |
have an `implementation of zarr`_, as well as whichever binary codecs the target |
| 12 |
requires (maybe nothing for plain binary, or common compressors like gzip, but might |
| 13 |
be more specific). You would need to write some code to expose the reference set |
| 14 |
as a storage object that ``zarr`` can use. |
| 15 |
|
| 16 |
.. _implementation of zarr: https://github.com/zarr-developers/zarr_implementations |
| 17 |
|
| 18 |
One example of a reference dataset used via a JS implementation, applied to multi-scale |
| 19 |
TIFF microscopy, can be found |
| 20 |
at https://observablehq.com/@manzt/ome-tiff-as-filesystemreference. |
| 21 |
|
| 22 |
GDAL (since 3.11) has also support for JSON and Parquet reference stores as |
| 23 |
described in https://gdal.org/en/stable/drivers/raster/zarr.html |