zcollection.variable.abc.IVariable.compute#

abstract IVariable.compute(**kwargs)[source]#

Return the variable data as a numpy array.

Note

If the variable has a fill value, the result is a masked array where masked values are equal to the fill value.

Parameters:

**kwargs – Additional arguments to pass to the compute method.

Return type:

NDArray | NDMaskedArray