Skip to content

Optimal way of converting zarr array to numpy array #1044

Description

@aliaksei-chareshneu

Dear all,

Could you tell me what is the optimal way of converting zarr array to numpy array?

Currently I am using:

np_arr = zarr_arr[...]

But this, as far as I understand, loads entire array into memory.

Are there better alternatives?

Best regards,
Aliaksei

  • Value of zarr.__version__: 2.10.3
  • Value of numcodecs.__version__: 0.9.1
  • Version of Python interpreter: 3.9.0
  • Operating system (Linux/Windows/Mac): Windows 11
  • How Zarr was installed (e.g., "using pip into virtual environment", or "using conda"): using pip into virtual environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions