Type hints#

Type aliases for providing type hints.

esmvalcore.typing.DataType = numpy.ndarray | dask.array.core.Array | iris.cube.Cube#

Type describing data.

esmvalcore.typing.FacetValue = str | collections.abc.Sequence[str] | numbers.Number | bool#

Type describing a single facet.

esmvalcore.typing.Facets(*args, **kwargs)#

Type describing a collection of facets.

alias of dict[str, str | Sequence[str] | Number | bool]

esmvalcore.typing.NetCDFAttr = str | numbers.Number | collections.abc.Iterable#

Type describing netCDF attributes.

NetCDF attributes can be strings, numbers or sequences.