-
-
Notifications
You must be signed in to change notification settings - Fork 366
Closed
Description
#2463 added a new function for creating arrays that abstracts over the painful fact that v2 arrays and v3 arrays have overlapping-but-distinct specifications of how chunks are encoded. This function expresses the v2 and v3 chunk encoding specs via 3 keyword arguments:
filters(filtersin v2 , thearray_array_codecselements of thecodecslist attribute in v3)serializer(implicit in v2, thearray_bytes_codecelement of thecodecslist attribute in v3)compressors(compressorin v2 (note the singular),bytes_bytes_codecelements of thecodecslist attribute in v3)
logically, these terms describe "transformations made to chunks when they are n-dimensional arrays", "the transformation that turns an n-dimensional array into a flat bytestream", and "transformations made to chunks after they are flattened to bytestreams"
but we don't expose filters, serializer, compressors as attributes on the Array class, which is probably where users will expect to find them. So I'm proposing that we add filters, serializer, compressors to the Array class.
Metadata
Metadata
Assignees
Labels
No labels