Describe the new feature you'd like
It would be helpful to have a method that clearly defines what type of chunk grid an array uses. This would simply downstream use-cases that depend on knowing the chunk grid type (e.g., pydata/xarray#11279).
Right now, one must do: try: chunks / except NotImplementedError or isinstance(array.metadata.chunk_grid, RegularChunkGridMetadata) with imports from zarr.core.metadata.v3
See https://hackmd.io/p9pU24IQR6uA9tg6c0wMhw for a claude generated evaluation of the general user API surface for working with chunks/shards.
Describe the new feature you'd like
It would be helpful to have a method that clearly defines what type of chunk grid an array uses. This would simply downstream use-cases that depend on knowing the chunk grid type (e.g., pydata/xarray#11279).
Right now, one must do:
try: chunks / except NotImplementedErrororisinstance(array.metadata.chunk_grid, RegularChunkGridMetadata)with imports fromzarr.core.metadata.v3See https://hackmd.io/p9pU24IQR6uA9tg6c0wMhw for a claude generated evaluation of the general user API surface for working with chunks/shards.