Skip to content

Add unsafe readChunkDirect and writeChunkDirect to Arrays #85

Description

@normanrz

For some applications, it is useful to supply the already encoded chunks to be written into a Zarr array without decoding+encoding. An example is a JPEG -> zarr (with jpeg codec), where is would result in loss of quality if the data had to be decoded and encoded. So, there should be functions on the Array classes to read and write chunks directly. This should also work with sharding, where a user would supply multiple chunks that go into a shard.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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