You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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 (filters in v2 , the array_array_codecs elements of the codecs list attribute in v3)
serializer (implicit in v2, the array_bytes_codec element of the codecs list attribute in v3)
compressors (compressor in v2 (note the singular), bytes_bytes_codec elements of the codecs list 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.
The text was updated successfully, but these errors were encountered:
#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
(filters
in v2 , thearray_array_codecs
elements of thecodecs
list attribute in v3)serializer
(implicit in v2, thearray_bytes_codec
element of thecodecs
list attribute in v3)compressors
(compressor
in v2 (note the singular),bytes_bytes_codec
elements of thecodecs
list 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 theArray
class, which is probably where users will expect to find them. So I'm proposing that we addfilters
,serializer
,compressors
to theArray
class.The text was updated successfully, but these errors were encountered: