SChunk.meta#

Metalayers are small metadata for informing about the properties of data that is stored on a container. NDArray implements its own metalayer on top of C-Blosc2 for storing multidimensional information.

class blosc2.schunk.Meta(schunk)#

Class providing access to user meta on a SChunk. It will be available via the .meta property of a SChunk.

Methods#

__getitem__

Return the item metalayer.

__setitem__

Update the key metalayer with value.

get

Return the value for key if key is in the dictionary, else default.

keys

Return the metalayers keys.

__iter__

Iter over the keys of the metalayers.

__contains__

Check if the key metalayer exists or not.