In #1096 get/set_partial_values methods were introduced to Zarr v3 stores. The provided method is a viable fallback for stores that cannot read and write partial objects. Other stores however should implement optimized methods, such as fsspec-based stores (using read_block). It might be useful that stores indicate if they have fast partial read/write methods, so that strategies such as partial decompression can be selected automatically.
As a follow-up, the new get/set_partial_values methods could be used for the actual partial decompression in the PartialReadBuffer, instead of the current store-specific implementation.
Follow-up to #1096
In #1096
get/set_partial_valuesmethods were introduced to Zarr v3 stores. The provided method is a viable fallback for stores that cannot read and write partial objects. Other stores however should implement optimized methods, such as fsspec-based stores (using read_block). It might be useful that stores indicate if they have fast partial read/write methods, so that strategies such as partial decompression can be selected automatically.As a follow-up, the new
get/set_partial_valuesmethods could be used for the actual partial decompression in thePartialReadBuffer, instead of the current store-specific implementation.Follow-up to #1096