Skip to content

zarr.api.asynchronous.open_like is broken #3352

Description

@d-v-b

this function is intended for creating new arrays similar to existing arrays, but it has a few problems, the most significant being that it attempts to invoke open_array without passing a mode keyword argument, which errors. It's actually hard to tell what mode=None does in this context? I think the ultimate behavior might be store-specific, but I suspect it defaults to r for memory storage. This means open_like can only read existing arrays, which defeats its entire purpose.

We should either fix this function or remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions