Coordinates#
Creating coordinates#
|
Dictionary like container for Xarray coordinates (variables + indexes). |
|
Create Xarray coordinates from an existing Xarray index. |
|
Wrap a pandas multi-index as Xarray coordinates (dimension + levels). |
Attributes#
Mapping from dimension names to lengths or tuple of dimension names. |
|
Mapping from dimension names to lengths. |
|
Mapping from coordinate names to dtypes. |
|
Low level interface to Coordinates contents as dict of Variable objects. |
|
Mapping of pandas.Index objects used for label based indexing. |
|
Mapping of |
Dictionary Interface#
Coordinates implement the mapping interface with keys given by variable names
and values given by DataArray
objects.
|
|
|
Update this Coordinates variables with other coordinate variables. |
|
|
Coordinates contents#
Convert these coordinates into a new Dataset. |
|
|
Convert all index coordinates into a |
|
Assign new coordinates (and indexes) to a Coordinates object, returning a new object with all the original coordinates in addition to the new ones. |
|
Merge two sets of coordinates to create a new Dataset |
|
Return a copy of this Coordinates object. |
Comparisons#
|
Two Coordinates objects are equal if they have matching variables, all of which are equal. |
|
Like equals, but also checks all variable attributes. |
Proxies#
Coordinates that are accessed from the coords
property of Dataset, DataArray
and DataTree objects, respectively.
|
Dictionary like container for Dataset coordinates (variables + indexes). |
|
Dictionary like container for DataArray coordinates (variables + indexes). |
|
Dictionary like container for coordinates of a DataTree node (variables + indexes). |