esem.wrappers.DataWrapper

class esem.wrappers.DataWrapper(data, data_processors=None)

Provide a unified interface for numpy arrays, Iris Cube’s and xarray DataArrays. Emulation outputs will be provided based on the provided input type, preserving appropriate metadata.

__init__(data, data_processors=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(data[, data_processors])

Initialize self.

name()

wrap(data[, name_prefix])

Wrap back in a cube if one was provided

Attributes

data

dtype