xarray.DataArray.cf.__gt__

DataArray.cf.__gt__(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 self is greater than other.