Metalayers#

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

class caterva.meta.Meta(ndarray)#

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

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.