xray.Dataset.identical

Dataset.identical(other)

Like equals, but also checks all dataset attributes and the attributes on all variables and coordinates.