emsarray.types

emsarray.types#

A collection of descriptive type aliases used across the library.

emsarray.types.Pathish = os.PathLike | str#

Something that can be used as a path.

emsarray.types.Bounds#

Bounds of a geometry or of an area. Components are ordered as (min x, min y, max x, max y).

alias of tuple[float, float, float, float]

emsarray.types.Landmark#

A landmark for a plot. This is a tuple of the landmark name and and its location.

alias of tuple[str, Point]

emsarray.types.DataArrayOrName = collections.abc.Hashable | xarray.core.dataarray.DataArray#

Either an xarray.DataArray, or the name of a data array in a dataset.