You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m seeing some behaviour around chunking when appending with
append_dim="TIME"
inds.to_zarr()
that I can’t fully explain.1) I create a new Zarr dataset from a single NetCDF file with the chunking strategy:
{'TIME': (1,), 'LATITUDE': (74,), 'LONGITUDE': (102,)}
After creation, the store reports:
ItemsView(Frozen({'TIME': (1,), 'LATITUDE': (74,), 'LONGITUDE': (102,)}))
2) Append
Next, I append 3000 NetCDF files.
My input dataset for the append has this chunking:
{'TIME': (100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100), 'LATITUDE': (74,), 'LONGITUDE': (102,)}
append call:
3) Result after append
When I check the updated Zarr store, the chunking is:
ItemsView(Frozen({'TIME': (1, 1, ......., 1), 'LATITUDE': (74,), 'LONGITUDE': (102,)}))
It’s all (1,) chunks along TIME.
I had expected something like:
ItemsView(Frozen({'TIME': (1, 100,100, ....) ...
My questions:
Environment:
Beta Was this translation helpful? Give feedback.
All reactions