Hi again,
I'm trying to save some data to zarr, as I usually do. I'm running into an AssertionError, but no other details are given.
My line of code to save is:
SO_timeseries_iTrace.to_dataset(name='TEMP').chunk({'z_t':-1}).to_zarr('/glade/scratch/mberdahl/iTrace/Ocean/TEMP/SO_timeseries_iTrace.zarr', mode='w')
Any idea what this error indicates?
The info on the DataArray I'm saving is:
xarray.DataArray
time: 8000
z_t: 60
Array Chunk
Bytes 1.83 MiB 240 B
Shape (8000, 60) (1, 60)
Count 368084 Tasks 8000 Chunks
Type float32 numpy.ndarray
Thanks
Seems that restarting the kernel helps.
Last updated: May 16 2025 at 17:14 UTC