identical

UnitsAwareDataArray.identical(other: xarray.core.dataarray.DataArray) bool

Like equals, but also checks the array name and attributes, and attributes on all coordinates.

See also

DataArray.broadcast_equals, DataArray.equals