zcollection.variable.array.Array.from_zarr#

classmethod Array.from_zarr(array, name, dimension, **kwargs)[source]#

Create a new variable from a zarr array.

Parameters:
  • array (Array) – The zarr array

  • name (str) – Name of the variable

  • dimension (str) – Name of the attribute that defines the dimensions of the variable

  • **kwargs – Additional arguments. These arguments are ignored, but they are accepted to be compatible with the base class.

Returns:

The variable

Return type:

Array