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] | int#

Type describing a single facet.

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

Type describing a collection of facets.

alias of dict[str, str | Sequence[str] | int]

esmvalcore.typing.NetCDFAttr = str | int | float | collections.abc.Iterable#

Type describing netCDF attributes.

NetCDF attributes can be strings, numbers or sequences.