Skip to content

Hierarchical chunk storage #29

Closed

Description

@constantinpape

Currently, the ome zarr specification demands that the chunks are stored in a single directory.
This causes issues on the file system for large images / volumes with many chunks.

N5 stores chunks in a hierarchy natively and zarr also supports this with the NestedDirectoryStore (although this is currently not working according to @joshmoore).

Activity

  1. changed the title [-]Allow nested chunk storage[/-] [+]Nested chunk storage[/+] on Feb 23, 2021
  2. changed the title [-]Nested chunk storage[/-] [+]Hierarchical chunk storage[/+] on Feb 23, 2021
  3. joshmoore commented on Feb 23, 2021

    @joshmoore
    Member

    Here's what I've been working on:

    Conversations starting https://gitter.im/zarr-developers/community?at=601d471fc83ec358be27944f and during the 2021-02-10 community call suggest that even before the V3 spec (which defaults to nested storage) it might be possible for us to transition to using it more heavily with the V2 spec. A requirement would be a heuristic or metadata entry to determine if chunks are nested or flat. zarr-python is waiting on a PR from me.

  4. self-assigned this
    on Feb 23, 2021
  5. imagesc-bot commented on Feb 24, 2021

    @imagesc-bot
  6. joshmoore commented on Mar 12, 2021

    @joshmoore
    Member

    Status update:

    • bioformats2raw is moving towards 0.3.0. There will already be some breaking layout changes.
    • zarr-python has the FSStore fixe merged to the mainline. The 2.7.0 release will contain it.
    • The jzarr work will be taken over by @SabineEmbacher but is moving forward.

    With all of this in mind, I'd propose that we go ahead and bump to OME-Zarr version to 0.2.0 stating in the spec that nested storage is a MUST. A client can then detect whether the fileset is 0.1.0 or 0.2.0 from the metadata and make a choice as to the chunk index separator.

    cc: @manzt (since I've failed to engage on the JS front)

  7. joshmoore commented on Apr 8, 2021

    @joshmoore
    Member
  8. joshmoore commented on Apr 24, 2021

    @joshmoore
    Member

    Feels like most implementations have now implemented this new strategy. Likely a solid next step would be to add v0.1 and v0.2 implementations to https://github.com/ome/ome_zarr_test_suite

  9. imagesc-bot commented on May 13, 2021

    @imagesc-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions