Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

create_array fails with ParamValidationError#2955

markus-zimmermann started this conversation inGeneral
Discussion options

When creating an array I get aParamValidationError when specifyingpath inopen_group but not when specifying it inzarr.storage.FsspecStore.

So far I only observed it when creating arrays, opening groups and reading arrays works just fine. Is this a bug or am I missing something?

My environment:

# packages in environment at /opt/conda:## Name                    Version                   Build  Channel...s3fs                      2025.3.2           pyhd8ed1ab_0    conda-forgezarr                      3.0.6              pyhd8ed1ab_0    conda-forge...

Method A (works)

fs = S3FileSystem(    anon=False,    endpoint_url=endpoint_url,    asynchronous=True,)store = zarr.storage.FsspecStore(    fs,    path=path,)group = zarr.open_group(    store,    mode="a",)group.create_array(    name=array_name,    shape=array_shape,    chunks=array_chunks,    dtype=array_dtype,    overwrite=True,)

Method B (fails)

fs = S3FileSystem(    anon=False,    endpoint_url=endpoint_url,    asynchronous=True,)store = zarr.storage.FsspecStore(    fs,)group = zarr.open_group(    store,    path=path,    mode="a",)group.create_array(    name=array_name,    shape=array_shape,    chunks=array_chunks,    dtype=array_dtype,    overwrite=True,)

produces an error message

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
1 participant
@markus-zimmermann

[8]ページ先頭

©2009-2025 Movatter.jp