cf.Domain.equals

Domain.equals(other, rtol=None, atol=None, verbose=False, ignore_data_type=False, ignore_fill_value=False, ignore_compression=True, ignore_type=False)[source]

Whether two domains are the same.

New in version 1.7.0.

Examples:

>>> d.equals(d)
True
>>> d.equals(d.copy())
True
>>> d.equals('not a domain')
False