scalableminds / webknossos

Visualize, share and annotate your large 3D images online
https://webknossos.org
GNU Affero General Public License v3.0
130 stars 24 forks source link

Migrate all exposed / exported zarr3 configs to use chunk encoding version 2 #7961

Open MichaelBuessemeyer opened 4 months ago

MichaelBuessemeyer commented 4 months ago

Detailed Description

Currently, the default chuck encoding is used: https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html#chunk-key-encoding But migrating from default to v2 would enable us to leave out the c. pretending all zarr3 requests regarding the datasets / datalayers for whose we expose zarr.json configs.

Features where zarr.jsons are written are:

To implement this, simply change

 "chunk_key_encoding": {
    "name": "default",
    "configuration": {
      "separator": "."
    }
  },

to

"chunk_key_encoding": {
    "name": "v2",
    "configuration": {
      "separator": "."
    }
  },
fm3 commented 4 months ago

Zarr streaming and the volume annotation export is (currently) the complete list. Take care that the exported volume annotations have to also be understood correctly by the reupload (both old and new files).