Skip to content

Saving and re-opening a v2 array does not report (or save) correct memory order #2950

Open
@dstansby

Description

@dstansby
import zarr
import zarr.storage

store = zarr.storage.MemoryStore()
arr = zarr.create((100,), store=store, path="a", zarr_format=2, order="F")
print(arr.order)
# "F"

arr = zarr.open(store, path="a")
print(arr.order)
# "C"

I would expect the memory order to be persisted and the same when I re-open the array.

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