-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with combining kerchunk mappings with MultiZarrToZarr #483
Comments
That is the not the content of the |
This has come up before, I'll try to find it. For completeness, here is what {'version': 1,
'refs': {'.zgroup': '{"zarr_format":2}',
'y/.zarray': '{\n "chunks": [\n 2\n ],\n "compressor": null,\n "dtype": "<i8",\n "fill_value": null,\n "filters": null,\n "order": "C",\n "shape": [\n 2\n ],\n "zarr_format": 2\n}',
'y/0': '\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00',
'y/.zattrs': '{\n "_ARRAY_DIMENSIONS": [\n "y"\n ]\n}',
'A/.zarray': '{"chunks":[1000,1],"compressor":null,"dtype":"<f8","fill_value":"NaN","filters":null,"order":"C","shape":[1000,2],"zarr_format":2}',
'A/.zattrs': '{"_ARRAY_DIMENSIONS":["x","y"]}',
'A/0.0': ['ds1.nc', 17256, 8000],
'x/.zarray': '{"chunks":[1000],"compressor":null,"dtype":"<i8","fill_value":null,"filters":null,"order":"C","shape":[1000],"zarr_format":2}',
'x/.zattrs': '{"_ARRAY_DIMENSIONS":["x"]}',
'x/0': ['ds1.nc', 983, 8000],
'A/0.1': ['ds2.nc', 17256, 8000]}} and here is the exception
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have many *.nc files in a directory that I am opening into a single dataset with kerchunk. The nc files are shape (N,1), where dimension of shape 1 is the dimension I want to concat along. Here is a minimally reproducible example:
This works and if I call
ds['A'].values
, everything is loaded correctly, but if I try to load a single slice in the y dimension (i.e.ds['A'][:,0].values
, I get the error:If I call
ds['A'][:,:1]
, (preserving the y dimension with shape one), it works as expected.Here is the contents of the mzz variable:
I'm currently running:
Thanks!
The text was updated successfully, but these errors were encountered: