xarray.DataArray.cf.__ne__

DataArray.cf.__ne__(other)

Compare flag values against other.

other must be in the ‘flag_meanings’ attribute. other is mapped to the corresponding value in the ‘flag_values’ attribute, and then compared.

Parameters:
otherDataArray

DataArray to compare to.

Returns:
bool

True if the two DataArrays are not equal.