VirtualiZarr icon indicating copy to clipboard operation
VirtualiZarr copied to clipboard

Transposition via codec

Open TomNicholas opened this issue 1 year ago • 1 comments

In https://github.com/fsspec/kerchunk/issues/377#issuecomment-1798683304 @ivirshup suggested that virtual zarr arrays could support

Transpose/ permute dims (re-order chunks + add a transpose codec)

I had forgotten about this suggestion until re-reading just now. We should be able to do that in virtualizarr pretty easily.

TomNicholas avatar Jun 27 '24 17:06 TomNicholas

I just ran into this - it would be very useful to be able to e.g. da.transpose("time", "lon", "lat") to a common coordinate order

juntyr avatar Jan 07 '25 10:01 juntyr